Merge pull request #34374 from openedx/feanil/test_on_3.11
feanil/test on 3.11
This commit is contained in:
2
.github/workflows/ci-static-analysis.yml
vendored
2
.github/workflows/ci-static-analysis.yml
vendored
@@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: ['3.8']
|
||||
python-version: ['3.8', '3.11']
|
||||
os: ['ubuntu-20.04']
|
||||
|
||||
steps:
|
||||
|
||||
2
.github/workflows/js-tests.yml
vendored
2
.github/workflows/js-tests.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
matrix:
|
||||
os: [ ubuntu-20.04 ]
|
||||
node-version: [ 18 ]
|
||||
python-version: [ 3.8 ]
|
||||
python-version: [ '3.8', '3.11' ]
|
||||
|
||||
steps:
|
||||
|
||||
|
||||
2
.github/workflows/lint-imports.yml
vendored
2
.github/workflows/lint-imports.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.8'
|
||||
python-version: '3.11'
|
||||
|
||||
- name: Install system requirements
|
||||
run: sudo apt update && sudo apt install -y libxmlsec1-dev
|
||||
|
||||
6
.github/workflows/migrations-check.yml
vendored
6
.github/workflows/migrations-check.yml
vendored
@@ -14,10 +14,10 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-20.04 ]
|
||||
python-version: [ 3.8 ]
|
||||
python-version: [ '3.8', '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
|
||||
# because we have global constraint of Django<4.2
|
||||
django-version: ["pinned"]
|
||||
mongo-version: ["4", "7"]
|
||||
mysql-version: ["8"]
|
||||
@@ -115,7 +115,7 @@ jobs:
|
||||
./manage.py lms migrate
|
||||
echo "Running the CMS migrations."
|
||||
./manage.py cms migrate
|
||||
|
||||
|
||||
# This job aggregates test results. It's the required check for branch protection.
|
||||
# https://github.com/marketplace/actions/alls-green#why
|
||||
# https://github.com/orgs/community/discussions/33579
|
||||
|
||||
2
.github/workflows/pylint-checks.yml
vendored
2
.github/workflows/pylint-checks.yml
vendored
@@ -39,7 +39,7 @@ jobs:
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.8
|
||||
python-version: 3.11
|
||||
|
||||
- name: Get pip cache dir
|
||||
id: pip-cache-dir
|
||||
|
||||
2
.github/workflows/quality-checks.yml
vendored
2
.github/workflows/quality-checks.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-20.04 ]
|
||||
python-version: [ 3.8 ]
|
||||
python-version: [ '3.8', '3.11' ]
|
||||
node-version: [ 18 ]
|
||||
|
||||
steps:
|
||||
|
||||
2
.github/workflows/semgrep.yml
vendored
2
.github/workflows/semgrep.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ "ubuntu-20.04" ]
|
||||
python-version: [ "3.8" ]
|
||||
python-version: [ "3.8", '3.11' ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
2
.github/workflows/static-assets-check.yml
vendored
2
.github/workflows/static-assets-check.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ ubuntu-20.04 ]
|
||||
python-version: [ 3.8 ]
|
||||
python-version: [ '3.8', '3.11' ]
|
||||
node-version: [ 18 ]
|
||||
npm-version: [ 10.5.x ]
|
||||
mongo-version: ["4.4", "7.0"]
|
||||
|
||||
4
.github/workflows/unit-tests-gh-hosted.yml
vendored
4
.github/workflows/unit-tests-gh-hosted.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: [ '3.8' ]
|
||||
python-version: [ '3.8', '3.11' ]
|
||||
django-version:
|
||||
- "pinned"
|
||||
# When updating the shards, remember to make the same changes in
|
||||
@@ -87,7 +87,7 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [ '3.8' ]
|
||||
python-version: [ '3.11' ]
|
||||
django-version:
|
||||
- "pinned"
|
||||
steps:
|
||||
|
||||
12
.github/workflows/unit-tests.yml
vendored
12
.github/workflows/unit-tests.yml
vendored
@@ -15,6 +15,7 @@ jobs:
|
||||
matrix:
|
||||
python-version:
|
||||
- "3.8"
|
||||
- "3.11"
|
||||
django-version:
|
||||
- "pinned"
|
||||
# When updating the shards, remember to make the same changes in
|
||||
@@ -56,15 +57,20 @@ jobs:
|
||||
sudo apt-get update && sudo apt-get install -y mongodb-org="${{ matrix.mongo-version }}.*"
|
||||
fi
|
||||
|
||||
- name: checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: start mongod server for tests
|
||||
run: |
|
||||
sudo mkdir -p /data/db
|
||||
sudo chmod -R a+rw /data/db
|
||||
mongod &
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: install requirements
|
||||
run: |
|
||||
sudo make test-requirements
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [ '3.8', '3.12' ]
|
||||
python-version: [ '3.8', '3.11', '3.12' ]
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
python-version: [ '3.8' ]
|
||||
python-version: [ '3.8', '3.11', '3.12']
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
|
||||
@@ -48,9 +48,6 @@ django-webpack-loader==0.7.0
|
||||
# version of py2neo will work with Neo4j 3.5.
|
||||
py2neo<2022
|
||||
|
||||
# scipy version 1.8 requires numpy>=1.17.3, we've pinned numpy to <1.17.0 in requirements/edx-sandbox/py38.in
|
||||
scipy<1.8.0
|
||||
|
||||
# edx-enterprise, snowflake-connector-python require charset-normalizer==2.0.0
|
||||
# Can be removed once snowflake-connector-python>2.7.9 is released with the fix.
|
||||
charset-normalizer<2.1.0
|
||||
@@ -133,3 +130,6 @@ moto<5.0
|
||||
# path==16.12.0 breaks the unit test collections check
|
||||
# needs to be investigated and fixed separately
|
||||
path<16.12.0
|
||||
|
||||
# Temporary to Support the python 3.11 Upgrade
|
||||
backports.zoneinfo;python_version<"3.9" # Newer versions have zoneinfo available in the standard library
|
||||
|
||||
@@ -49,7 +49,7 @@ nltk==3.8.1
|
||||
# via
|
||||
# -r requirements/edx-sandbox/base.in
|
||||
# chem
|
||||
numpy==1.22.4
|
||||
numpy==1.24.4
|
||||
# via
|
||||
# chem
|
||||
# contourpy
|
||||
@@ -76,9 +76,8 @@ random2==1.0.2
|
||||
# via -r requirements/edx-sandbox/base.in
|
||||
regex==2024.4.16
|
||||
# via nltk
|
||||
scipy==1.7.3
|
||||
scipy==1.10.1
|
||||
# via
|
||||
# -c requirements/edx-sandbox/../constraints.txt
|
||||
# -r requirements/edx-sandbox/base.in
|
||||
# chem
|
||||
# openedx-calc
|
||||
|
||||
@@ -55,8 +55,9 @@ babel==2.14.0
|
||||
# enmerkar-underscore
|
||||
backoff==1.10.0
|
||||
# via analytics-python
|
||||
backports-zoneinfo[tzdata]==0.2.1
|
||||
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# celery
|
||||
# django
|
||||
# edx-milestones
|
||||
@@ -747,7 +748,7 @@ nltk==3.8.1
|
||||
# via chem
|
||||
nodeenv==1.8.0
|
||||
# via -r requirements/edx/kernel.in
|
||||
numpy==1.22.4
|
||||
numpy==1.24.4
|
||||
# via
|
||||
# chem
|
||||
# openedx-calc
|
||||
@@ -1045,9 +1046,8 @@ s3transfer==0.10.0
|
||||
# via boto3
|
||||
sailthru-client==2.2.3
|
||||
# via edx-ace
|
||||
scipy==1.7.3
|
||||
scipy==1.10.1
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# chem
|
||||
# openedx-calc
|
||||
semantic-version==2.10.0
|
||||
|
||||
@@ -111,8 +111,9 @@ backoff==1.10.0
|
||||
# -r requirements/edx/doc.txt
|
||||
# -r requirements/edx/testing.txt
|
||||
# analytics-python
|
||||
backports-zoneinfo[tzdata]==0.2.1
|
||||
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/doc.txt
|
||||
# -r requirements/edx/testing.txt
|
||||
# celery
|
||||
@@ -1246,7 +1247,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.24.4
|
||||
# via
|
||||
# -r requirements/edx/doc.txt
|
||||
# -r requirements/edx/testing.txt
|
||||
@@ -1797,9 +1798,8 @@ sailthru-client==2.2.3
|
||||
# -r requirements/edx/doc.txt
|
||||
# -r requirements/edx/testing.txt
|
||||
# edx-ace
|
||||
scipy==1.7.3
|
||||
scipy==1.10.1
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/doc.txt
|
||||
# -r requirements/edx/testing.txt
|
||||
# chem
|
||||
|
||||
@@ -78,8 +78,9 @@ backoff==1.10.0
|
||||
# via
|
||||
# -r requirements/edx/base.txt
|
||||
# analytics-python
|
||||
backports-zoneinfo[tzdata]==0.2.1
|
||||
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
# celery
|
||||
# django
|
||||
@@ -880,7 +881,7 @@ nltk==3.8.1
|
||||
# chem
|
||||
nodeenv==1.8.0
|
||||
# via -r requirements/edx/base.txt
|
||||
numpy==1.22.4
|
||||
numpy==1.24.4
|
||||
# via
|
||||
# -r requirements/edx/base.txt
|
||||
# chem
|
||||
@@ -1239,9 +1240,8 @@ sailthru-client==2.2.3
|
||||
# via
|
||||
# -r requirements/edx/base.txt
|
||||
# edx-ace
|
||||
scipy==1.7.3
|
||||
scipy==1.10.1
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
# chem
|
||||
# openedx-calc
|
||||
|
||||
@@ -78,8 +78,9 @@ backoff==1.10.0
|
||||
# via
|
||||
# -r requirements/edx/base.txt
|
||||
# analytics-python
|
||||
backports-zoneinfo[tzdata]==0.2.1
|
||||
backports-zoneinfo[tzdata]==0.2.1 ; python_version < "3.9"
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
# celery
|
||||
# django
|
||||
@@ -935,7 +936,7 @@ nltk==3.8.1
|
||||
# chem
|
||||
nodeenv==1.8.0
|
||||
# via -r requirements/edx/base.txt
|
||||
numpy==1.22.4
|
||||
numpy==1.24.4
|
||||
# via
|
||||
# -r requirements/edx/base.txt
|
||||
# chem
|
||||
@@ -1360,9 +1361,8 @@ sailthru-client==2.2.3
|
||||
# via
|
||||
# -r requirements/edx/base.txt
|
||||
# edx-ace
|
||||
scipy==1.7.3
|
||||
scipy==1.10.1
|
||||
# via
|
||||
# -c requirements/edx/../constraints.txt
|
||||
# -r requirements/edx/base.txt
|
||||
# chem
|
||||
# openedx-calc
|
||||
|
||||
@@ -10,8 +10,9 @@ attrs==23.2.0
|
||||
# via zeep
|
||||
backoff==2.2.1
|
||||
# via -r scripts/user_retirement/requirements/base.in
|
||||
backports-zoneinfo==0.2.1
|
||||
backports-zoneinfo==0.2.1 ; python_version < "3.9"
|
||||
# via
|
||||
# -c scripts/user_retirement/requirements/../../../requirements/constraints.txt
|
||||
# django
|
||||
# pendulum
|
||||
boto3==1.34.26
|
||||
|
||||
@@ -14,7 +14,7 @@ attrs==23.2.0
|
||||
# zeep
|
||||
backoff==2.2.1
|
||||
# via -r scripts/user_retirement/requirements/base.txt
|
||||
backports-zoneinfo==0.2.1
|
||||
backports-zoneinfo==0.2.1 ; python_version < "3.9"
|
||||
# via
|
||||
# -r scripts/user_retirement/requirements/base.txt
|
||||
# django
|
||||
|
||||
Reference in New Issue
Block a user