Skip to content

Commit

Permalink
Merge pull request #65 from edx/use-python38-in-requirements-upgrade-…
Browse files Browse the repository at this point in the history
…workflow-for-now

Use python38 in requirements upgrade workflow for now
  • Loading branch information
UsamaSadiq authored Nov 13, 2024
2 parents 4ad6399 + 7066cba commit a938f37
Show file tree
Hide file tree
Showing 11 changed files with 146 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-python-requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master
with:
branch: ${{ github.event.inputs.branch || 'master' }}
python_version: "3.11"
python_version: "3.8"
# optional parameters below; fill in if you'd like github or email notifications
# user_reviewers: ""
# team_reviewers: ""
Expand Down
24 changes: 18 additions & 6 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
Expand All @@ -9,6 +9,11 @@ asgiref==3.8.1
# django
# django-cors-headers
# django-countries
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
# djangorestframework
boto==2.49.0
# via -r requirements/base.in
boto3==1.35.59
Expand Down Expand Up @@ -55,7 +60,7 @@ django==4.2.16
# edx-drf-extensions
# edx-enterprise-data
# edx-rbac
django-cors-headers==4.6.0
django-cors-headers==4.4.0
# via -r requirements/base.in
django-countries==7.6.1
# via -r requirements/base.in
Expand Down Expand Up @@ -91,8 +96,10 @@ djangorestframework-csv==3.0.2
# via
# -r requirements/base.in
# edx-enterprise-data
dnspython==2.7.0
# via pymongo
dnspython==2.6.1
# via
# -c requirements/constraints.txt
# pymongo
drf-jwt==1.19.2
# via edx-drf-extensions
drf-yasg==1.21.8
Expand Down Expand Up @@ -138,6 +145,8 @@ html5lib==1.1
# via -r requirements/base.in
idna==3.10
# via requests
importlib-metadata==8.5.0
# via markdown
inflection==0.5.1
# via drf-yasg
itypes==1.2.0
Expand All @@ -150,9 +159,9 @@ jmespath==1.0.1
# botocore
markdown==3.7
# via -r requirements/base.in
markupsafe==3.0.2
markupsafe==2.1.5
# via jinja2
mysql-connector-python==9.1.0
mysql-connector-python==9.0.0
# via edx-enterprise-data
newrelic==10.2.0
# via edx-django-utils
Expand Down Expand Up @@ -227,6 +236,7 @@ tqdm==4.67.0
# via -r requirements/base.in
typing-extensions==4.12.2
# via
# asgiref
# django-countries
# edx-opaque-keys
# faker
Expand All @@ -244,6 +254,8 @@ urllib3==1.26.20
# requests
webencodings==0.5.1
# via html5lib
zipp==3.20.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
2 changes: 1 addition & 1 deletion requirements/ci.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
Expand Down
7 changes: 7 additions & 0 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,17 @@ urllib3<2.0.0
# path>16.14.0 has removed the deprecated abspath function, which is breaking the docs build
path<16.15.0

# dnspython 2.7.0 Requires-Python >=3.9
dnspython<2.7.0

# edx-enterprise-data==10.0.0 upgrades to Python 3.12 which is currently not supported
# This constraint can be removed once Python 3.12 upgrade is complete
edx-enterprise-data<10.0.0

# backports-zoneinfo comes by-default in newer versions of python
# it gives error while building wheel with python>=3.9
backports.zoneinfo ; python_version < "3.9"

# Cause: https://github.com/openedx/edx-lint/issues/458
# This can be unpinned once https://github.com/openedx/edx-lint/issues/459 has been resolved.
pip<24.3
24 changes: 18 additions & 6 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
Expand All @@ -9,6 +9,11 @@ asgiref==3.8.1
# django
# django-cors-headers
# django-countries
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
# djangorestframework
boto==2.49.0
# via -r requirements/base.in
boto3==1.35.59
Expand Down Expand Up @@ -55,7 +60,7 @@ django==4.2.16
# edx-drf-extensions
# edx-enterprise-data
# edx-rbac
django-cors-headers==4.6.0
django-cors-headers==4.4.0
# via -r requirements/base.in
django-countries==7.6.1
# via -r requirements/base.in
Expand Down Expand Up @@ -91,8 +96,10 @@ djangorestframework-csv==3.0.2
# via
# -r requirements/base.in
# edx-enterprise-data
dnspython==2.7.0
# via pymongo
dnspython==2.6.1
# via
# -c requirements/constraints.txt
# pymongo
drf-jwt==1.19.2
# via edx-drf-extensions
drf-yasg==1.21.8
Expand Down Expand Up @@ -138,6 +145,8 @@ html5lib==1.1
# via -r requirements/base.in
idna==3.10
# via requests
importlib-metadata==8.5.0
# via markdown
inflection==0.5.1
# via drf-yasg
itypes==1.2.0
Expand All @@ -150,9 +159,9 @@ jmespath==1.0.1
# botocore
markdown==3.7
# via -r requirements/base.in
markupsafe==3.0.2
markupsafe==2.1.5
# via jinja2
mysql-connector-python==9.1.0
mysql-connector-python==9.0.0
# via edx-enterprise-data
mysqlclient==2.2.6
# via -r requirements/dev.in
Expand Down Expand Up @@ -229,6 +238,7 @@ tqdm==4.67.0
# via -r requirements/base.in
typing-extensions==4.12.2
# via
# asgiref
# django-countries
# edx-opaque-keys
# faker
Expand All @@ -246,6 +256,8 @@ urllib3==1.26.20
# requests
webencodings==0.5.1
# via html5lib
zipp==3.20.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
50 changes: 33 additions & 17 deletions requirements/doc.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
#
accessible-pygments==0.0.5
accessible-pygments==0.0.4
# via pydata-sphinx-theme
alabaster==1.0.0
alabaster==0.7.13
# via sphinx
asgiref==3.8.1
# via
Expand All @@ -17,6 +17,11 @@ babel==2.16.0
# via
# pydata-sphinx-theme
# sphinx
backports-zoneinfo==0.2.1 ; python_version < "3.9"
# via
# -c requirements/constraints.txt
# django
# djangorestframework
beautifulsoup4==4.12.3
# via pydata-sphinx-theme
boto==2.49.0
Expand Down Expand Up @@ -65,7 +70,7 @@ django==4.2.16
# edx-drf-extensions
# edx-enterprise-data
# edx-rbac
django-cors-headers==4.6.0
django-cors-headers==4.4.0
# via -r requirements/base.in
django-countries==7.6.1
# via -r requirements/base.in
Expand Down Expand Up @@ -101,9 +106,11 @@ djangorestframework-csv==3.0.2
# via
# -r requirements/base.in
# edx-enterprise-data
dnspython==2.7.0
# via pymongo
docutils==0.21.2
dnspython==2.6.1
# via
# -c requirements/constraints.txt
# pymongo
docutils==0.19
# via
# pydata-sphinx-theme
# sphinx
Expand Down Expand Up @@ -154,6 +161,10 @@ idna==3.10
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==8.5.0
# via
# markdown
# sphinx
inflection==0.5.1
# via drf-yasg
itypes==1.2.0
Expand All @@ -168,9 +179,9 @@ jmespath==1.0.1
# botocore
markdown==3.7
# via -r requirements/base.in
markupsafe==3.0.2
markupsafe==2.1.5
# via jinja2
mysql-connector-python==9.1.0
mysql-connector-python==9.0.0
# via edx-enterprise-data
newrelic==10.2.0
# via edx-django-utils
Expand All @@ -183,6 +194,7 @@ ordered-set==4.1.0
packaging==24.2
# via
# drf-yasg
# pydata-sphinx-theme
# sphinx
pandas==2.0.3
# via edx-enterprise-data
Expand All @@ -196,7 +208,7 @@ psutil==6.1.0
# via edx-django-utils
pycparser==2.22
# via cffi
pydata-sphinx-theme==0.16.0
pydata-sphinx-theme==0.14.4
# via sphinx-book-theme
pygments==2.18.0
# via
Expand All @@ -223,6 +235,7 @@ python-memcached==1.62
# via -r requirements/base.in
pytz==2024.2
# via
# babel
# drf-yasg
# pandas
pyyaml==6.0.2
Expand Down Expand Up @@ -253,24 +266,24 @@ snowballstemmer==2.2.0
# via sphinx
soupsieve==2.6
# via beautifulsoup4
sphinx==8.1.3
sphinx==6.2.1
# via
# -r requirements/doc.in
# pydata-sphinx-theme
# sphinx-book-theme
sphinx-book-theme==1.1.3
sphinx-book-theme==1.0.1
# via -r requirements/doc.in
sphinxcontrib-applehelp==2.0.0
sphinxcontrib-applehelp==1.0.4
# via sphinx
sphinxcontrib-devhelp==2.0.0
sphinxcontrib-devhelp==1.0.2
# via sphinx
sphinxcontrib-htmlhelp==2.1.0
sphinxcontrib-htmlhelp==2.0.1
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==2.0.0
sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==2.0.0
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
sqlparse==0.5.1
# via django
Expand All @@ -282,6 +295,7 @@ tqdm==4.67.0
# via -r requirements/base.in
typing-extensions==4.12.2
# via
# asgiref
# django-countries
# edx-opaque-keys
# faker
Expand All @@ -300,6 +314,8 @@ urllib3==1.26.20
# requests
webencodings==0.5.1
# via html5lib
zipp==3.20.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
4 changes: 2 additions & 2 deletions requirements/pip.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# pip-compile --allow-unsafe --output-file=requirements/pip.txt requirements/pip.in
Expand All @@ -12,5 +12,5 @@ pip==24.2
# via
# -c /Users/usama.sadiq/Desktop/edX/edx-analytics-data-api/requirements/constraints.txt
# -r requirements/pip.in
setuptools==75.4.0
setuptools==75.3.0
# via -r requirements/pip.in
10 changes: 9 additions & 1 deletion requirements/pip_tools.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# This file is autogenerated by pip-compile with Python 3.8
# by the following command:
#
# make upgrade
Expand All @@ -8,6 +8,8 @@ build==1.2.2.post1
# via pip-tools
click==8.1.7
# via pip-tools
importlib-metadata==8.5.0
# via build
packaging==24.2
# via build
pip-tools==7.4.1
Expand All @@ -18,8 +20,14 @@ pyproject-hooks==1.2.0
# pip-tools
six==1.16.0
# via -r requirements/pip_tools.in
tomli==2.1.0
# via
# build
# pip-tools
wheel==0.45.0
# via pip-tools
zipp==3.20.2
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
Loading

0 comments on commit a938f37

Please sign in to comment.