Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Enable testing with Python 3.10 #1132

Merged
merged 10 commits into from Jul 11, 2022
Merged
1 change: 1 addition & 0 deletions .github/assistant.py
Expand Up @@ -29,6 +29,7 @@
LUT_PYTHON_TORCH = {
"3.8": "1.4",
"3.9": "1.7.1",
"3.10": "1.11",
}
_path = lambda *ds: os.path.join(_PATH_ROOT, *ds)
REQUIREMENTS_FILES = tuple(glob.glob(_path("requirements", "*.txt")) + [_path("requirements.txt")])
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_docker.yml
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.9"]
python_version: ["3.10"]
Borda marked this conversation as resolved.
Show resolved Hide resolved
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_integrate.yml
Expand Up @@ -25,11 +25,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, macOS-10.15, windows-2019]
python-version: [3.7, 3.9]
python-version: ['3.7', '3.10']
requires: ['oldest', 'latest']
exclude:
- {python-version: 3.7, requires: 'latest'}
- {python-version: 3.9, requires: 'oldest'}
- {python-version: '3.7', requires: 'latest'}
- {python-version: '3.10', requires: 'oldest'}
env:
PYTEST_ARTEFACT: test-results-${{ matrix.os }}-py${{ matrix.python-version }}-${{ matrix.requires }}.xml
PYTORCH_URL: https://download.pytorch.org/whl/cpu/torch_stable.html
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/ci_test-conda.yml
Expand Up @@ -29,9 +29,12 @@ jobs:
python-version: ["3.8"]
pytorch-version: ["1.4", "1.5", "1.6", "1.7", "1.8", "1.9", "1.10", "1.11"]
include:
- {python-version: 3.7, pytorch-version: '1.3'}
- {python-version: 3.9, pytorch-version: '1.12'}
- {python-version: 3.9, pytorch-version: '1.13'}
- {python-version: '3.7', pytorch-version: '1.3'}
- {python-version: '3.9', pytorch-version: '1.12'}
- {python-version: '3.9', pytorch-version: '1.13'}
- {python-version: '3.10', pytorch-version: '1.11'}
- {python-version: '3.10', pytorch-version: '1.12'}
- {python-version: '3.10', pytorch-version: '1.13'}
env:
PYTEST_ARTEFACT: test-conda-py${{ matrix.python-version }}-pt${{ matrix.pytorch-version }}.xml

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci_test-full.yml
Expand Up @@ -28,11 +28,11 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, macOS-10.15, windows-2019]
python-version: [3.7, 3.8, 3.9]
python-version: ['3.7', '3.8', '3.9', '3.10']
requires: ['oldest', 'latest']
exclude:
- {python-version: 3.7, requires: 'latest'}
- {python-version: 3.9, requires: 'oldest'}
- {python-version: '3.7', requires: 'latest'}
- {python-version: '3.10', requires: 'oldest'}
env:
PYTEST_ARTEFACT: test-results-${{ matrix.os }}-py${{ matrix.python-version }}-${{ matrix.requires }}.xml
PYTORCH_URL: https://download.pytorch.org/whl/cpu/torch_stable.html
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docker.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python_version: ["3.9"]
python_version: ["3.10"]
Borda marked this conversation as resolved.
Show resolved Hide resolved
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
1 change: 1 addition & 0 deletions setup.py
Expand Up @@ -159,5 +159,6 @@ def _prepare_extras(skip_files: Tuple[str] = ("devel.txt",)):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)