From 88058f238565bdbec5fc70de057d527a7a0586fa Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Wed, 7 Feb 2024 14:53:57 +0500 Subject: [PATCH 1/5] chore: python 3.10 testing. --- .github/workflows/migrations-check.yml | 2 +- .github/workflows/unit-tests-gh-hosted.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/migrations-check.yml b/.github/workflows/migrations-check.yml index 2d6b5e31003b..4c4027a93f80 100644 --- a/.github/workflows/migrations-check.yml +++ b/.github/workflows/migrations-check.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ ubuntu-20.04 ] - python-version: [ "3.10" ] + python-version: [ "3.11" ] # 'pinned' is used to install the latest patch version of Django # within the global constraint i.e. Django==4.2.8 in current case # because we have global constraint of Django<4.2 diff --git a/.github/workflows/unit-tests-gh-hosted.yml b/.github/workflows/unit-tests-gh-hosted.yml index 5012486c0978..0f7b5dbce515 100644 --- a/.github/workflows/unit-tests-gh-hosted.yml +++ b/.github/workflows/unit-tests-gh-hosted.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.10' ] + python-version: [ '3.11' ] django-version: - "pinned" # When updating the shards, remember to make the same changes in @@ -83,7 +83,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: [ '3.10' ] + python-version: [ '3.11' ] django-version: - "pinned" steps: From 11e1adc16009300ff7a6d21d3f66a3c29d675325 Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Wed, 7 Feb 2024 15:10:25 +0500 Subject: [PATCH 2/5] chore: python 3.11 testing. --- requirements/edx-sandbox/py38.txt | 2 +- requirements/edx/base.txt | 2 +- requirements/edx/development.txt | 2 +- requirements/edx/doc.txt | 2 +- requirements/edx/testing.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements/edx-sandbox/py38.txt b/requirements/edx-sandbox/py38.txt index 8bcd7f605100..a552f6db4865 100644 --- a/requirements/edx-sandbox/py38.txt +++ b/requirements/edx-sandbox/py38.txt @@ -76,7 +76,7 @@ random2==1.0.2 # via -r requirements/edx-sandbox/py38.in regex==2023.12.25 # via nltk -scipy==1.7.3 +scipy==1.12.0 # via # -c requirements/edx-sandbox/../constraints.txt # -r requirements/edx-sandbox/py38.in diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index eda2ce44a518..96f3af8a315b 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -1029,7 +1029,7 @@ s3transfer==0.10.0 # via boto3 sailthru-client==2.2.3 # via edx-ace -scipy==1.7.3 +scipy==1.12.0 # via # -c requirements/edx/../constraints.txt # chem diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 502d12492e52..9d0962640327 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -1795,7 +1795,7 @@ sailthru-client==2.2.3 # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt # edx-ace -scipy==1.7.3 +scipy==1.12.0 # via # -c requirements/edx/../constraints.txt # -r requirements/edx/doc.txt diff --git a/requirements/edx/doc.txt b/requirements/edx/doc.txt index f85207bfa95d..13c2bcafbf4f 100644 --- a/requirements/edx/doc.txt +++ b/requirements/edx/doc.txt @@ -1226,7 +1226,7 @@ sailthru-client==2.2.3 # via # -r requirements/edx/base.txt # edx-ace -scipy==1.7.3 +scipy==1.12.0 # via # -c requirements/edx/../constraints.txt # -r requirements/edx/base.txt diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index db003eb00657..bdc1ded55c4b 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -1353,7 +1353,7 @@ sailthru-client==2.2.3 # via # -r requirements/edx/base.txt # edx-ace -scipy==1.7.3 +scipy==1.12.0 # via # -c requirements/edx/../constraints.txt # -r requirements/edx/base.txt From 2da3671adcf5b4dcb500912213e0c9ce83609e40 Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Wed, 7 Feb 2024 15:27:30 +0500 Subject: [PATCH 3/5] chore: python 3.11 testing. --- requirements/edx-sandbox/py38.txt | 2 +- requirements/edx/base.txt | 2 +- requirements/edx/development.txt | 2 +- requirements/edx/doc.txt | 2 +- requirements/edx/testing.txt | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/requirements/edx-sandbox/py38.txt b/requirements/edx-sandbox/py38.txt index a552f6db4865..2881f870832a 100644 --- a/requirements/edx-sandbox/py38.txt +++ b/requirements/edx-sandbox/py38.txt @@ -49,7 +49,7 @@ nltk==3.8.1 # via # -r requirements/edx-sandbox/py38.in # chem -numpy==1.22.4 +numpy==1.26.4 # via # chem # contourpy diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 96f3af8a315b..a0e4a06e89fe 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -740,7 +740,7 @@ nltk==3.8.1 # via chem nodeenv==1.8.0 # via -r requirements/edx/kernel.in -numpy==1.22.4 +numpy==1.26.4 # via # chem # openedx-calc diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 9d0962640327..5e6f75e3736e 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -1250,7 +1250,7 @@ nodeenv==1.8.0 # -r requirements/edx/assets.txt # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt -numpy==1.22.4 +numpy==1.26.4 # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt diff --git a/requirements/edx/doc.txt b/requirements/edx/doc.txt index 13c2bcafbf4f..6d28a30611a3 100644 --- a/requirements/edx/doc.txt +++ b/requirements/edx/doc.txt @@ -879,7 +879,7 @@ nltk==3.8.1 # chem nodeenv==1.8.0 # via -r requirements/edx/base.txt -numpy==1.22.4 +numpy==1.26.4 # via # -r requirements/edx/base.txt # chem diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index bdc1ded55c4b..70310e65eeb9 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -937,7 +937,7 @@ nltk==3.8.1 # chem nodeenv==1.8.0 # via -r requirements/edx/base.txt -numpy==1.22.4 +numpy==1.26.4 # via # -r requirements/edx/base.txt # chem From ed6d287a884152cb4464e1d079eb0d57e4e09ef9 Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Wed, 7 Feb 2024 19:35:25 +0500 Subject: [PATCH 4/5] chore: python 3.11 testing. --- requirements/edx-sandbox/py38.txt | 4 ++-- requirements/edx/base.txt | 4 ++-- requirements/edx/development.txt | 4 ++-- requirements/edx/doc.txt | 4 ++-- requirements/edx/testing.txt | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/requirements/edx-sandbox/py38.txt b/requirements/edx-sandbox/py38.txt index 2881f870832a..07fba86265a4 100644 --- a/requirements/edx-sandbox/py38.txt +++ b/requirements/edx-sandbox/py38.txt @@ -49,7 +49,7 @@ nltk==3.8.1 # via # -r requirements/edx-sandbox/py38.in # chem -numpy==1.26.4 +numpy # via # chem # contourpy @@ -76,7 +76,7 @@ random2==1.0.2 # via -r requirements/edx-sandbox/py38.in regex==2023.12.25 # via nltk -scipy==1.12.0 +scipy # via # -c requirements/edx-sandbox/../constraints.txt # -r requirements/edx-sandbox/py38.in diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index a0e4a06e89fe..c4cd257691c2 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -740,7 +740,7 @@ nltk==3.8.1 # via chem nodeenv==1.8.0 # via -r requirements/edx/kernel.in -numpy==1.26.4 +numpy # via # chem # openedx-calc @@ -1029,7 +1029,7 @@ s3transfer==0.10.0 # via boto3 sailthru-client==2.2.3 # via edx-ace -scipy==1.12.0 +scipy # via # -c requirements/edx/../constraints.txt # chem diff --git a/requirements/edx/development.txt b/requirements/edx/development.txt index 5e6f75e3736e..37d17074e496 100644 --- a/requirements/edx/development.txt +++ b/requirements/edx/development.txt @@ -1250,7 +1250,7 @@ nodeenv==1.8.0 # -r requirements/edx/assets.txt # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt -numpy==1.26.4 +numpy # via # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt @@ -1795,7 +1795,7 @@ sailthru-client==2.2.3 # -r requirements/edx/doc.txt # -r requirements/edx/testing.txt # edx-ace -scipy==1.12.0 +scipy # via # -c requirements/edx/../constraints.txt # -r requirements/edx/doc.txt diff --git a/requirements/edx/doc.txt b/requirements/edx/doc.txt index 6d28a30611a3..6df77fe71d8a 100644 --- a/requirements/edx/doc.txt +++ b/requirements/edx/doc.txt @@ -879,7 +879,7 @@ nltk==3.8.1 # chem nodeenv==1.8.0 # via -r requirements/edx/base.txt -numpy==1.26.4 +numpy # via # -r requirements/edx/base.txt # chem @@ -1226,7 +1226,7 @@ sailthru-client==2.2.3 # via # -r requirements/edx/base.txt # edx-ace -scipy==1.12.0 +scipy # via # -c requirements/edx/../constraints.txt # -r requirements/edx/base.txt diff --git a/requirements/edx/testing.txt b/requirements/edx/testing.txt index 70310e65eeb9..e0bd935f3965 100644 --- a/requirements/edx/testing.txt +++ b/requirements/edx/testing.txt @@ -937,7 +937,7 @@ nltk==3.8.1 # chem nodeenv==1.8.0 # via -r requirements/edx/base.txt -numpy==1.26.4 +numpy # via # -r requirements/edx/base.txt # chem @@ -1353,7 +1353,7 @@ sailthru-client==2.2.3 # via # -r requirements/edx/base.txt # edx-ace -scipy==1.12.0 +scipy # via # -c requirements/edx/../constraints.txt # -r requirements/edx/base.txt From 56af21452acf9b90521a4508eea6638b1fa1d775 Mon Sep 17 00:00:00 2001 From: awais qureshi Date: Mon, 12 Feb 2024 14:18:10 +0500 Subject: [PATCH 5/5] chore: python 3.11 testing. --- xmodule/tests/xml/factories.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmodule/tests/xml/factories.py b/xmodule/tests/xml/factories.py index 0c183ebd72a4..2e9824592318 100644 --- a/xmodule/tests/xml/factories.py +++ b/xmodule/tests/xml/factories.py @@ -58,7 +58,7 @@ def __repr__(self): # Extract all argument names used to construct XmlImportData objects, # so that the factory doesn't treat them as XML attributes -XML_IMPORT_ARGS = inspect.getargspec(XmlImportData.__init__).args # lint-amnesty, pylint: disable=deprecated-method +XML_IMPORT_ARGS = inspect.getfullargspec(XmlImportData.__init__).args # lint-amnesty, pylint: disable=deprecated-method class XmlImportFactory(Factory):