From f87006f7784f916d26c6b443860ffa020a4f23ac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 17 Nov 2023 17:57:15 +0500 Subject: [PATCH] feat: Upgrade Python dependency tox (#33736) * feat: Upgrade Python dependency tox Commit generated by workflow `openedx/edx-platform/.github/workflows/upgrade-one-python-dependency.yml@refs/heads/master` * fix: add back py in requirements * chore: upgrade py package in requirements --------- Co-authored-by: UsamaSadiq Co-authored-by: UsamaSadiq --- requirements/edx/development.txt | 23 ++++++++++++++++++----- requirements/edx/testing.in | 1 + requirements/edx/testing.txt | 15 ++++++++++++--- 3 files changed, 31 insertions(+), 8 deletions(-) diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 3dd5071f99ab..1740964f081a 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -171,6 +171,10 @@ build==1.0.3 # via # -r requirements/edx/../pip-tools.txt # pip-tools +cachetools==5.3.2 + # via + # -r requirements/edx/testing.txt + # tox celery==5.3.5 # via # -c requirements/edx/../constraints.txt @@ -205,6 +209,7 @@ chardet==5.2.0 # -r requirements/edx/testing.txt # diff-cover # pysrt + # tox charset-normalizer==2.0.12 # via # -c requirements/edx/../constraints.txt @@ -269,6 +274,10 @@ codejail-includes==1.0.0 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt +colorama==0.4.6 + # via + # -r requirements/edx/testing.txt + # tox coreapi==2.3.3 # via # -r requirements/edx/doc.txt @@ -1357,6 +1366,7 @@ packaging==23.2 # gunicorn # py2neo # pydata-sphinx-theme + # pyproject-api # pytest # snowflake-connector-python # sphinx @@ -1425,6 +1435,7 @@ platformdirs==3.11.0 # -r requirements/edx/testing.txt # pylint # snowflake-connector-python + # tox # virtualenv pluggy==1.3.0 # via @@ -1450,9 +1461,7 @@ psutil==5.9.6 # pact-python # pytest-xdist py==1.11.0 - # via - # -r requirements/edx/testing.txt - # tox + # via -r requirements/edx/testing.txt py2neo @ https://github.com/overhangio/py2neo/releases/download/2021.2.3/py2neo-2021.2.3.tar.gz # via # -c requirements/edx/../constraints.txt @@ -1595,6 +1604,10 @@ pyparsing==3.1.1 # -r requirements/edx/testing.txt # chem # openedx-calc +pyproject-api==1.6.1 + # via + # -r requirements/edx/testing.txt + # tox pyproject-hooks==1.0.0 # via # -r requirements/edx/../pip-tools.txt @@ -1867,7 +1880,6 @@ six==1.16.0 # python-dateutil # python-memcached # sphinxcontrib-httpdomain - # tox slumber==0.7.1 # via # -r requirements/edx/doc.txt @@ -2038,6 +2050,7 @@ tomli==2.0.1 # mypy # pip-tools # pylint + # pyproject-api # pyproject-hooks # pytest # tox @@ -2047,7 +2060,7 @@ tomlkit==0.12.2 # -r requirements/edx/testing.txt # pylint # snowflake-connector-python -tox==3.28.0 +tox==4.11.3 # via -r requirements/edx/testing.txt tqdm==4.66.1 # via diff --git a/requirements/edx/testing.in b/requirements/edx/testing.in index a0b4c5bff5a4..a69d65821fd9 100644 --- a/requirements/edx/testing.in +++ b/requirements/edx/testing.in @@ -46,3 +46,4 @@ tox # virtualenv management for tests unidiff # Required by coverage_pytest_plugin pylint-pytest==0.3.0 # A Pylint plugin to suppress pytest-related false positives. pact-python # Library for contract testing +py # Needed for pytest configurations, was previously been fetched through tox diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index 8c0234d39251..a1e7c327a9e9 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -127,6 +127,8 @@ botocore==1.31.83 # s3transfer bridgekeeper==0.9 # via -r requirements/edx/base.txt +cachetools==5.3.2 + # via tox celery==5.3.5 # via # -c requirements/edx/../constraints.txt @@ -158,6 +160,7 @@ chardet==5.2.0 # -r requirements/edx/coverage.txt # diff-cover # pysrt + # tox charset-normalizer==2.0.12 # via # -c requirements/edx/../constraints.txt @@ -207,6 +210,8 @@ code-annotations==1.5.0 # edx-toggles codejail-includes==1.0.0 # via -r requirements/edx/base.txt +colorama==0.4.6 + # via tox coreapi==2.3.3 # via # -r requirements/edx/base.txt @@ -1021,6 +1026,7 @@ packaging==23.2 # drf-yasg # gunicorn # py2neo + # pyproject-api # pytest # snowflake-connector-python # tox @@ -1070,6 +1076,7 @@ platformdirs==3.11.0 # -r requirements/edx/base.txt # pylint # snowflake-connector-python + # tox # virtualenv pluggy==1.3.0 # via @@ -1093,7 +1100,7 @@ psutil==5.9.6 # pact-python # pytest-xdist py==1.11.0 - # via tox + # via -r requirements/edx/testing.in py2neo @ https://github.com/overhangio/py2neo/releases/download/2021.2.3/py2neo-2021.2.3.tar.gz # via # -c requirements/edx/../constraints.txt @@ -1201,6 +1208,8 @@ pyparsing==3.1.1 # -r requirements/edx/base.txt # chem # openedx-calc +pyproject-api==1.6.1 + # via tox pyquery==2.0.0 # via -r requirements/edx/testing.in pyrsistent==0.20.0 @@ -1425,7 +1434,6 @@ six==1.16.0 # pyjwkest # python-dateutil # python-memcached - # tox slumber==0.7.1 # via # -r requirements/edx/base.txt @@ -1507,6 +1515,7 @@ tomli==2.0.1 # coverage # import-linter # pylint + # pyproject-api # pytest # tox tomlkit==0.12.2 @@ -1514,7 +1523,7 @@ tomlkit==0.12.2 # -r requirements/edx/base.txt # pylint # snowflake-connector-python -tox==3.28.0 +tox==4.11.3 # via -r requirements/edx/testing.in tqdm==4.66.1 # via