Repository navigation
deps: Python 3.11+, security updates, quieter Dependabot - #578
Merged
Merged
Conversation
- python ^3.9 -> ^3.11 (matches bsyncpy 0.4.0); ruff target-version py311 (CI pre-commit already runs on 3.11) - Full poetry.lock refresh; resolves the open Dependabot alerts except lxml (needs bsyncpy 0.4.0, which allows lxml 5+) - pytest ^8.4.2 -> ^9.0.3 - Add pytz explicitly: eeweather imports it without declaring it, and pandas 3 no longer pulls it in Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Monthly schedule instead of weekly for pip, bundler, and actions - Cooldown: wait 7 days after a release (30 for major versions) - Group all version bumps per ecosystem into one PR, and group security fixes into one PR - Lower open-pull-requests-limit to 2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 6, 2026
- bsyncpy 0.4.0 (generated for BuildingSync 2.7.0, allows lxml 5+) - lxml ^4.9.1 -> >=6.1.0 (fixes GHSA-vfmq-68hx-4jfw) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ubuntu-latest moved to 26.04, where setup-ruby only provides the latest patch of each series, so `ruby-version: 2.7.2` fails. Ruby 2.7 is also EOL; use the current 3.4 series in ci.yml and publish.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
OpenStudio embeds Ruby 3.2.2. The ubuntu-26.04 runners only provide the latest patch of each series, so "3.2" resolves to 3.2.11 there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the dependency, CI runtime, and Dependabot configuration updates.
No open issues 🎉
What changed in this PR
Updates BuildingSync’s development dependencies and CI runtimes while reducing Dependabot PR volume. These are tooling changes; the XML schema is unchanged.
Changes:
- Raises the Python minimum to 3.11, aligns Ruff, updates lxml and pytest requirements, and explicitly adds pytz.
- Switches CI and publishing workflows to Ruby 3.2.
- Makes Dependabot updates monthly, adds cooldowns and security-update groups for Python and Ruby, and lowers PR limits.
| File | Description |
|---|---|
ruff.toml |
Sets Ruff’s target Python version to 3.11. |
pyproject.toml |
Updates Python and dependency requirements; adds pytz. |
.github/workflows/publish.yml |
Uses Ruby 3.2 for publishing checks. |
.github/workflows/ci.yml |
Uses Ruby 3.2 for schema validation checks. |
.github/dependabot.yml |
Reduces update frequency and groups routine and security updates. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes #575, #576, #577.
^3.9→^3.11); rufftarget-version = "py311"poetry.lock, which fixes the open Dependabot security alerts, including:^4.9.1→>=6.1.0(fixes the lxml alert)^8.4.2→^9.0.3pytzas an explicit dependency (eeweather imports it without declaring it, and pandas 3 no longer pulls it in)ci.ymlandpublish.yml, matching OpenStudio (2.7.2 isn't available on the ubuntu-26.04 runners)open-pull-requests-limitlowered to 2🤖 Generated with Claude Code