Skip to content

Commit 2a77374

Browse files
authored
Bump Python version to 3.11 used in Debian 12 (#523)
* Bump python_version to 3.11 * Sort packages listed in Pipfile * Update Pipfile.lock
1 parent 760d469 commit 2a77374

File tree

5 files changed

+410
-520
lines changed

5 files changed

+410
-520
lines changed

.github/workflows/tox.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v2
2020

21-
- name: Set up Python 3.9
21+
- name: Set up Python 3.11
2222
uses: actions/setup-python@v1
2323
with:
24-
python-version: '3.9'
24+
python-version: '3.11'
2525

2626
- name: Install GNU gettext
2727
run: sudo apt install gettext

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.10
1+
FROM python:3.11
22
ENV PYTHONUNBUFFERED 1
33
WORKDIR /code
44

Pipfile

+23-22
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,47 @@ url = "https://pypi.org/simple"
44
verify_ssl = true
55

66
[dev-packages]
7-
pep8 = "*"
8-
flake8 = "*"
9-
pylint = "*"
10-
ipython = "*"
117
autopep8 = "*"
8+
black = "*"
129
coverage = "*"
13-
tox = "*"
10+
coveralls = "*"
11+
flake8 = "*"
12+
ipython = "*"
1413
isort = "*"
14+
pep8 = "*"
15+
pylint = "*"
1516
rope = "*"
16-
coveralls = "*"
17-
black = "*"
17+
tox = "*"
1818
werkzeug = "*"
1919

2020
[packages]
21-
django = "==4.2.*"
22-
djangorestframework = "*"
21+
coreapi = "*"
22+
dateparser = "*"
2323
dj-rest-auth = "*"
24+
django = "==4.2.*"
25+
django-admin-rangefilter = "*"
2426
django-allauth = "*"
27+
django-autoslug = "*"
28+
django-bootstrap4 = "*"
29+
django-constance = {extras = ["database"], version = "*"}
2530
django-extensions = "*"
26-
coreapi = "*"
27-
django-log-request-id = "*"
2831
django-filter = "*"
32+
django-log-request-id = "*"
33+
django-mailer = "*"
34+
django-oauth-toolkit = ">=1.5.0"
35+
djangorestframework = "*"
2936
djangorestframework-filters = "==1.0.0.dev2"
30-
mysqlclient = "*"
3137
drf-api-tracking = "*"
32-
phonenumbers = "*"
3338
gunicorn = "*"
34-
django-bootstrap4 = "*"
35-
django-autoslug = "*"
36-
django-mailer = "*"
37-
openpyxl = "*"
3839
markdown = "*"
39-
django-admin-rangefilter = "*"
40-
django-oauth-toolkit = ">=1.5.0"
41-
dateparser = "*"
40+
mysqlclient = "*"
4241
nordigen = "*"
43-
django-constance = {extras = ["database"], version = "*"}
42+
openpyxl = "*"
43+
phonenumbers = "*"
44+
setuptools = "*"
4445

4546
[requires]
46-
python_version = "3.9"
47+
python_version = "3.11"
4748

4849
[pipenv]
4950
#

0 commit comments

Comments
 (0)