Skip to content

deps: combined dependabot updates, Python 3.12+, CI venv cache fix - #574

Merged
kflemin merged 1 commit into
develop-v2from
deps/combined-dependabot-2026-11
Nov 5, 2026
Merged

kflemin merged 1 commit into
develop-v2from
deps/combined-dependabot-2026-11

Conversation

@kflemin

@kflemin kflemin commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Combines the 9 open dependabot PRs into one, and fixes the pre-commit job that is currently failing on develop-v2.

Supersedes #558, #557, #556, #554, #553, #551, #550, #548, #546

Python (poetry.lock only)

Pinned to exactly the versions dependabot proposed. These are all transitive or tooling deps of the notebook/examples environment, and none of them touch the schema.

Package From To PR
mistune 3.2.0 3.3.0 #558
soupsieve 2.8.3 2.8.4 #557
jupyterlab 4.5.6 4.5.9 #554 (supersedes the 4.5.7 bump in #550)
jupytext 1.19.1 1.19.2 #550
tornado 6.5.5 6.5.7 #553
idna 3.11 3.15 #551
jupyter-server 2.17.0 2.18.0 #548

The lock was regenerated with Poetry 2.3.2, which also reformats a few marker and extras strings. Those changes are cosmetic. Newer versions exist upstream (e.g. jupyterlab 4.6, soupsieve 4.x), but taking them would split several packages by Python version because of the python = "^3.9" constraint, and would add a new dependency. I left those out on purpose.

Ruby

GitHub Actions (#556)

  • actions/github-script v8 → v9. The breaking changes cover require('@actions/github') and redeclaring getOctokit, and CI_Labels.yml does neither.
  • actions/checkout v6 → v7. The only behavior change blocks fork checkouts under pull_request_target/workflow_run, which we don't use.
  • actions/cache v5 → v6 (internal ESM migration)
  • softprops/action-gh-release v2 → v3 (Node 24 runtime, fine on GitHub-hosted runners)

CI fix

pre-commit has been failing on develop-v2 (and on #556/#557/#558). The cached .venv was keyed only on poetry.lock. When the runner's Python 3.11 patch version changed, the cache still hit, so the install step was skipped and the restored venv was broken (Command not found: pre-commit). The cache key now includes the Python version that setup-python resolved.

Python support: now 3.12+ (matches SEED)

SEED requires >=3.12, so python goes from ^3.9 to ^3.12.

  • The re-lock removes ~40 packages and variants that only existed for older Pythons. No remaining locked versions change.
  • pytz is now listed explicitly. eeweather imports it without declaring it, and pandas 3 (used on 3.11+) no longer installs it, so import eeweather was failing on 3.11+.
  • The CI pre-commit job runs on 3.12, and ruff's target-version is py312.
  • 3.13/3.14 isn't possible yet. bsyncpy pins lxml <5, and lxml 4.9.4 ships no wheels past cp312. SEED develops on 3.14, so matching that means updating bsyncpy first.

Verification (local)

  • poetry check --lock, poetry install OK
  • pre-commit run on changed files: passed
  • bundle exec rake: 6 examples, 0 failures
  • Python 3.12: poetry install OK. The Small Office L1 and L2 notebooks run end to end. Primary School stops with NameError: bench_sc, a bug in the notebook itself: the code that creates bench_sc is commented out but still used.

🤖 Generated with Claude Code

Python (poetry.lock): mistune 3.3.0, soupsieve 2.8.4, jupyterlab 4.5.9,
tornado 6.5.7, idna 3.15, jupyter-server 2.18.0, jupytext 1.19.2.
Ruby: rake ~> 13.4.2.
Actions: github-script v9, checkout v7, cache v6, action-gh-release v3.

Also include the resolved Python version in the venv cache key so a
runner Python patch bump no longer restores a broken .venv (the cause
of the current pre-commit failures on develop-v2).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kflemin kflemin added ignore Use this label to ignore this item in the changelog. Non-breaking Change Schema: No Changes No updates to the BuildingSync Schema dependencies Pull requests that update a dependency file labels Nov 5, 2026
@kflemin
kflemin requested a balanced review from Copilot and removed request for Copilot November 5, 2026 20:56
@kflemin
kflemin merged commit ddf241d into develop-v2 Nov 5, 2026
9 of 10 checks passed
@kflemin
kflemin deleted the deps/combined-dependabot-2026-11 branch November 5, 2026 20:58
@kflemin kflemin changed the title deps: combined dependabot updates (Nov 2026) + CI venv cache fix deps: combined dependabot updates, Python 3.12+, CI venv cache fix Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ignore Use this label to ignore this item in the changelog. Non-breaking Change Schema: No Changes No updates to the BuildingSync Schema

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant