diff --git a/.github/workflows/upgrade-python-requirements.yml b/.github/workflows/upgrade-python-requirements.yml index f846ee96..8b797093 100644 --- a/.github/workflows/upgrade-python-requirements.yml +++ b/.github/workflows/upgrade-python-requirements.yml @@ -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: "" diff --git a/requirements/base.txt b/requirements/base.txt index f84ae16e..5e9b0c36 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/requirements/ci.txt b/requirements/ci.txt index 1f4abdbc..c52b940f 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -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 diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 4987b617..d2ba6262 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -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 diff --git a/requirements/dev.txt b/requirements/dev.txt index df680f71..7c459c1d 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/requirements/doc.txt b/requirements/doc.txt index a39a9169..9cb6ab75 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/requirements/pip.txt b/requirements/pip.txt index 9c038c08..ca8b179b 100644 --- a/requirements/pip.txt +++ b/requirements/pip.txt @@ -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 @@ -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 diff --git a/requirements/pip_tools.txt b/requirements/pip_tools.txt index 6aa19d22..e89d7721 100644 --- a/requirements/pip_tools.txt +++ b/requirements/pip_tools.txt @@ -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 @@ -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 @@ -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 diff --git a/requirements/production.txt b/requirements/production.txt index 0ff83ce9..7ed35915 100644 --- a/requirements/production.txt +++ b/requirements/production.txt @@ -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 @@ -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 @@ -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 @@ -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 @@ -134,7 +141,7 @@ factory-boy==3.3.1 # via edx-enterprise-data faker==32.1.0 # via factory-boy -gevent==24.11.1 +gevent==24.2.1 # via -r requirements/production.in greenlet==3.1.1 # via gevent @@ -144,6 +151,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 @@ -156,9 +165,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/production.in @@ -242,6 +251,7 @@ tqdm==4.67.0 # via -r requirements/base.in typing-extensions==4.12.2 # via + # asgiref # django-countries # edx-opaque-keys # faker @@ -259,6 +269,8 @@ urllib3==1.26.20 # requests webencodings==0.5.1 # via html5lib +zipp==3.20.2 + # via importlib-metadata zope-event==5.0 # via gevent zope-interface==7.1.1 diff --git a/requirements/test.txt b/requirements/test.txt index 4bcab9a1..49ced320 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -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 @@ -9,8 +9,13 @@ asgiref==3.8.1 # django # django-cors-headers # django-countries -astroid==3.3.5 +astroid==3.2.4 # via pylint +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 @@ -35,7 +40,7 @@ coreapi==2.3.3 # via -r requirements/base.in coreschema==0.0.4 # via coreapi -coverage[toml]==7.6.4 +coverage[toml]==7.6.1 # via # -r requirements/test.in # pytest-cov @@ -68,7 +73,7 @@ dill==0.3.9 # 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 @@ -106,8 +111,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 @@ -145,6 +152,8 @@ edx-rest-api-client==6.0.0 # via # -r requirements/base.in # edx-enterprise-data +exceptiongroup==1.2.2 + # via pytest factory-boy==3.3.1 # via edx-enterprise-data faker==32.1.0 @@ -155,6 +164,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 iniconfig==2.0.0 @@ -173,11 +184,11 @@ jmespath==1.0.1 # botocore markdown==3.7 # via -r requirements/base.in -markupsafe==3.0.2 +markupsafe==2.1.5 # via jinja2 mccabe==0.7.0 # via pylint -mysql-connector-python==9.1.0 +mysql-connector-python==9.0.0 # via edx-enterprise-data newrelic==10.2.0 # via edx-django-utils @@ -216,7 +227,7 @@ pyjwt[crypto]==2.9.0 # drf-jwt # edx-drf-extensions # edx-rest-api-client -pylint==3.3.1 +pylint==3.2.7 # via -r requirements/test.in pymemcache==4.0.0 # via -r requirements/base.in @@ -228,7 +239,7 @@ pytest==8.3.3 # via # pytest-cov # pytest-django -pytest-cov==6.0.0 +pytest-cov==5.0.0 # via -r requirements/test.in pytest-django==4.9.0 # via -r requirements/test.in @@ -280,15 +291,23 @@ stevedore==5.3.0 # via # edx-django-utils # edx-opaque-keys +tomli==2.1.0 + # via + # coverage + # pylint + # pytest tomlkit==0.13.2 # via pylint tqdm==4.67.0 # via -r requirements/base.in typing-extensions==4.12.2 # via + # asgiref + # astroid # django-countries # edx-opaque-keys # faker + # pylint tzdata==2024.2 # via pandas uritemplate==4.1.1 @@ -304,6 +323,8 @@ urllib3==1.26.20 # responses 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 diff --git a/requirements/tox.txt b/requirements/tox.txt index fbfdeefd..4579656a 100644 --- a/requirements/tox.txt +++ b/requirements/tox.txt @@ -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 @@ -28,7 +28,13 @@ pluggy==1.5.0 # via tox pyproject-api==1.8.0 # via tox +tomli==2.1.0 + # via + # pyproject-api + # tox tox==4.23.2 # via -r requirements/tox.in +typing-extensions==4.12.2 + # via tox virtualenv==20.27.1 # via tox