Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Python 3.12.6 #2535

Merged
merged 3 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
sudo dpkg -i pandoc-2.17.1.1-1-amd64.deb
- uses: actions/setup-python@v5
with:
python-version: 3.9.16
python-version: 3.12.6
- name: Cache Python dependencies
uses: actions/cache@v4
env:
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.16
3.12.6
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-bookworm
FROM python:3.12-bookworm
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.cabotage
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-bullseye
FROM python:3.12-bookworm
COPY --from=ewdurbin/nginx-static:1.25.x /usr/bin/nginx /usr/bin/nginx
ENV PYTHONUNBUFFERED=1
ENV PYTHONDONTWRITEBYTECODE=1
Expand Down
8 changes: 4 additions & 4 deletions base-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ django-apptemplates==1.5
django-admin-interface==0.24.2
django-translation-aliases==0.1.0
Django==4.2.16
docutils==0.12
Markdown==3.3.4
docutils==0.21.2
Markdown==3.7
cmarkgfm==0.6.0
Pillow==9.4.0
psycopg2-binary==2.8.6
Pillow==10.4.0
psycopg2-binary==2.9.9
python3-openid==3.2.0
python-decouple==3.4
# lxml used by BeautifulSoup.
Expand Down
6 changes: 3 additions & 3 deletions downloads/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ def test_is_version_at_least(self):

release_38 = Release.objects.create(name='Python 3.8.0')
self.assertFalse(release_38.is_version_at_least_3_9)
self.assert_(release_38.is_version_at_least_3_5)
self.assertTrue(release_38.is_version_at_least_3_5)

release_310 = Release.objects.create(name='Python 3.10.0')
self.assert_(release_310.is_version_at_least_3_9)
self.assert_(release_310.is_version_at_least_3_5)
self.assertTrue(release_310.is_version_at_least_3_9)
self.assertTrue(release_310.is_version_at_least_3_5)