Skip to content

Python 3.14 - #4827

Open
marcoacierno wants to merge 5 commits into
mainfrom
python-3.14
Open

marcoacierno wants to merge 5 commits into
mainfrom
python-3.14

Conversation

@marcoacierno

Copy link
Copy Markdown
Member

What

ToDo

@vercel

vercel Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pycon Ready Ready Preview Sep 26, 2026 6:21pm UTC

@claude

claude Bot commented Sep 26, 2026 •

Copy link
Copy Markdown
Contributor

Bumps Python to 3.14.7 across CI/Docker/tooling, updates a few pinned dependencies (django-environ, django-imagekit, gunicorn), and fixes two self.__annotations__ lookups that broke under 3.14's annotation handling by switching to type(self).__annotations__.

  • infrastructure/applications/pycon_backend/web_task.tf: adds --preload to the gunicorn command. This is a real behavioral change (app is imported once in the master before forking workers) that isn't related to the Python version bump — worth calling out separately in the PR description/commits. Check for any module-level clients/connections created at import time (e.g. OnlyOneAtTimeTask.__init__ in pycon/celery_utils.py creates a redis.Redis client, and there are module-level boto3.client(...) calls elsewhere) that could end up shared across forked workers instead of created per-worker.
  • backend/pyproject.toml: gunicorn is pinned to an exact ==26.2.0 (a 3-major-version jump from >=23.0.0) instead of a floor — intentional given the --preload change, but worth confirming release notes for 23→26 don't affect worker/signal handling.

@codecov

codecov Bot commented Sep 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.68%. Comparing base (62c3f6e) to head (8b8388f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4827      +/-   ##
==========================================
- Coverage   93.08%   92.68%   -0.40%     
==========================================
  Files         356      356              
  Lines       11173    10569     -604     
  Branches      902      902              
==========================================
- Hits        10400     9796     -604     
  Misses        662      662              
  Partials      111      111              
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

This branch was successfully deployed

2 active deployments
pastaporto — 8b8388f9 Deployed Sep 26, 2026 by marcoacierno via Deploy backend #3539
Preview — 8b8388f9 Deployed Sep 26, 2026 by vercel[bot]
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