Skip to content

Commit bc8d917

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

File tree

7 files changed

+58
-10
lines changed

7 files changed

+58
-10
lines changed
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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+
continue-on-error: true
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
include:
19+
- python-version: '3.7'
20+
os: ubuntu-22.04
21+
- python-version: '3.8'
22+
os: ubuntu-latest
23+
24+
runs-on: ${{ matrix.os }}
25+
26+
steps:
27+
- name: Check out repository
28+
uses: actions/checkout@v4
29+
30+
- name: Set up Python
31+
uses: actions/setup-python@v5
32+
with:
33+
python-version: ${{ matrix.python-version }}
34+
35+
- name: Upgrade pip
36+
run: python -m pip install --upgrade pip
37+
38+
- name: Relax requires-python lower bound for installation
39+
run: |
40+
sed -i.bak -E "s/requires-python = '>=3\.[0-9]+/requires-python = '>=${{ matrix.python-version }}/" pyproject.toml
41+
grep -n "requires-python" pyproject.toml
42+
43+
- name: Install package and test dependencies
44+
run: python -m pip install -e ".[test]"
45+
46+
- name: Run unit tests
47+
run: invoke unit
48+
- name: Run integration tests
49+
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)