Skip to content

Upgrade to Poetry 2.x, PEP 621, and Python >=3.10#620

Draft
sandhose wants to merge 3 commits into
mainfrom
quenting/modernisation/pep621-python-bump
Draft

Upgrade to Poetry 2.x, PEP 621, and Python >=3.10#620
sandhose wants to merge 3 commits into
mainfrom
quenting/modernisation/pep621-python-bump

Conversation

@sandhose
Copy link
Copy Markdown
Member

@sandhose sandhose commented Apr 4, 2026

Summary

  • Migrate pyproject.toml from [tool.poetry] to PEP 621 [project] table
  • Move dev dependencies to [dependency-groups] (PEP 735)
  • Bump minimum Python from 3.8 to 3.10 (3.8 and 3.9 are EOL)
  • Upgrade CI Poetry action from v1 to v2 (Poetry 2.2.1)
  • Update Dockerfile base image to Python 3.11, add libffi-dev and poetry-plugin-export
  • Upgrade black from 21.6b0 to >=23.1.0 (old version incompatible with modern click)
  • Drop typing_extensions dependency, use typing stdlib equivalents
  • Fix Python 3.14 test compat (asyncio.Future()AsyncMock in test_msisdn)

Test plan

  • poetry install works with Poetry 2.2.1
  • CI green: linting, type checking, unit tests, integration tests (3.10 + 3.11), Docker build

Part 0 of 9 in the modernisation series.

@sandhose sandhose mentioned this pull request Apr 4, 2026
3 tasks
sandhose added a commit that referenced this pull request Apr 4, 2026
@sandhose sandhose force-pushed the quenting/modernisation/pep621-python-bump branch 4 times, most recently from 290f579 to 176f4a5 Compare April 4, 2026 20:02
@sandhose sandhose force-pushed the quenting/modernisation/pep621-python-bump branch from 176f4a5 to 18e0453 Compare April 4, 2026 20:07
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.

1 participant