From 1194b90c2514fb09d8bd3aa13a2ef457f480fb40 Mon Sep 17 00:00:00 2001 From: "Kyle D. McCormick" Date: Mon, 10 Jun 2024 16:15:14 -0400 Subject: [PATCH] build: recompile requirements, including mypy in test+dev --- requirements/ci.txt | 6 +--- requirements/dev.txt | 64 ++++++++++++++++++++++++------------------- requirements/doc.txt | 17 ++---------- requirements/test.txt | 56 ++++++++++++++++++++----------------- 4 files changed, 70 insertions(+), 73 deletions(-) diff --git a/requirements/ci.txt b/requirements/ci.txt index 802e3c062..8ba88e64a 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -30,10 +30,6 @@ pluggy==1.5.0 # via tox pyproject-api==1.6.1 # via tox -tomli==2.0.1 - # via - # pyproject-api - # tox tox==4.15.1 # via -r requirements/ci.in virtualenv==20.26.2 diff --git a/requirements/dev.txt b/requirements/dev.txt index d3ea28146..03e50ab94 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -12,6 +12,7 @@ asgiref==3.8.1 # via # -r requirements/test.txt # django + # django-stubs astroid==3.2.2 # via # -r requirements/test.txt @@ -21,10 +22,6 @@ attrs==23.2.0 # via # -r requirements/test.txt # hypothesis -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -r requirements/test.txt - # django boto3==1.34.122 # via # -r requirements/test.txt @@ -93,7 +90,15 @@ django==4.2.13 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/test.txt + # django-stubs + # django-stubs-ext # openedx-django-pyfs +django-stubs==5.0.2 + # via -r requirements/test.txt +django-stubs-ext==5.0.2 + # via + # -r requirements/test.txt + # django-stubs dnspython==2.6.1 # via # -r requirements/test.txt @@ -102,11 +107,6 @@ edx-lint==5.3.6 # via -r requirements/test.txt edx-opaque-keys==2.10.0 # via -r requirements/test.txt -exceptiongroup==1.2.1 - # via - # -r requirements/test.txt - # hypothesis - # pytest filelock==3.14.0 # via # -r requirements/ci.txt @@ -128,9 +128,6 @@ 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 - # -r requirements/test.txt - # build - # typeguard inflect==7.2.1 # via # -r requirements/test.txt @@ -162,6 +159,8 @@ lazy==1.6 # via -r requirements/test.txt lxml==5.2.2 # via -r requirements/test.txt +lxml-stubs==0.5.1 + # via -r requirements/test.txt mako==1.3.5 # via -r requirements/test.txt markupsafe==2.1.5 @@ -179,6 +178,12 @@ more-itertools==10.3.0 # via # -r requirements/test.txt # inflect +mypy==1.10.0 + # via -r requirements/test.txt +mypy-extensions==1.0.0 + # via + # -r requirements/test.txt + # mypy openedx-django-pyfs==3.6.0 # via -r requirements/test.txt packaging==24.1 @@ -306,17 +311,7 @@ text-unidecode==1.3 # -r requirements/test.txt # python-slugify tomli==2.0.1 - # via - # -r requirements/ci.txt - # -r requirements/pip-tools.txt - # -r requirements/test.txt - # build - # coverage - # pip-tools - # pylint - # pyproject-api - # pytest - # tox + # via -r requirements/pip-tools.txt tomlkit==0.12.5 # via # -r requirements/test.txt @@ -329,14 +324,28 @@ typeguard==4.3.0 # via # -r requirements/test.txt # inflect +types-python-dateutil==2.9.0.20240316 + # via -r requirements/test.txt +types-pytz==2024.1.0.20240417 + # via -r requirements/test.txt +types-pyyaml==6.0.12.20240311 + # via + # -r requirements/test.txt + # django-stubs +types-setuptools==70.0.0.20240524 + # via -r requirements/test.txt +types-simplejson==3.19.0.20240310 + # via -r requirements/test.txt +types-webob==1.8.0.20240520 + # via -r requirements/test.txt typing-extensions==4.12.2 # via # -r requirements/test.txt - # asgiref - # astroid + # django-stubs + # django-stubs-ext # edx-opaque-keys # inflect - # pylint + # mypy # typeguard urllib3==1.26.18 # via @@ -358,7 +367,6 @@ wheel==0.43.0 zipp==3.19.2 # via # -r requirements/pip-tools.txt - # -r requirements/test.txt # importlib-metadata # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/doc.txt b/requirements/doc.txt index 77fd866c9..fcaa83c5d 100644 --- a/requirements/doc.txt +++ b/requirements/doc.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -20,10 +20,6 @@ babel==2.15.0 # via # pydata-sphinx-theme # sphinx -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -r requirements/django.txt - # django beautifulsoup4==4.12.3 # via pydata-sphinx-theme boto3==1.34.122 @@ -67,10 +63,6 @@ idna==3.7 # via requests imagesize==1.4.1 # via sphinx -importlib-metadata==6.11.0 - # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # sphinx jinja2==3.1.4 # via sphinx jmespath==1.0.1 @@ -117,9 +109,7 @@ python-dateutil==2.9.0.post0 # -r requirements/django.txt # botocore pytz==2024.1 - # via - # -r requirements/django.txt - # babel + # via -r requirements/django.txt pyyaml==6.0.1 # via -r requirements/django.txt requests==2.32.3 @@ -170,7 +160,6 @@ stevedore==5.2.0 typing-extensions==4.12.2 # via # -r requirements/django.txt - # asgiref # edx-opaque-keys # pydata-sphinx-theme urllib3==1.26.18 @@ -182,8 +171,6 @@ web-fragments==2.2.0 # via -r requirements/django.txt webob==1.8.7 # via -r requirements/django.txt -zipp==3.19.2 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # setuptools diff --git a/requirements/test.txt b/requirements/test.txt index e2c6ae9aa..215cceb46 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.11 # by the following command: # # make upgrade @@ -12,6 +12,7 @@ asgiref==3.8.1 # via # -r requirements/django.txt # django + # django-stubs astroid==3.2.2 # via # -r requirements/test.in @@ -19,10 +20,6 @@ astroid==3.2.2 # pylint-celery attrs==23.2.0 # via hypothesis -backports-zoneinfo==0.2.1 ; python_version < "3.9" - # via - # -r requirements/django.txt - # django boto3==1.34.122 # via # -r requirements/django.txt @@ -64,7 +61,13 @@ distlib==0.3.8 # via # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt # -r requirements/django.txt + # django-stubs + # django-stubs-ext # openedx-django-pyfs +django-stubs==5.0.2 + # via -r requirements/test.in +django-stubs-ext==5.0.2 + # via django-stubs dnspython==2.6.1 # via # -r requirements/django.txt @@ -73,10 +76,6 @@ edx-lint==5.3.6 # via -r requirements/test.in edx-opaque-keys==2.10.0 # via -r requirements/django.txt -exceptiongroup==1.2.1 - # via - # hypothesis - # pytest filelock==3.14.0 # via # tox @@ -92,10 +91,6 @@ fs-s3fs==1.1.1 # openedx-django-pyfs hypothesis==6.103.1 # via -r requirements/test.in -importlib-metadata==6.11.0 - # via - # -c https://raw.githubusercontent.com/edx/edx-lint/master/edx_lint/files/common_constraints.txt - # typeguard inflect==7.2.1 # via jinja2-pluralize iniconfig==2.0.0 @@ -118,6 +113,8 @@ lazy==1.6 # via -r requirements/django.txt lxml==5.2.2 # via -r requirements/django.txt +lxml-stubs==0.5.1 + # via -r requirements/test.in mako==1.3.5 # via -r requirements/django.txt markupsafe==2.1.5 @@ -131,6 +128,10 @@ mock==5.1.0 # via -r requirements/test.in more-itertools==10.3.0 # via inflect +mypy==1.10.0 + # via -r requirements/test.in +mypy-extensions==1.0.0 + # via mypy openedx-django-pyfs==3.6.0 # via -r requirements/django.txt packaging==24.1 @@ -226,27 +227,34 @@ stevedore==5.2.0 # edx-opaque-keys text-unidecode==1.3 # via python-slugify -tomli==2.0.1 - # via - # coverage - # pylint - # pyproject-api - # pytest - # tox tomlkit==0.12.5 # via pylint tox==4.15.1 # via -r requirements/test.in typeguard==4.3.0 # via inflect +types-python-dateutil==2.9.0.20240316 + # via -r requirements/test.in +types-pytz==2024.1.0.20240417 + # via -r requirements/test.in +types-pyyaml==6.0.12.20240311 + # via + # -r requirements/test.in + # django-stubs +types-setuptools==70.0.0.20240524 + # via -r requirements/test.in +types-simplejson==3.19.0.20240310 + # via -r requirements/test.in +types-webob==1.8.0.20240520 + # via -r requirements/test.in typing-extensions==4.12.2 # via # -r requirements/django.txt - # asgiref - # astroid + # django-stubs + # django-stubs-ext # edx-opaque-keys # inflect - # pylint + # mypy # typeguard urllib3==1.26.18 # via @@ -258,8 +266,6 @@ web-fragments==2.2.0 # via -r requirements/django.txt webob==1.8.7 # via -r requirements/django.txt -zipp==3.19.2 - # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # setuptools