Skip to content

Commit 5824ecb

Browse files
authored
Merge pull request #11471 from ttqureshi/ttqureshi/py-312
Add support for Python 3.12
2 parents e211678 + 2d95dd4 commit 5824ecb

File tree

9 files changed

+53
-52
lines changed

9 files changed

+53
-52
lines changed

.github/workflows/extract-translation-source-files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ jobs:
217217
uses: actions/setup-python@v5
218218
id: setup_python
219219
with:
220-
python-version: '3.11'
220+
python-version: '3.12'
221221
cache: pip
222222
# The `edx-platf*rm` wildcard will be expanded to `edx-platform` if its requirement file exists,
223223
# otherwise it will be omitted
@@ -420,7 +420,7 @@ jobs:
420420
- name: setup python
421421
uses: actions/setup-python@v5
422422
with:
423-
python-version: '3.11'
423+
python-version: '3.12'
424424

425425
# Installs Python requirements from translations.txt
426426
- name: install requirements

.github/workflows/fix-transifex-resource-names.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: setup python
4242
uses: actions/setup-python@v5
4343
with:
44-
python-version: '3.11'
44+
python-version: '3.12'
4545

4646
# Run the script
4747
- name: Fix transifex automatic resource names

.github/workflows/python-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
if: steps.filter.outputs.non_pofiles == 'true'
4646
uses: actions/setup-python@v5
4747
with:
48-
python-version: '3.11'
48+
python-version: '3.12'
4949

5050
# Run the script
5151
- name: run python tests

.github/workflows/release-project-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: setup python
3434
uses: actions/setup-python@v5
3535
with:
36-
python-version: '3.11'
36+
python-version: '3.12'
3737

3838
# Run the script
3939
- name: Sync reviews for release project

.github/workflows/validate-translation-files.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
uses: actions/setup-python@v5
4242
id: setup_python
4343
with:
44-
python-version: '3.11'
44+
python-version: '3.12'
4545
cache: pip
4646
cache-dependency-path: |
4747
requirements/translations.txt

requirements/pip.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
#
55
# make upgrade
66
#
7-
wheel==0.44.0
7+
wheel==0.45.1
88
# via -r requirements/pip.in
99

1010
# The following packages are considered to be unsafe in a requirements file:
1111
pip==24.2
12-
# via -r requirements/pip.in
13-
setuptools==74.1.2
12+
# via
13+
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
14+
# -r requirements/pip.in
15+
setuptools==79.0.0
1416
# via -r requirements/pip.in

requirements/pip_tools.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@
44
#
55
# make upgrade
66
#
7-
build==1.2.1
7+
build==1.2.2.post1
88
# via pip-tools
9-
click==8.1.7
9+
click==8.1.8
1010
# via pip-tools
11-
packaging==24.1
11+
packaging==25.0
1212
# via build
1313
pip-tools==7.4.1
1414
# via -r requirements/pip_tools.in
15-
pyproject-hooks==1.1.0
15+
pyproject-hooks==1.2.0
1616
# via
1717
# build
1818
# pip-tools
19-
wheel==0.44.0
19+
wheel==0.45.1
2020
# via pip-tools
2121

2222
# The following packages are considered to be unsafe in a requirements file:

requirements/test.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,51 +8,51 @@ asgiref==3.8.1
88
# via
99
# -r requirements/translations.txt
1010
# django
11-
asttokens==2.4.1
11+
asttokens==3.0.0
1212
# via
1313
# -r requirements/translations.txt
1414
# transifex-python
15-
certifi==2024.8.30
15+
certifi==2025.1.31
1616
# via
1717
# -r requirements/translations.txt
1818
# requests
19-
charset-normalizer==3.3.2
19+
charset-normalizer==3.4.1
2020
# via
2121
# -r requirements/translations.txt
2222
# requests
23-
click==8.1.7
23+
click==8.1.8
2424
# via
2525
# -r requirements/translations.txt
2626
# transifex-python
27-
coverage[toml]==7.6.1
27+
coverage[toml]==7.8.0
2828
# via pytest-cov
29-
django==4.2.16
29+
django==4.2.20
3030
# via
3131
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
3232
# -r requirements/translations.txt
3333
# edx-i18n-tools
34-
edx-i18n-tools==1.6.3
34+
edx-i18n-tools==1.7.0
3535
# via -r requirements/translations.txt
3636
future==1.0.0
3737
# via
3838
# -r requirements/translations.txt
3939
# pyseeyou
40-
idna==3.8
40+
idna==3.10
4141
# via
4242
# -r requirements/translations.txt
4343
# requests
44-
iniconfig==2.0.0
44+
iniconfig==2.1.0
4545
# via pytest
46-
lxml[html-clean]==5.3.0
46+
lxml[html-clean]==5.3.2
4747
# via
4848
# -r requirements/translations.txt
4949
# edx-i18n-tools
5050
# lxml-html-clean
51-
lxml-html-clean==0.2.2
51+
lxml-html-clean==0.4.2
5252
# via
5353
# -r requirements/translations.txt
5454
# lxml
55-
packaging==24.1
55+
packaging==25.0
5656
# via pytest
5757
parsimonious==0.10.0
5858
# via
@@ -72,11 +72,11 @@ pyseeyou==1.0.2
7272
# via
7373
# -r requirements/translations.txt
7474
# transifex-python
75-
pytest==8.3.2
75+
pytest==8.3.5
7676
# via
7777
# -r requirements/test.in
7878
# pytest-cov
79-
pytest-cov==5.0.0
79+
pytest-cov==6.1.1
8080
# via -r requirements/test.in
8181
python-slugify==8.0.4
8282
# via -r requirements/translations.txt
@@ -85,7 +85,7 @@ pyyaml==6.0.2
8585
# -r requirements/translations.txt
8686
# edx-i18n-tools
8787
# responses
88-
regex==2024.7.24
88+
regex==2024.11.6
8989
# via
9090
# -r requirements/translations.txt
9191
# parsimonious
@@ -94,31 +94,31 @@ requests==2.32.3
9494
# -r requirements/translations.txt
9595
# responses
9696
# transifex-python
97-
responses==0.25.3
97+
responses==0.25.7
9898
# via -r requirements/test.in
99-
six==1.16.0
99+
six==1.17.0
100100
# via
101101
# -r requirements/translations.txt
102-
# asttokens
103102
# transifex-client
104-
sqlparse==0.5.1
103+
sqlparse==0.5.3
105104
# via
106105
# -r requirements/translations.txt
107106
# django
108107
text-unidecode==1.3
109108
# via
110109
# -r requirements/translations.txt
111110
# python-slugify
112-
toolz==0.12.1
111+
toolz==1.0.0
113112
# via
114113
# -r requirements/translations.txt
115114
# pyseeyou
116115
transifex-client==0.12.5
117116
# via -r requirements/translations.txt
118117
transifex-python==3.5.0
119118
# via -r requirements/translations.txt
120-
urllib3==2.2.2
119+
urllib3==2.2.3
121120
# via
121+
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
122122
# -r requirements/translations.txt
123123
# requests
124124
# responses

requirements/translations.txt

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,29 +6,29 @@
66
#
77
asgiref==3.8.1
88
# via django
9-
asttokens==2.4.1
9+
asttokens==3.0.0
1010
# via transifex-python
11-
certifi==2024.8.30
11+
certifi==2025.1.31
1212
# via requests
13-
charset-normalizer==3.3.2
13+
charset-normalizer==3.4.1
1414
# via requests
15-
click==8.1.7
15+
click==8.1.8
1616
# via transifex-python
17-
django==4.2.16
17+
django==4.2.20
1818
# via
1919
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
2020
# edx-i18n-tools
21-
edx-i18n-tools==1.6.3
21+
edx-i18n-tools==1.7.0
2222
# via -r requirements/translations.in
2323
future==1.0.0
2424
# via pyseeyou
25-
idna==3.8
25+
idna==3.10
2626
# via requests
27-
lxml[html-clean,html_clean]==5.3.0
27+
lxml[html-clean,html_clean]==5.3.2
2828
# via
2929
# edx-i18n-tools
3030
# lxml-html-clean
31-
lxml-html-clean==0.2.2
31+
lxml-html-clean==0.4.2
3232
# via lxml
3333
parsimonious==0.10.0
3434
# via pyseeyou
@@ -44,27 +44,26 @@ pyyaml==6.0.2
4444
# via
4545
# -r requirements/translations.in
4646
# edx-i18n-tools
47-
regex==2024.7.24
47+
regex==2024.11.6
4848
# via parsimonious
4949
requests==2.32.3
5050
# via
5151
# -r requirements/translations.in
5252
# transifex-python
53-
six==1.16.0
54-
# via
55-
# asttokens
56-
# transifex-client
57-
sqlparse==0.5.1
53+
six==1.17.0
54+
# via transifex-client
55+
sqlparse==0.5.3
5856
# via django
5957
text-unidecode==1.3
6058
# via python-slugify
61-
toolz==0.12.1
59+
toolz==1.0.0
6260
# via pyseeyou
6361
transifex-client==0.12.5
6462
# via -r requirements/translations.in
6563
transifex-python==3.5.0
6664
# via -r requirements/translations.in
67-
urllib3==2.2.2
65+
urllib3==2.2.3
6866
# via
67+
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
6968
# requests
7069
# transifex-client

0 commit comments

Comments
 (0)