Skip to content

Commit

Permalink
feat: python 3.12 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
awais786 committed Feb 25, 2024
1 parent 1564474 commit 79d8e63
Show file tree
Hide file tree
Showing 9 changed files with 91 additions and 648 deletions.
45 changes: 16 additions & 29 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
appdirs==1.4.4
# via fs
asgiref==3.7.2
# via
# django
# django-simple-history
backports-zoneinfo==0.2.1
# via django
bleach==6.1.0
# via -r requirements/base.in
Expand All @@ -30,9 +34,8 @@ code-annotations==1.6.0
# via edx-toggles
defusedxml==0.7.1
# via -r requirements/base.in
django==3.2.24
django==4.2.10
# via
# -c requirements/constraints.txt
# -r requirements/base.in
# django-crum
# django-model-utils
Expand All @@ -51,10 +54,8 @@ django-model-utils==4.4.0
# via
# -r requirements/base.in
# edx-submissions
django-simple-history==3.1.1
# via
# -c requirements/constraints.txt
# -r requirements/base.in
django-simple-history==3.5.0
# via -r requirements/base.in
django-waffle==4.1.0
# via
# edx-django-utils
Expand All @@ -75,16 +76,12 @@ edx-submissions==3.6.0
# via -r requirements/base.in
edx-toggles==5.1.1
# via -r requirements/base.in
fs==2.0.18
# via
# -c requirements/constraints.txt
# xblock
fs==2.4.16
# via xblock
html5lib==1.1
# via -r requirements/base.in
idna==2.8
# via
# -c requirements/constraints.txt
# requests
idna==3.6
# via requests
jinja2==3.1.3
# via code-annotations
jmespath==1.0.1
Expand All @@ -98,9 +95,7 @@ jsonfield==3.1.0
lazy==1.6
# via -r requirements/base.in
loremipsum==1.0.5
# via
# -c requirements/constraints.txt
# -r requirements/base.in
# via -r requirements/base.in
lxml==5.1.0
# via
# -r requirements/base.in
Expand All @@ -115,9 +110,8 @@ markupsafe==2.1.5
# xblock
newrelic==9.7.0
# via edx-django-utils
path==13.1.0
path==16.10.0
# via
# -c requirements/constraints.txt
# edx-i18n-tools
# path-py
path-py==12.5.0
Expand All @@ -141,17 +135,13 @@ python-dateutil==2.8.2
# xblock
python-slugify==8.0.4
# via code-annotations
python-swiftclient==3.13.1
# via
# -c requirements/constraints.txt
# -r requirements/base.in
python-swiftclient==4.4.0
# via -r requirements/base.in
pytz==2024.1
# via
# -r requirements/base.in
# django
# djangorestframework
# edx-submissions
# fs
# xblock
pyyaml==6.0.1
# via
Expand All @@ -170,7 +160,6 @@ six==1.16.0
# fs
# html5lib
# python-dateutil
# python-swiftclient
sqlparse==0.4.4
# via django
stevedore==5.2.0
Expand All @@ -189,9 +178,7 @@ urllib3==1.26.18
# botocore
# requests
voluptuous==0.14.2
# via
# -c requirements/constraints.txt
# -r requirements/base.in
# via -r requirements/base.in
web-fragments==2.1.0
# via xblock
webencodings==0.5.1
Expand Down
6 changes: 2 additions & 4 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ filelock==3.13.1
# -r requirements/tox.txt
# tox
# virtualenv
idna==2.8
# via
# -c requirements/constraints.txt
# requests
idna==3.6
# via requests
packaging==23.2
# via
# -r requirements/tox.txt
Expand Down
1 change: 1 addition & 0 deletions requirements/common_constraints.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@



# A central location for most common version constraints
# (across edx repos) for pip-installation.
#
Expand Down
32 changes: 0 additions & 32 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,33 +1 @@
# Version constraints for pip-installation.

# Base dependencies
Django<4.0 # Stay on the latest LTS release of Django
fs<=2.0.18 # Constrained by edx-platform
loremipsum<2.0.0

python-swiftclient<4.0.0
voluptuous<1.0.0

# Test dependencies
ddt==1.0.0 # Test failures at versions > 1.0.0
idna<2.9.0 # moto version moto==1.3.14 requires idna<2.9.0
fs-s3fs==0.1.8 # Constrained by edx-platform
wrapt==1.11.* # Constrained by astroid
freezegun<=0.3.14 # Test failures on 0.3.15
# Moto 1.3.15 have build issues
moto<1.3.15
# Networkx 2.5 drops support for python 3.5
networkx<2.5

# path 13.2.0 drops support for Python 3.5
path<13.2.0

# Needed to resolve requirements between path and tox
# path only requires >=0.5 but tox requires <2
# path is defined in base.in so it compiles to the most recent version in base.txt,
# and tox comes in in test.in
importlib-metadata<2
setuptools<60.0

# incremental upgrade plan.
django-simple-history<=3.1.1
19 changes: 9 additions & 10 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ charset-normalizer==3.3.2
# via requests
colorama==0.4.6
# via sphinx-autobuild
docutils==0.17.1
docutils==0.19
# via
# pydata-sphinx-theme
# sphinx
idna==2.8
# via
# -c requirements/constraints.txt
# requests
idna==3.6
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==7.0.1
# via sphinx
jinja2==3.1.3
# via sphinx
livereload==2.6.3
Expand All @@ -40,7 +40,7 @@ packaging==23.2
# via
# pydata-sphinx-theme
# sphinx
pydata-sphinx-theme==0.13.3
pydata-sphinx-theme==0.14.4
# via sphinx-book-theme
pygments==2.17.2
# via
Expand All @@ -57,7 +57,7 @@ snowballstemmer==2.2.0
# via sphinx
soupsieve==2.5
# via beautifulsoup4
sphinx==4.3.2
sphinx==6.2.1
# via
# -r requirements/docs.in
# pydata-sphinx-theme
Expand Down Expand Up @@ -93,6 +93,5 @@ typing-extensions==4.9.0
# via pydata-sphinx-theme
urllib3==2.2.1
# via requests

# The following packages are considered to be unsafe in a requirements file:
# setuptools
zipp==3.17.0
# via importlib-metadata
6 changes: 2 additions & 4 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@ wheel==0.42.0
# The following packages are considered to be unsafe in a requirements file:
pip==24.0
# via -r requirements/pip.in
setuptools==59.8.0
# via
# -c requirements/constraints.txt
# -r requirements/pip.in
setuptools==69.1.1
# via -r requirements/pip.in
Loading

0 comments on commit 79d8e63

Please sign in to comment.