Skip to content

Commit a2f4fd9

Browse files
committed
ODSC-54710. Support Python versions up to 3.12
- add comments to describe why library version updated or fixed
1 parent d85e238 commit a2f4fd9

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

.github/workflows/run-unittests-default_setup.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "[Py3.8-3.12] tests/unitary/default_setup/**"
1+
name: "[Py3.8-3.12] - Default Tests"
22

33
on:
44
workflow_dispatch:
@@ -27,7 +27,7 @@ jobs:
2727
strategy:
2828
fail-fast: false
2929
matrix:
30-
python-version: ["3.12"]
30+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
3131

3232
steps:
3333
- uses: actions/checkout@v4

.github/workflows/run-unittests-py38-cov-report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "[Py3.8][COV REPORT] tests/unitary/**"
1+
name: "[Py3.8][COV REPORT] - All Unit Tests"
22

33
on:
44
workflow_dispatch:

.github/workflows/run-unittests-py39-py310.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "[Py3.9-3.12] - tests/unitary/**"
1+
name: "[Py3.9-3.12] - All Unit Tests"
22

33
on:
44
workflow_dispatch:
@@ -29,11 +29,10 @@ jobs:
2929
fail-fast: false
3030
matrix:
3131
# dask, which is used for tests and some use-cases incompatible with latest py3.11.9, py3.12.3 (https://github.com/dask/dask/issues/11038)
32-
# to fix issues with dask, set python to "3.11.8", "3.12.2". Relax it to "3.11", "3.12" after issue with dask resolved
33-
python-version: ["3.11.8", "3.12.2"]
34-
name: ["unitary",
35-
# "slow_tests"
36-
]
32+
# To fix issues with dask, set python to "3.11.8", "3.12.2". Relax it to "3.11", "3.12" after issue with dask resolved.
33+
# To relax python to "3.11", "3.12" may need to relax dask. But oci-cli depends on click==8.0.4, dask>2023.10.1 depends on "click>=8.1".
34+
python-version: ["3.9", "3.10", "3.11.8", "3.12.2"]
35+
name: ["unitary", "slow_tests"]
3736
include:
3837
- name: "unitary"
3938
test-path: "tests/unitary"
@@ -48,8 +47,8 @@ jobs:
4847
--ignore tests/unitary/with_extras/operator/forecast \
4948
--ignore tests/unitary/with_extras/operator/pii \
5049
--ignore tests/unitary/with_extras/hpo
51-
# - name: "slow_tests"
52-
# test-path: "tests/unitary/with_extras/model"
50+
- name: "slow_tests"
51+
test-path: "tests/unitary/with_extras/model"
5352

5453
steps:
5554
- uses: actions/checkout@v4

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ testsuite = [
202202
"dask==2023.10.1; python_version>='3.9'", # oci-cli depends on click==8.0.4, dask>2023.10.1 depends on "click>=8.1"
203203
"dask==2023.5.0; python_version=='3.8'",
204204
"faiss-cpu",
205-
"fastparquet==2024.2.0", # set version to avoid backtracking
205+
"fastparquet==2024.2.0", # set version to avoid backtracking, change it to fresher version from time to time
206206
"imbalanced-learn",
207207
"lxml",
208208
"mysql-connector-python",

0 commit comments

Comments
 (0)