Skip to content

Commit 7f09ecb

Browse files
awais786edx-requirements-botfeanil
authored
build: running tests using python 3.11 (#297)
* build: running tests using python 3.11 and 3.12 * feat: Update setup.py * feat: Update tox.ini --------- Co-authored-by: edX requirements bot <49161187+edx-requirements-bot@users.noreply.github.com> Co-authored-by: Feanil Patel <feanil@axim.org>
1 parent a0490a1 commit 7f09ecb

File tree

13 files changed

+88
-61
lines changed

13 files changed

+88
-61
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-20.04]
17-
python-version: ['3.8']
18-
toxenv: [quality, django32, django42, check_keywords]
17+
python-version: ['3.8', '3.11', '3.12']
18+
toxenv: [quality, django42, check_keywords]
1919

2020
steps:
2121
- uses: actions/checkout@v3

CHANGELOG.rst

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,18 @@ Unreleased
1414

1515
*
1616

17+
Added
18+
~~~~~~~
19+
20+
[4.3.0] - 2024-04-01
21+
--------------------
22+
23+
* Added support for python3.11 and 3.12
24+
* Dropped django 3.2 support.
25+
1726
[4.2.0] - 2023-08-03
1827
--------------------
1928

20-
Added
21-
~~~~~~~
2229
* Added support for Django 4.2
2330

2431
[4.1.0] - 2022-01-28

auth_backends/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
These package is designed to be used primarily with Open edX Django projects, but should be compatible with non-edX
44
projects as well.
55
"""
6-
__version__ = '4.2.0' # pragma: no cover
6+
__version__ = '4.3.0' # pragma: no cover

requirements/base.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@
44
#
55
# make upgrade
66
#
7-
asgiref==3.7.2
7+
asgiref==3.8.1
88
# via django
9+
backports-zoneinfo==0.2.1 ; python_version < "3.9"
10+
# via
11+
# -c requirements/constraints.txt
12+
# django
913
certifi==2024.2.2
1014
# via requests
1115
cffi==1.16.0
@@ -20,7 +24,7 @@ defusedxml==0.8.0rc2
2024
# via
2125
# python3-openid
2226
# social-auth-core
23-
django==3.2.24
27+
django==4.2.11
2428
# via
2529
# -c requirements/common_constraints.txt
2630
# -r requirements/base.in
@@ -31,21 +35,19 @@ oauthlib==3.2.2
3135
# via
3236
# requests-oauthlib
3337
# social-auth-core
34-
pycparser==2.21
38+
pycparser==2.22
3539
# via cffi
3640
pyjwt[crypto]==2.8.0
3741
# via
3842
# -r requirements/base.in
3943
# social-auth-core
4044
python3-openid==3.2.0
4145
# via social-auth-core
42-
pytz==2024.1
43-
# via django
4446
requests==2.31.0
4547
# via
4648
# requests-oauthlib
4749
# social-auth-core
48-
requests-oauthlib==1.3.1
50+
requests-oauthlib==2.0.0
4951
# via social-auth-core
5052
six==1.16.0
5153
# via -r requirements/base.in

requirements/ci.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
#
77
distlib==0.3.8
88
# via virtualenv
9-
filelock==3.13.1
9+
filelock==3.13.3
1010
# via
1111
# tox
1212
# virtualenv
13-
packaging==23.2
13+
packaging==24.0
1414
# via tox
1515
platformdirs==4.2.0
1616
# via virtualenv

requirements/common_constraints.txt

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,20 @@
1313

1414

1515
# using LTS django version
16-
Django<4.0
16+
Django<5.0
1717

1818
# elasticsearch>=7.14.0 includes breaking changes in it which caused issues in discovery upgrade process.
1919
# elastic search changelog: https://www.elastic.co/guide/en/enterprise-search/master/release-notes-7.14.0.html
2020
elasticsearch<7.14.0
2121

2222
# django-simple-history>3.0.0 adds indexing and causes a lot of migrations to be affected
2323
django-simple-history==3.0.0
24+
25+
# opentelemetry requires version 6.x at the moment:
26+
# https://github.com/open-telemetry/opentelemetry-python/issues/3570
27+
# Normally this could be added as a constraint in edx-django-utils, where we're
28+
# adding the opentelemetry dependency. However, when we compile pip-tools.txt,
29+
# that uses version 7.x, and then there's no undoing that when compiling base.txt.
30+
# So we need to pin it globally, for now.
31+
# Ticket for unpinning: https://github.com/openedx/edx-lint/issues/407
32+
importlib-metadata<7

requirements/constraints.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@
1313
# tox>4.0.0 isn't yet compatible with many tox plugins, causing CI failures in almost all repos.
1414
# Details can be found in this discussion: https://github.com/tox-dev/tox/discussions/1810
1515
tox<4.0.0
16+
17+
18+
# Temporary to Support the python 3.11 Upgrade
19+
backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library

requirements/dev.txt

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ argparse==1.4.0
88
# via
99
# -r requirements/test.txt
1010
# unittest2
11-
asgiref==3.7.2
11+
asgiref==3.8.1
1212
# via
1313
# -r requirements/test.txt
1414
# django
@@ -17,7 +17,12 @@ astroid==3.1.0
1717
# -r requirements/test.txt
1818
# pylint
1919
# pylint-celery
20-
build==1.0.3
20+
backports-zoneinfo==0.2.1 ; python_version < "3.9"
21+
# via
22+
# -c requirements/constraints.txt
23+
# -r requirements/test.txt
24+
# django
25+
build==1.2.1
2126
# via
2227
# -r requirements/pip-tools.txt
2328
# pip-tools
@@ -45,11 +50,11 @@ click-log==0.4.0
4550
# via
4651
# -r requirements/test.txt
4752
# edx-lint
48-
code-annotations==1.6.0
53+
code-annotations==1.7.0
4954
# via
5055
# -r requirements/test.txt
5156
# edx-lint
52-
coverage[toml]==7.4.3
57+
coverage[toml]==7.4.4
5358
# via
5459
# -r requirements/test.txt
5560
# pytest-cov
@@ -72,21 +77,21 @@ distlib==0.3.8
7277
# -r requirements/ci.txt
7378
# -r requirements/test.txt
7479
# virtualenv
75-
django==3.2.24
80+
django==4.2.11
7681
# via
7782
# -c requirements/common_constraints.txt
7883
# -r requirements/test.txt
7984
# edx-django-release-util
8085
# social-auth-app-django
81-
edx-django-release-util==1.3.0
86+
edx-django-release-util==1.4.0
8287
# via -r requirements/test.txt
8388
edx-lint==5.3.6
8489
# via -r requirements/test.txt
8590
exceptiongroup==1.2.0
8691
# via
8792
# -r requirements/test.txt
8893
# pytest
89-
filelock==3.13.1
94+
filelock==3.13.3
9095
# via
9196
# -r requirements/ci.txt
9297
# -r requirements/test.txt
@@ -98,8 +103,9 @@ idna==3.6
98103
# via
99104
# -r requirements/test.txt
100105
# requests
101-
importlib-metadata==7.0.1
106+
importlib-metadata==6.11.0
102107
# via
108+
# -c requirements/common_constraints.txt
103109
# -r requirements/pip-tools.txt
104110
# build
105111
iniconfig==2.0.0
@@ -131,7 +137,7 @@ oauthlib==3.2.2
131137
# -r requirements/test.txt
132138
# requests-oauthlib
133139
# social-auth-core
134-
packaging==23.2
140+
packaging==24.0
135141
# via
136142
# -r requirements/ci.txt
137143
# -r requirements/pip-tools.txt
@@ -143,7 +149,7 @@ pbr==6.0.0
143149
# via
144150
# -r requirements/test.txt
145151
# stevedore
146-
pip-tools==7.4.0
152+
pip-tools==7.4.1
147153
# via -r requirements/pip-tools.txt
148154
platformdirs==4.2.0
149155
# via
@@ -164,7 +170,7 @@ py==1.11.0
164170
# tox
165171
pycodestyle==2.11.1
166172
# via -r requirements/test.txt
167-
pycparser==2.21
173+
pycparser==2.22
168174
# via
169175
# -r requirements/test.txt
170176
# cffi
@@ -199,12 +205,12 @@ pyproject-hooks==1.0.0
199205
# -r requirements/pip-tools.txt
200206
# build
201207
# pip-tools
202-
pytest==8.0.2
208+
pytest==8.1.1
203209
# via
204210
# -r requirements/test.txt
205211
# pytest-cov
206212
# pytest-django
207-
pytest-cov==4.1.0
213+
pytest-cov==5.0.0
208214
# via -r requirements/test.txt
209215
pytest-django==4.8.0
210216
# via -r requirements/test.txt
@@ -216,10 +222,6 @@ python3-openid==3.2.0
216222
# via
217223
# -r requirements/test.txt
218224
# social-auth-core
219-
pytz==2024.1
220-
# via
221-
# -r requirements/test.txt
222-
# django
223225
pyyaml==6.0.1
224226
# via
225227
# -r requirements/test.txt
@@ -230,7 +232,7 @@ requests==2.31.0
230232
# -r requirements/test.txt
231233
# requests-oauthlib
232234
# social-auth-core
233-
requests-oauthlib==1.3.1
235+
requests-oauthlib==2.0.0
234236
# via
235237
# -r requirements/test.txt
236238
# social-auth-core
@@ -302,11 +304,11 @@ virtualenv==20.25.1
302304
# -r requirements/ci.txt
303305
# -r requirements/test.txt
304306
# tox
305-
wheel==0.42.0
307+
wheel==0.43.0
306308
# via
307309
# -r requirements/pip-tools.txt
308310
# pip-tools
309-
zipp==3.17.0
311+
zipp==3.18.1
310312
# via
311313
# -r requirements/pip-tools.txt
312314
# importlib-metadata

requirements/pip-tools.txt

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,17 @@
44
#
55
# make upgrade
66
#
7-
build==1.0.3
7+
build==1.2.1
88
# via pip-tools
99
click==8.1.7
1010
# via pip-tools
11-
importlib-metadata==7.0.1
12-
# via build
13-
packaging==23.2
11+
importlib-metadata==6.11.0
12+
# via
13+
# -c requirements/common_constraints.txt
14+
# build
15+
packaging==24.0
1416
# via build
15-
pip-tools==7.4.0
17+
pip-tools==7.4.1
1618
# via -r requirements/pip-tools.in
1719
pyproject-hooks==1.0.0
1820
# via
@@ -23,9 +25,9 @@ tomli==2.0.1
2325
# build
2426
# pip-tools
2527
# pyproject-hooks
26-
wheel==0.42.0
28+
wheel==0.43.0
2729
# via pip-tools
28-
zipp==3.17.0
30+
zipp==3.18.1
2931
# via importlib-metadata
3032

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

requirements/pip.txt

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

1010
# The following packages are considered to be unsafe in a requirements file:
1111
pip==24.0
1212
# via -r requirements/pip.in
13-
setuptools==69.1.1
13+
setuptools==69.2.0
1414
# via -r requirements/pip.in

0 commit comments

Comments
 (0)