Skip to content

feat: add Python 3.14 support - #10

Merged
svalench merged 1 commit into
masterfrom
feat/python-3.14
Sep 6, 2026
Merged

feat: add Python 3.14 support#10
svalench merged 1 commit into
masterfrom
feat/python-3.14

Conversation

@svalench

@svalench svalench commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add official Python 3.14 support: new PyPI classifier, CI matrix extended to 3.9–3.14, black target py314
  • Cap optional extras to known-compatible majors: tortoise-orm>=0.20,<1.0, peewee>=3.17,<4 (Tortoise 1.x and Peewee 4.x contain breaking changes)
  • Fix Tortoise adapter tests (models were never registered — tests only "passed" in CI because the extras weren't installed and were skipped)
  • Fix Peewee delete_element test to expect DoesNotExist after deletion
  • New CI job test-extras runs the suite with tortoise/peewee extras on 3.14
  • Version bump to 1.4.0, release notes added (RELEASE_1.4.0.md)

Testing

Full suite (263 tests, 88% coverage) verified locally on Python 3.14.3 with current deps: FastAPI 0.141, Pydantic 2.12.5, SQLAlchemy 2.0.52, tortoise-orm 0.25.4, peewee 3.19.

- Add Python 3.14 classifier, bump version to 1.4.0
- Extend CI test matrix to 3.9-3.14 and add test-extras job
  (tortoise/peewee extras) running on 3.14
- Cap tortoise-orm<1.0 and peewee<4 in optional extras
  (breaking major releases)
- Fix Tortoise adapter tests: register shared models via
  tests/tortoise_models.py instead of unregistered local classes
- Fix Peewee delete_element test to expect DoesNotExist
- Add RELEASE_1.4.0.md and update RELEASE_NOTES.md
@codecov

codecov Bot commented Sep 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@svalench
svalench merged commit c8be5f9 into master Sep 6, 2026
8 checks passed
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