Skip to content

Refresh poetry.lock for Dependabot (keep Python >=3.9) - #1233

Merged
lawrennd merged 2 commits into
SheffieldML:develfrom
lawrennd:fix/dependabot-security-lockfile
Oct 24, 2026
Merged

lawrennd merged 2 commits into
SheffieldML:develfrom
lawrennd:fix/dependabot-security-lockfile

Conversation

@lawrennd

@lawrennd lawrennd commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Keep the declared Python floor at 3.9 for the 1.15.0 release (Discussion #1207).
  • Refresh poetry.lock where patched wheels exist: Pillow 13.0.0 on Python 3.11+, nbconvert 7.17.2, certifi 2026.10.23, soupsieve 2.10 / 3.0.4 on newer Pythons.
  • 3.9-only pins without a patched wheel (Pillow 11.3, urllib3 2.6.3, pytest 8.4.2, …) stay until the floor lifts after 1.15.
  • Add .github/dependabot.yml targeting devel.

The Python ≥3.11 floor is split out to a follow-up PR, to merge after 1.15.0.

Supersedes Dependabot PR #1232 (nbconvert is included here).

Test plan

  • pytest GPy/testing locally (373 passed, 10 skipped)
  • GHA matrix green
  • After merge, remaining Dependabot alerts should be the 3.9-only pins only

Pillow 13 and the unpatched 3.9-only pins cannot coexist in poetry.lock; CI already tests 3.11–3.14. Add Dependabot config on devel so future alerts get PRs.
@lawrennd lawrennd added the dependencies Pull requests that update a dependency file label Oct 24, 2026
@codecov

codecov Bot commented Oct 24, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.10%. Comparing base (5ab28b2) to head (c2f94e3).

Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #1233   +/-   ##
=======================================
  Coverage   55.10%   55.10%           
=======================================
  Files         213      213           
  Lines       22580    22580           
  Branches     2668     2668           
=======================================
  Hits        12443    12443           
  Misses       9555     9555           
  Partials      582      582           
Flag Coverage Δ
unittests 55.10% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Pillow 13 applies on 3.11+; nbconvert and certifi bump for all supported Pythons. Leave the 3.11 floor for after the 1.15.0 release (Discussion SheffieldML#1207).
@lawrennd lawrennd changed the title Raise Python floor to 3.11 and clear Dependabot lockfile CVEs Refresh poetry.lock for Dependabot (keep Python >=3.9) Oct 24, 2026
@lawrennd

Copy link
Copy Markdown
Member Author

Split: this PR no longer raises the Python floor. 1.15.0 is #1235 (still >=3.9). The 3.11 floor is draft #1234, to merge after 1.15.0 is on PyPI.

@lawrennd
lawrennd merged commit d0a6418 into SheffieldML:devel Oct 24, 2026
19 checks passed
@lawrennd
lawrennd deleted the fix/dependabot-security-lockfile branch October 24, 2026 09:40
lawrennd added a commit to lawrennd/GPy that referenced this pull request Oct 24, 2026
Fold the SheffieldML#1233 lockfile security notes into the 1.15.0 changelog.
@lawrennd lawrennd mentioned this pull request Oct 24, 2026
1 of 3 tasks
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant