Skip to content

build: Drop Python 3.10 support - #202

Merged
jpmckinney merged 1 commit into
mainfrom
python-3.10-eol
Oct 30, 2026
Merged

jpmckinney merged 1 commit into
mainfrom
python-3.10-eol

Conversation

@jpmckinney

Copy link
Copy Markdown
Member

Python 3.10 is end-of-life on 2026-10-31. Part of open-contracting/software-development-handbook#153.

  • tests/script.sh: stop ignoring PYI024 (collections-named-tuple) for packages and 3.10 applications.
  • tests/test_requirements.py, tests/install.sh: drop the tomli fallback.
  • manage.py: use tomllib; remove tomli from requirements. (The pip-compile hook also adds setuptools to requirements_dev.txt, which was already in requirements_dev.in.)

Merge after open-contracting/yapw#64, the only repository with collections.namedtuple. Otherwise, its lint job fails on PYI024.

tests/test_requirements.py passes on this repository.

🤖 Generated with Claude Code

https://claude.ai/code/session_01QSfuGf81zPF23KcUdGhEaF

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QSfuGf81zPF23KcUdGhEaF
@jpmckinney
jpmckinney marked this pull request as ready for review October 30, 2026 02:56
@jpmckinney
jpmckinney merged commit e1ac230 into main Oct 30, 2026
11 checks passed
@jpmckinney
jpmckinney deleted the python-3.10-eol branch October 30, 2026 02:56
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