Skip to content

deps: Python 3.11+, security updates, quieter Dependabot - #578

Merged
kflemin merged 5 commits into
develop-v2from
deps/security-updates-2026-11
Nov 6, 2026
Merged

kflemin merged 5 commits into
develop-v2from
deps/security-updates-2026-11

Conversation

@kflemin

@kflemin kflemin commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

Supersedes #575, #576, #577.

  • Require Python 3.11+ (^3.9 → ^3.11); ruff target-version = "py311"
  • Refreshed poetry.lock, which fixes the open Dependabot security alerts, including:
  • bsyncpy 0.4.0 (generated for BuildingSync 2.7.0); lxml ^4.9.1 → >=6.1.0 (fixes the lxml alert)
  • pytest ^8.4.2 → ^9.0.3
  • Added pytz as an explicit dependency (eeweather imports it without declaring it, and pandas 3 no longer pulls it in)
  • CI: Ruby 2.7.2 → 3.2 in ci.yml and publish.yml, matching OpenStudio (2.7.2 isn't available on the ubuntu-26.04 runners)
  • Dependabot config:
    • monthly schedule instead of weekly
    • cooldown: 7 days, or 30 days for major versions
    • all version bumps grouped into one PR per ecosystem, and all security fixes grouped into one PR per ecosystem
    • open-pull-requests-limit lowered to 2

🤖 Generated with Claude Code

kflemin and others added 2 commits November 6, 2026 10:32
- 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>
@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 6, 2026
kflemin and others added 3 commits November 6, 2026 11:34
- 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>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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

@kflemin
kflemin merged commit 82bc273 into develop-v2 Nov 6, 2026
6 checks passed
@kflemin
kflemin deleted the deps/security-updates-2026-11 branch November 6, 2026 19:07
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.

2 participants