build: bump python from 3.11-slim to 3.14-slim#68
Merged
Conversation
- Update both Dockerfiles to use python:3.14-slim base image - Update pyproject.toml: requires-python, classifiers, ruff target-version - Update CI workflows (tests, lint) to use Python 3.14 - Fix docker-publish-dev workflow to skip Dependabot PRs (no secrets access) Supersedes #67
|
🐳 Dev images published!
The dev/test instance will pick up these changes automatically (Portainer GitOps). To test locally: docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev |
- Remove string quotes from forward references (UP037) - PEP 649 deferred annotations - Replace Optional[X] with X | None (UP045) - Remove unnecessary default type args on AsyncGenerator (UP043) - Fix asyncio.get_event_loop() in tests (removed in Python 3.14) - Remove unused Optional import from models
|
🐳 Dev images published!
The dev/test instance will pick up these changes automatically (Portainer GitOps). To test locally: docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev |
Unparenthesized except clauses are now valid in Python 3.14.
|
🐳 Dev images published!
The dev/test instance will pick up these changes automatically (Portainer GitOps). To test locally: docker pull drumsergio/telegram-archive:dev
docker pull drumsergio/telegram-archive-viewer:dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
3.11-slimto3.14-slimin bothDockerfileandDockerfile.viewerpyproject.toml:requires-python >= 3.14, classifiers, rufftarget-version = "py314"docker-publish-devworkflow to skip Dependabot PRs (they lack secrets for Docker Hub login)All dependencies have pre-built
cp314wheels:cryptg0.5.2: cp314 wheel availablepsycopg2-binary2.9.11: cp314 wheel availablegreenlet3.3.1: cp314 wheel availableasyncpg,SQLAlchemy,pydantic-core, etc.: all have cp314 wheelsSupersedes #67
Test plan