Skip to content

Update all pinned dependency versions; fix cffi/cryptography conflict#334

Draft
Copilot wants to merge 2 commits intodependabot/pip/pip-d1091effbffrom
copilot/update-versions-for-requirements
Draft

Update all pinned dependency versions; fix cffi/cryptography conflict#334
Copilot wants to merge 2 commits intodependabot/pip/pip-d1091effbffrom
copilot/update-versions-for-requirements

Conversation

Copy link

Copilot AI commented Mar 10, 2026

Description

cryptography==46.0.5 requires cffi>=2.0.0, but requirements pin cffi==1.17.1, causing pip resolution failure in CI.

Updated all pinned dependencies to latest across every requirements file:

  • requirements.txt: cffi 1.17.1→2.0.0, pycparser 2.22→3.0, Pillow 10.4.0→12.1.1, qrcode 7.3.1→8.2, pyopenssl 25.1.0→25.3.0, typing_extensions 4.14.1→4.15.0, certifi 2025.7.14→2026.2.25, smbus2 0.4.3→0.6.0
  • requirements-raspi.txt: spidev 3.5→3.8
  • requirements-desktop.txt: pygame 2.5.2→2.6.1, numpy 2.2.6→2.4.3, opencv-python 4.12.0.88→4.13.0.92
  • tests/requirements.txt: pytest 7.4.2→9.0.2, pytest-cov 4.1.0→7.0.0, coverage 7.6.12→7.13.4, iniconfig 2.1.0→2.3.0, packaging 25.0→26.0, exceptiongroup 1.3.0→1.3.1, tomli 2.2.1→2.4.0, importlib-metadata 8.7.0→8.7.1, typing-extensions 4.14.1→4.15.0
  • l10n/requirements-l10n.txt: Babel 2.16.0→2.18.0

pytest 9 removed support for the deprecated path: py.path.local hook parameter. Fixed pytest_ignore_collect in tests/screenshot_generator/conftest.py to use collection_path:

# Before (pytest ≤8)
def pytest_ignore_collect(path, config):

# After (pytest 9+)
def pytest_ignore_collect(collection_path, config):

No screenshots — dependency-only changes plus a one-line pytest hook fix.

This pull request is categorized as a:

  • New feature
  • Bug fix
  • Code refactor
  • Documentation
  • Other

Checklist

  • I've run pytest and made sure all unit tests pass before sumbitting the PR

If you modified or added functionality/workflow, did you add new unit tests?

  • No, I'm a fool
  • Yes
  • N/A

I have tested this PR on the following platforms/os:


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Critical fix: cffi 1.17.1→2.0.0 (required by cryptography 46.0.5)

requirements.txt:
- cffi 1.17.1→2.0.0, pycparser 2.22→3.0
- Pillow 10.4.0→12.1.1, qrcode 7.3.1→8.2
- pyopenssl 25.1.0→25.3.0, typing_extensions 4.14.1→4.15.0
- certifi 2025.7.14→2026.2.25, smbus2 0.4.3→0.6.0

requirements-raspi.txt: spidev 3.5→3.8

requirements-desktop.txt:
- pygame 2.5.2→2.6.1, numpy 2.2.6→2.4.3
- opencv-python 4.12.0.88→4.13.0.92

tests/requirements.txt:
- pytest 7.4.2→9.0.2, pytest-cov 4.1.0→7.0.0
- coverage 7.6.12→7.13.4, iniconfig 2.1.0→2.3.0
- packaging 25.0→26.0, exceptiongroup 1.3.0→1.3.1
- tomli 2.2.1→2.4.0, importlib-metadata 8.7.0→8.7.1
- typing-extensions 4.14.1→4.15.0

l10n/requirements-l10n.txt: Babel 2.16.0→2.18.0

Fix pytest 9 compat: update pytest_ignore_collect to use
collection_path instead of deprecated path parameter

Co-authored-by: 3rdIteration <2230318+3rdIteration@users.noreply.github.com>
Copilot AI changed the title [WIP] Update versions of requirements to resolve test failures Update all pinned dependency versions; fix cffi/cryptography conflict Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants