Skip to content

Commit 277cb8e

Browse files
authored
dropping support for py3.8 (#1076)
2 parents 7d13919 + a7a23cc commit 277cb8e

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

.github/workflows/run-unittests-py39-py310.yml renamed to .github/workflows/run-unittests-py310-py311.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "[Py3.9-3.11] - All Unit Tests"
1+
name: "[Py3.10-3.11] - All Unit Tests"
22

33
on:
44
workflow_dispatch:
@@ -33,15 +33,14 @@ jobs:
3333
strategy:
3434
fail-fast: false
3535
matrix:
36-
python-version: ["3.9", "3.10", "3.11"]
36+
python-version: ["3.10", "3.11"]
3737
name: ["unitary", "slow_tests"]
3838
include:
3939
- name: "unitary"
4040
test-path: "tests/unitary"
4141
# `model` tests running in "slow_tests",
4242
# `feature_store` tests has its own test suite
43-
# `forecast` tests not supported in python 3.9,3.10 (automlx dependency). Tests are running in python3.8 test env, see run-unittests-py38-cov-report.yml
44-
# 'pii' tests run only with py3.8, 'datapane' library conflicts with pandas>2.2.0, which used in py3.9/3.10 setup
43+
# `forecast` tests not run in this suite
4544
# 'hpo' tests hangs if run together with all unitary tests. Tests running in separate command before running all unitary
4645
ignore-path: |
4746
--ignore tests/unitary/with_extras/model \

.github/workflows/run-unittests-py38-cov-report.yml renamed to .github/workflows/run-unittests-py39-cov-report.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: "[Py3.8][COV REPORT] - All Unit Tests"
1+
name: "[Py3.9][COV REPORT] - All Unit Tests"
22

33
on:
44
workflow_dispatch:
@@ -26,7 +26,7 @@ env:
2626

2727
jobs:
2828
test:
29-
name: python 3.8, ${{ matrix.name }}
29+
name: python 3.9, ${{ matrix.name }}
3030
runs-on: ubuntu-latest
3131
timeout-minutes: 90
3232

@@ -58,7 +58,7 @@ jobs:
5858

5959
- uses: actions/setup-python@v5
6060
with:
61-
python-version: "3.8"
61+
python-version: "3.9"
6262
cache: "pip"
6363
cache-dependency-path: |
6464
pyproject.toml
@@ -71,7 +71,7 @@ jobs:
7171
name: "Test env setup"
7272
timeout-minutes: 30
7373

74-
# Installing pii deps for python3.8 test setup only, it will not work with python3.9/3.10, because
74+
# Installing pii deps for python3.9 test setup only, it will not work with python3.9/3.10, because
7575
# 'datapane' library conflicts with pandas>2.2.0, which used in py3.9/3.10 setup
7676
- name: "Install PII dependencies"
7777
run: |

pyproject.toml

+5-9
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ classifiers = [
4545
"Intended Audience :: Developers",
4646
"License :: OSI Approved :: Universal Permissive License (UPL)",
4747
"Operating System :: OS Independent",
48-
"Programming Language :: Python :: 3.8",
4948
"Programming Language :: Python :: 3.9",
5049
"Programming Language :: Python :: 3.10",
5150
"Programming Language :: Python :: 3.11",
@@ -66,8 +65,7 @@ dependencies = [
6665
"numpy>=1.19.2,<2.0.0",
6766
"oci>=2.144.1",
6867
"ocifs>=1.1.3",
69-
"pandas>1.2.1; python_version<'3.9'", # starting pandas v2.1.0 requires-python = '>=3.9'
70-
"pandas>=2.2.0; python_version>='3.9'",
68+
"pandas>=2.2.0",
7169
"psutil>=5.7.2",
7270
"python_jsonschema_objects>=0.3.13",
7371
"requests",
@@ -145,7 +143,7 @@ torch = [
145143
"torchvision"
146144
]
147145
viz = [
148-
"bokeh>=3.0.0,<3.2.0", # starting 3.2.0 bokeh not supporting python3.8; relax after ADS will drop py3.8 support
146+
"bokeh",
149147
"folium>=0.12.1",
150148
"graphviz<0.17",
151149
"scipy>=1.5.4",
@@ -203,7 +201,7 @@ pii = [
203201
"scrubadub_spacy",
204202
"spacy-transformers==1.2.5",
205203
"spacy==3.6.1",
206-
"report-creator>=1.0.32",
204+
"report-creator>=1.0.37",
207205
]
208206
llm = ["langchain>=0.2", "langchain-community", "langchain_openai", "pydantic>=2,<3", "evaluate>=0.4.0"]
209207
aqua = ["jupyter_server"]
@@ -227,10 +225,8 @@ testsuite = [
227225
"pdfplumber",
228226
"py4j",
229227
"pyarrow>=15.0.0",
230-
"statsmodels; python_version=='3.8'",
231-
"statsmodels>=0.14.1; python_version>='3.9'", # cython3.0 compatibility added in v0.14.1
232-
"tables",
233-
"tables>3.9.0; python_version>='3.9'",
228+
"statsmodels>=0.14.1",
229+
"tables>3.9.0",
234230
"xlrd>=1.2.0",
235231
]
236232

0 commit comments

Comments
 (0)