Skip to content

Commit 35aba77

Browse files
authored
[Feature] Enable 3.12 tests. (#48)
Summary: Enable 3.12 tests. Test Plan: All tests Reviewed-by: - Issue: -
1 parent 9717523 commit 35aba77

3 files changed

Lines changed: 7 additions & 16 deletions

File tree

.github/workflows/check.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,7 @@ jobs:
1818
matrix:
1919
# for actions/setup-python:
2020
# https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json
21-
python:
22-
- "3.8"
23-
- "3.9"
24-
- "3.10"
25-
- "3.11"
26-
- "3.12.0-beta - 3.12"
21+
python: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
2722
os: [ ubuntu-latest, macOS-latest ]
2823

2924
steps:
@@ -44,11 +39,7 @@ jobs:
4439
strategy:
4540
matrix:
4641
os: [ ubuntu-latest, macOS-latest ]
47-
conda-py:
48-
- "3.8"
49-
- "3.9"
50-
- "3.10"
51-
- "3.11"
42+
conda-py: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]
5243

5344
steps:
5445
- uses: actions/checkout@v4

.github/workflows/nightly.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: check
1+
name: nightly
22

33
on:
44
push:
@@ -12,11 +12,12 @@ on:
1212

1313
jobs:
1414
test-nightly:
15+
if: false
1516
runs-on: ubuntu-latest
1617
strategy:
1718
fail-fast: false
1819
matrix:
19-
python: [ "3.12-dev" ]
20+
python: [ "3.13-dev" ]
2021

2122
steps:
2223
- uses: actions/checkout@v4

noxfile.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111

1212
nox.options.default_venv_backend = 'conda'
1313

14-
SUPPORTED_PYTHONS = ['3.8', '3.9', '3.10', '3.11']
14+
SUPPORTED_PYTHONS = ['3.8', '3.9', '3.10', '3.11', '3.12']
1515

1616
OS = platform.system()
1717
RELEASE = platform.release()
1818
PYCDS_ROOT = os.path.dirname(__file__)
1919

20-
DISABLE_SITE_HOOK_KEY = 'DISABLE_SITE_HOOK'
2120
CDS_PYPERFORMANCE = 'git+https://github.com/oraluben/pyperformance.git@cds'
2221

2322

@@ -93,7 +92,7 @@ def tests_multiple_conda(session: nox.Session):
9392
Package('pyparsing'),
9493
Package('sqlalchemy'),
9594
Package('werkzeug'),
96-
Package('aiohttp'),
95+
Package('aiohttp', skip=lambda _py: _py in ('3.12',)),
9796
Package('google-cloud-storage', module='google.cloud.storage'),
9897
Package('flask'),
9998
Package('azure-core', module='azure.core'),

0 commit comments

Comments
 (0)