Skip to content

Commit 145ad15

Browse files
committed
Add workflow for deprecated python + remove 3.8 support
1 parent a7eb1f8 commit 145ad15

File tree

7 files changed

+57
-10
lines changed

7 files changed

+57
-10
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Deprecated Python CI
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 20 * * 3' # Every Wednesday at 20:00 UTC
7+
push:
8+
branches:
9+
- issue-2681-py38
10+
11+
jobs:
12+
tests:
13+
name: Test on Python ${{ matrix.python-version }} (deprecated)
14+
runs-on: ubuntu-latest
15+
continue-on-error: true
16+
strategy:
17+
fail-fast: false
18+
matrix:
19+
include:
20+
- python-version: '3.7'
21+
os: ubuntu-22.04
22+
- python-version: '3.8'
23+
os: ubuntu-latest
24+
25+
steps:
26+
- name: Check out repository
27+
uses: actions/checkout@v4
28+
29+
- name: Set up Python
30+
uses: actions/setup-python@v5
31+
with:
32+
python-version: ${{ matrix.python-version }}
33+
34+
- name: Upgrade pip
35+
run: python -m pip install --upgrade pip
36+
37+
- name: Relax requires-python lower bound for installation
38+
run: |
39+
sed -i.bak -E "s/requires-python = '>=3\.[0-9]+/requires-python = '>=${{ matrix.python-version }}/" pyproject.toml
40+
grep -n "requires-python" pyproject.toml
41+
42+
- name: Install package and test dependencies
43+
run: python -m pip install -e ".[test]"
44+
45+
- name: Run unit tests
46+
run: invoke unit
47+
- name: Run integration tests
48+
run: invoke integration

.github/workflows/dtypes_benchmark.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
15+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1616

1717
steps:
1818
- name: Checkout code

.github/workflows/install.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
fail-fast: true
1818
matrix:
19-
python_version: ["3.8", "3.13"]
19+
python_version: ["3.9", "3.13"]
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Set up python ${{ matrix.python_version }}

.github/workflows/integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18-
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
18+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1919
os: [ubuntu-latest, windows-latest]
2020
include:
2121
- os: macos-latest
22-
python-version: '3.8'
22+
python-version: '3.9'
2323
- os: macos-latest
2424
python-version: '3.13'
2525
steps:

.github/workflows/minimum.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18-
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
18+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1919
os: [ubuntu-latest, windows-latest]
2020
include:
2121
- os: macos-latest
22-
python-version: '3.8'
22+
python-version: '3.9'
2323
- os: macos-latest
2424
python-version: '3.13'
2525
steps:

.github/workflows/unit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ jobs:
1515
strategy:
1616
fail-fast: true
1717
matrix:
18-
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
18+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
1919
os: [ubuntu-latest, windows-latest]
2020
include:
2121
- os: macos-latest
22-
python-version: '3.8'
22+
python-version: '3.9'
2323
- os: macos-latest
2424
python-version: '3.13'
2525
steps:

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ classifiers = [
88
'License :: Free for non-commercial use',
99
'Natural Language :: English',
1010
'Programming Language :: Python :: 3',
11-
'Programming Language :: Python :: 3.8',
1211
'Programming Language :: Python :: 3.9',
1312
'Programming Language :: Python :: 3.10',
1413
'Programming Language :: Python :: 3.11',
@@ -19,7 +18,7 @@ classifiers = [
1918
keywords = ['sdv', 'synthetic-data', 'synhtetic-data-generation', 'timeseries', 'single-table', 'multi-table']
2019
dynamic = ['version']
2120
license = { text = 'BSL-1.1' }
22-
requires-python = '>=3.8,<3.14'
21+
requires-python = '>=3.9,<3.14'
2322
readme = 'README.md'
2423
dependencies = [
2524
'boto3>=1.28,<2.0.0',

0 commit comments

Comments
 (0)