Skip to content

Commit 46aa18b

Browse files
chore: Upgrade Python requirements (#416)
* chore: Upgrade Python requirements * fix: pylint issues --------- Co-authored-by: Irtaza Akram <irtaza.akram@arbisoft.com>
1 parent d613813 commit 46aa18b

10 files changed

Lines changed: 40 additions & 39 deletions

File tree

opaque_keys/edx/tests/test_aside_keys.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def test_encode_v1_roundtrip(self, text):
4141
decoded = _decode_v1(encoded)
4242
self.assertEqual(text, decoded)
4343

44+
# pylint: disable=unreachable
4445
@given(left=ENCODING_TEXT, right=ENCODING_TEXT)
4546
@settings(suppress_health_check=[HealthCheck.too_slow])
4647
def test_join_v1_roundtrip(self, left, right):
@@ -50,6 +51,7 @@ def test_join_v1_roundtrip(self, left, right):
5051
(_left, _right) = _split_keys_v1(joined)
5152
self.assertEqual((left, right), (_left, _right))
5253

54+
# pylint: disable=unreachable
5355
@given(left=ENCODING_TEXT, right=ENCODING_TEXT)
5456
@settings(suppress_health_check=[HealthCheck.too_slow, HealthCheck.filter_too_much])
5557
def test_join_v1_error(self, left, right):

opaque_keys/edx/tests/test_properties.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def perturbed_strings(string_strategy):
178178
def test_perturbed_serializations(key_type, serialized, perturbed):
179179
assume(serialized != perturbed)
180180

181-
original_key = key_type.from_string(serialized)
181+
original_key = key_type.from_string(serialized) # pylint: disable=unreachable
182182

183183
try:
184184
perturbed_key = key_type.from_string(perturbed)
@@ -198,6 +198,6 @@ def test_perturbed_serializations(key_type, serialized, perturbed):
198198
def test_unique_deserialization(key_type, serialized, perturbed):
199199
assume(serialized != perturbed)
200200

201-
original_key = key_type.from_string(serialized)
201+
original_key = key_type.from_string(serialized) # pylint: disable=unreachable
202202
perturbed_key = key_type.from_string(perturbed)
203203
assert original_key != perturbed_key

opaque_keys/tests/strategies.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ def fields_for_key(cls, field): # pylint: disable=unused-argument
134134
return strategies.text(min_size=1)
135135

136136

137+
# pylint: disable=unreachable
137138
@strategies.composite
138139
def _aside_v1_exclusions(draw, strategy):
139140
"""

requirements/base.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#
77
dnspython==2.8.0
88
# via pymongo
9-
pymongo==4.15.4
9+
pymongo==4.15.5
1010
# via -r requirements/base.in
1111
stevedore==5.6.0
1212
# via -r requirements/base.in

requirements/ci.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
#
55
# make upgrade
66
#
7-
cachetools==6.2.2
7+
cachetools==6.2.3
88
# via tox
99
chardet==5.2.0
1010
# via tox
1111
colorama==0.4.6
1212
# via tox
13-
coverage==7.12.0
13+
coverage==7.13.0
1414
# via -r requirements/ci.in
1515
distlib==0.4.0
1616
# via virtualenv
@@ -22,7 +22,7 @@ packaging==25.0
2222
# via
2323
# pyproject-api
2424
# tox
25-
platformdirs==4.5.0
25+
platformdirs==4.5.1
2626
# via
2727
# tox
2828
# virtualenv

requirements/dev.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ build==1.3.0
3030
# via
3131
# -r requirements/pip-tools.txt
3232
# pip-tools
33-
cachetools==6.2.2
33+
cachetools==6.2.3
3434
# via
3535
# -r requirements/ci.txt
3636
# tox
@@ -66,7 +66,7 @@ colorama==0.4.6
6666
# via
6767
# -r requirements/ci.txt
6868
# tox
69-
coverage[toml]==7.12.0
69+
coverage[toml]==7.13.0
7070
# via
7171
# -r requirements/ci.txt
7272
# -r requirements/doc.txt
@@ -102,7 +102,7 @@ filelock==3.20.0
102102
# -r requirements/ci.txt
103103
# tox
104104
# virtualenv
105-
hypothesis==6.148.3
105+
hypothesis==6.148.7
106106
# via -r requirements/doc.txt
107107
idna==3.11
108108
# via
@@ -125,7 +125,7 @@ jinja2==3.1.6
125125
# -r requirements/doc.txt
126126
# code-annotations
127127
# sphinx
128-
librt==0.6.3
128+
librt==0.7.3
129129
# via
130130
# -r requirements/doc.txt
131131
# mypy
@@ -166,7 +166,7 @@ pathspec==0.12.1
166166
# mypy
167167
pip-tools==7.5.2
168168
# via -r requirements/pip-tools.txt
169-
platformdirs==4.5.0
169+
platformdirs==4.5.1
170170
# via
171171
# -r requirements/ci.txt
172172
# -r requirements/doc.txt
@@ -214,7 +214,7 @@ pylint-plugin-utils==0.9.0
214214
# -r requirements/doc.txt
215215
# pylint-celery
216216
# pylint-django
217-
pymongo==4.15.4
217+
pymongo==4.15.5
218218
# via -r requirements/doc.txt
219219
pyproject-api==1.10.0
220220
# via
@@ -225,7 +225,7 @@ pyproject-hooks==1.2.0
225225
# -r requirements/pip-tools.txt
226226
# build
227227
# pip-tools
228-
pytest==9.0.1
228+
pytest==9.0.2
229229
# via
230230
# -r requirements/doc.txt
231231
# pytest-cov
@@ -268,7 +268,7 @@ soupsieve==2.8
268268
# via
269269
# -r requirements/doc.txt
270270
# beautifulsoup4
271-
sphinx==9.0.0
271+
sphinx==9.0.4
272272
# via
273273
# -r requirements/doc.txt
274274
# pydata-sphinx-theme
@@ -319,7 +319,7 @@ typing-extensions==4.15.0
319319
# beautifulsoup4
320320
# mypy
321321
# pydata-sphinx-theme
322-
urllib3==2.5.0
322+
urllib3==2.6.2
323323
# via
324324
# -r requirements/doc.txt
325325
# requests

requirements/django-test.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ code-annotations==2.3.0
2323
# via
2424
# -r requirements/test.txt
2525
# edx-lint
26-
coverage[toml]==7.12.0
26+
coverage[toml]==7.13.0
2727
# via
2828
# -r requirements/test.txt
2929
# pytest-cov
@@ -43,7 +43,7 @@ execnet==2.1.2
4343
# via
4444
# -r requirements/test.txt
4545
# pytest-xdist
46-
hypothesis==6.148.3
46+
hypothesis==6.148.7
4747
# via -r requirements/test.txt
4848
iniconfig==2.3.0
4949
# via
@@ -57,7 +57,7 @@ jinja2==3.1.6
5757
# via
5858
# -r requirements/test.txt
5959
# code-annotations
60-
librt==0.6.3
60+
librt==0.7.3
6161
# via
6262
# -r requirements/test.txt
6363
# mypy
@@ -85,7 +85,7 @@ pathspec==0.12.1
8585
# via
8686
# -r requirements/test.txt
8787
# mypy
88-
platformdirs==4.5.0
88+
platformdirs==4.5.1
8989
# via
9090
# -r requirements/test.txt
9191
# pylint
@@ -120,9 +120,9 @@ pylint-plugin-utils==0.9.0
120120
# -r requirements/test.txt
121121
# pylint-celery
122122
# pylint-django
123-
pymongo==4.15.4
123+
pymongo==4.15.5
124124
# via -r requirements/test.txt
125-
pytest==9.0.1
125+
pytest==9.0.2
126126
# via
127127
# -r requirements/test.txt
128128
# pytest-cov

requirements/doc.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ code-annotations==2.3.0
3737
# via
3838
# -r requirements/test.txt
3939
# edx-lint
40-
coverage[toml]==7.12.0
40+
coverage[toml]==7.13.0
4141
# via
4242
# -r requirements/test.txt
4343
# pytest-cov
@@ -62,7 +62,7 @@ execnet==2.1.2
6262
# via
6363
# -r requirements/test.txt
6464
# pytest-xdist
65-
hypothesis==6.148.3
65+
hypothesis==6.148.7
6666
# via -r requirements/test.txt
6767
idna==3.11
6868
# via requests
@@ -81,7 +81,7 @@ jinja2==3.1.6
8181
# -r requirements/test.txt
8282
# code-annotations
8383
# sphinx
84-
librt==0.6.3
84+
librt==0.7.3
8585
# via
8686
# -r requirements/test.txt
8787
# mypy
@@ -113,7 +113,7 @@ pathspec==0.12.1
113113
# via
114114
# -r requirements/test.txt
115115
# mypy
116-
platformdirs==4.5.0
116+
platformdirs==4.5.1
117117
# via
118118
# -r requirements/test.txt
119119
# pylint
@@ -154,9 +154,9 @@ pylint-plugin-utils==0.9.0
154154
# -r requirements/test.txt
155155
# pylint-celery
156156
# pylint-django
157-
pymongo==4.15.4
157+
pymongo==4.15.5
158158
# via -r requirements/test.txt
159-
pytest==9.0.1
159+
pytest==9.0.2
160160
# via
161161
# -r requirements/test.txt
162162
# pytest-cov
@@ -191,7 +191,7 @@ sortedcontainers==2.4.0
191191
# hypothesis
192192
soupsieve==2.8
193193
# via beautifulsoup4
194-
sphinx==9.0.0
194+
sphinx==9.0.4
195195
# via
196196
# -r requirements/doc.in
197197
# pydata-sphinx-theme
@@ -228,5 +228,5 @@ typing-extensions==4.15.0
228228
# beautifulsoup4
229229
# mypy
230230
# pydata-sphinx-theme
231-
urllib3==2.5.0
231+
urllib3==2.6.2
232232
# via requests

requirements/pip.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,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:
11-
pip==25.2
12-
# via
13-
# -c https://raw.githubusercontent.com/openedx/edx-lint/master/edx_lint/files/common_constraints.txt
14-
# -r requirements/pip.in
11+
pip==25.3
12+
# via -r requirements/pip.in
1513
setuptools==80.9.0
1614
# via -r requirements/pip.in

requirements/test.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ click-log==0.4.0
1717
# via edx-lint
1818
code-annotations==2.3.0
1919
# via edx-lint
20-
coverage[toml]==7.12.0
20+
coverage[toml]==7.13.0
2121
# via
2222
# -r requirements/test.in
2323
# pytest-cov
@@ -33,15 +33,15 @@ edx-lint==5.6.0
3333
# via -r requirements/test.in
3434
execnet==2.1.2
3535
# via pytest-xdist
36-
hypothesis==6.148.3
36+
hypothesis==6.148.7
3737
# via -r requirements/test.in
3838
iniconfig==2.3.0
3939
# via pytest
4040
isort==6.1.0
4141
# via pylint
4242
jinja2==3.1.6
4343
# via code-annotations
44-
librt==0.6.3
44+
librt==0.7.3
4545
# via mypy
4646
markupsafe==3.0.3
4747
# via jinja2
@@ -57,7 +57,7 @@ packaging==25.0
5757
# via pytest
5858
pathspec==0.12.1
5959
# via mypy
60-
platformdirs==4.5.0
60+
platformdirs==4.5.1
6161
# via pylint
6262
pluggy==1.6.0
6363
# via
@@ -81,9 +81,9 @@ pylint-plugin-utils==0.9.0
8181
# via
8282
# pylint-celery
8383
# pylint-django
84-
pymongo==4.15.4
84+
pymongo==4.15.5
8585
# via -r requirements/base.txt
86-
pytest==9.0.1
86+
pytest==9.0.2
8787
# via
8888
# -r requirements/test.in
8989
# pytest-cov

0 commit comments

Comments
 (0)