Skip to content

Commit

Permalink
feat: add python 311 support
Browse files Browse the repository at this point in the history
  • Loading branch information
UsamaSadiq committed Apr 5, 2024
1 parent 7a7e8d0 commit 5a29302
Show file tree
Hide file tree
Showing 10 changed files with 115 additions and 105 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04]
python-version: [3.8]
toxenv: [py38-django32, py38-django42, quality, translations-django32, translations-django42]
python-version: [3.8, 3.12]
toxenv: [django42, quality, translations-django42]

steps:
- name: checkout repo
Expand Down
28 changes: 15 additions & 13 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,21 @@
#
appdirs==1.4.4
# via fs
asgiref==3.7.2
asgiref==3.8.1
# via django
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
bleach[css]==6.1.0
# via -r requirements/base.in
boto3==1.34.49
boto3==1.34.78
# via fs-s3fs
botocore==1.34.49
botocore==1.34.78
# via
# boto3
# s3transfer
django==3.2.24
django==4.2.11
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# django-appconf
Expand All @@ -39,27 +43,25 @@ jmespath==1.0.1
# botocore
lazy==1.6
# via xblock
lxml==5.1.0
lxml==5.2.1
# via xblock
mako==1.3.2
# via xblock
markupsafe==2.1.5
# via
# mako
# xblock
openedx-django-pyfs==3.5.0
openedx-django-pyfs==3.6.0
# via xblock
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# botocore
# xblock
pytz==2024.1
# via
# django
# xblock
# via xblock
pyyaml==6.0.1
# via xblock
s3transfer==0.10.0
s3transfer==0.10.1
# via boto3
simplejson==3.19.2
# via xblock
Expand All @@ -77,15 +79,15 @@ typing-extensions==4.10.0
# via asgiref
urllib3==1.26.18
# via botocore
web-fragments==2.1.0
web-fragments==2.2.0
# via xblock
webencodings==0.5.1
# via
# bleach
# tinycss2
webob==1.8.7
# via xblock
xblock[django]==1.10.0
xblock[django]==3.1.0
# via -r requirements/base.in

# The following packages are considered to be unsafe in a requirements file:
Expand Down
8 changes: 4 additions & 4 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
#
# make upgrade
#
cachetools==5.3.2
cachetools==5.3.3
# via tox
chardet==5.2.0
# via tox
colorama==0.4.6
# via tox
distlib==0.3.8
# via virtualenv
filelock==3.13.1
filelock==3.13.3
# via
# tox
# virtualenv
packaging==23.2
packaging==24.0
# via
# pyproject-api
# tox
Expand All @@ -32,7 +32,7 @@ tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.13.0
tox==4.14.2
# via -r requirements/ci.in
virtualenv==20.25.1
# via tox
3 changes: 3 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@
-c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt

pylint==2.4.2

# For python greater than or equal to 3.9 backports.zoneinfo causing failures
backports.zoneinfo; python_version<"3.9"
61 changes: 33 additions & 28 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ arrow==1.3.0
# via
# -r requirements/quality.txt
# cookiecutter
asgiref==3.7.2
asgiref==3.8.1
# via
# -r requirements/quality.txt
# django
Expand All @@ -21,26 +21,31 @@ astroid==2.3.3
# -r requirements/quality.txt
# pylint
# pylint-celery
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# -r requirements/quality.txt
# django
binaryornot==0.4.4
# via
# -r requirements/quality.txt
# cookiecutter
bleach[css]==6.1.0
# via -r requirements/quality.txt
boto3==1.34.49
boto3==1.34.78
# via
# -r requirements/quality.txt
# fs-s3fs
botocore==1.34.49
botocore==1.34.78
# via
# -r requirements/quality.txt
# boto3
# s3transfer
build==1.0.3
build==1.2.1
# via
# -r requirements/pip-tools.txt
# pip-tools
cachetools==5.3.2
cachetools==5.3.3
# via
# -r requirements/ci.txt
# tox
Expand Down Expand Up @@ -71,7 +76,7 @@ click-log==0.4.0
# via
# -r requirements/quality.txt
# edx-lint
code-annotations==1.6.0
code-annotations==1.7.0
# via
# -r requirements/quality.txt
# edx-lint
Expand All @@ -83,17 +88,17 @@ cookiecutter==2.6.0
# via
# -r requirements/quality.txt
# xblock-sdk
coverage[toml]==7.4.3
coverage[toml]==7.4.4
# via
# -r requirements/quality.txt
# pytest-cov
ddt==1.7.1
ddt==1.7.2
# via -r requirements/quality.txt
distlib==0.3.8
# via
# -r requirements/ci.txt
# virtualenv
django==3.2.24
django==4.2.11
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/quality.txt
Expand All @@ -116,7 +121,7 @@ exceptiongroup==1.2.0
# via
# -r requirements/quality.txt
# pytest
filelock==3.13.1
filelock==3.13.3
# via
# -r requirements/ci.txt
# tox
Expand All @@ -136,8 +141,9 @@ idna==3.6
# via
# -r requirements/quality.txt
# requests
importlib-metadata==7.0.1
importlib-metadata==6.11.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# -r requirements/pip-tools.txt
# build
iniconfig==2.0.0
Expand Down Expand Up @@ -166,7 +172,7 @@ lazy-object-proxy==1.4.3
# via
# -r requirements/quality.txt
# astroid
lxml==5.1.0
lxml==5.2.1
# via
# -r requirements/quality.txt
# edx-i18n-tools
Expand Down Expand Up @@ -196,11 +202,11 @@ mdurl==0.1.2
# markdown-it-py
mock==5.1.0
# via -r requirements/quality.txt
openedx-django-pyfs==3.5.0
openedx-django-pyfs==3.6.0
# via
# -r requirements/quality.txt
# xblock
packaging==23.2
packaging==24.0
# via
# -r requirements/ci.txt
# -r requirements/pip-tools.txt
Expand All @@ -209,15 +215,15 @@ packaging==23.2
# pyproject-api
# pytest
# tox
path==16.10.0
path==16.12.1
# via
# -r requirements/quality.txt
# edx-i18n-tools
pbr==6.0.0
# via
# -r requirements/quality.txt
# stevedore
pip-tools==7.4.0
pip-tools==7.4.1
# via -r requirements/pip-tools.txt
platformdirs==4.2.0
# via
Expand Down Expand Up @@ -274,16 +280,16 @@ pyproject-hooks==1.0.0
# -r requirements/pip-tools.txt
# build
# pip-tools
pytest==8.0.2
pytest==8.1.1
# via
# -r requirements/quality.txt
# pytest-cov
# pytest-django
pytest-cov==4.1.0
pytest-cov==5.0.0
# via -r requirements/quality.txt
pytest-django==4.8.0
# via -r requirements/quality.txt
python-dateutil==2.8.2
python-dateutil==2.9.0.post0
# via
# -r requirements/quality.txt
# arrow
Expand All @@ -297,7 +303,6 @@ python-slugify==8.0.4
pytz==2024.1
# via
# -r requirements/quality.txt
# django
# xblock
pyyaml==6.0.1
# via
Expand All @@ -311,11 +316,11 @@ requests==2.31.0
# -r requirements/quality.txt
# cookiecutter
# xblock-sdk
rich==13.7.0
rich==13.7.1
# via
# -r requirements/quality.txt
# cookiecutter
s3transfer==0.10.0
s3transfer==0.10.1
# via
# -r requirements/quality.txt
# boto3
Expand Down Expand Up @@ -361,9 +366,9 @@ tomli==2.0.1
# pyproject-hooks
# pytest
# tox
tox==4.13.0
tox==4.14.2
# via -r requirements/ci.txt
types-python-dateutil==2.8.19.20240106
types-python-dateutil==2.9.0.20240316
# via
# -r requirements/quality.txt
# arrow
Expand All @@ -381,7 +386,7 @@ virtualenv==20.25.1
# via
# -r requirements/ci.txt
# tox
web-fragments==2.1.0
web-fragments==2.2.0
# via
# -r requirements/quality.txt
# xblock
Expand All @@ -396,21 +401,21 @@ webob==1.8.7
# -r requirements/quality.txt
# xblock
# xblock-sdk
wheel==0.42.0
wheel==0.43.0
# via
# -r requirements/pip-tools.txt
# pip-tools
wrapt==1.11.2
# via
# -r requirements/quality.txt
# astroid
xblock[django]==1.10.0
xblock[django]==3.1.0
# via
# -r requirements/quality.txt
# xblock-sdk
xblock-sdk==0.7.0
# via -r requirements/quality.txt
zipp==3.17.0
zipp==3.18.1
# via
# -r requirements/pip-tools.txt
# importlib-metadata
Expand Down
16 changes: 9 additions & 7 deletions requirements/pip-tools.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,17 @@
#
# make upgrade
#
build==1.0.3
build==1.2.1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==7.0.1
# via build
packaging==23.2
importlib-metadata==6.11.0
# via
# -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt
# build
packaging==24.0
# via build
pip-tools==7.4.0
pip-tools==7.4.1
# via -r requirements/pip-tools.in
pyproject-hooks==1.0.0
# via
Expand All @@ -23,9 +25,9 @@ tomli==2.0.1
# build
# pip-tools
# pyproject-hooks
wheel==0.42.0
wheel==0.43.0
# via pip-tools
zipp==3.17.0
zipp==3.18.1
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
Expand Down
4 changes: 2 additions & 2 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
#
# make upgrade
#
wheel==0.42.0
wheel==0.43.0
# via -r requirements/pip.in

# The following packages are considered to be unsafe in a requirements file:
pip==24.0
# via -r requirements/pip.in
setuptools==69.1.1
setuptools==69.2.0
# via -r requirements/pip.in
Loading

0 comments on commit 5a29302

Please sign in to comment.