Skip to content

Commit

Permalink
support python 3.13
Browse files Browse the repository at this point in the history
  • Loading branch information
rwedge committed Feb 11, 2025
1 parent 363d8bd commit 95940a9
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dtypes_benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

strategy:
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']

steps:
- name: Checkout code
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python_version: ["3.8", "3.12"]
python_version: ["3.8", "3.13"]
runs-on: ubuntu-latest
steps:
- name: Set up python ${{ matrix.python_version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.8'
- os: macos-latest
python-version: '3.12'
python-version: '3.13'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -40,7 +40,7 @@ jobs:
invoke integration
invoke benchmark-dtypes
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
name: Upload integration codecov report
uses: codecov/codecov-action@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/minimum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.8'
- os: macos-latest
python-version: '3.12'
python-version: '3.13'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12']
python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
os: [ubuntu-latest, windows-latest]
include:
- os: macos-latest
python-version: '3.8'
- os: macos-latest
python-version: '3.12'
python-version: '3.13'
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand All @@ -34,7 +34,7 @@ jobs:
python -m pip install invoke .[test]
- name: Run unit tests
run: invoke unit
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.12
- if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.13
name: Upload unit codecov report
uses: codecov/codecov-action@v4
with:
Expand Down
21 changes: 12 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ classifiers = [
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
]
keywords = ['sdv', 'synthetic-data', 'synhtetic-data-generation', 'timeseries', 'single-table', 'multi-table']
dynamic = ['version']
license = { text = 'BSL-1.1' }
requires-python = '>=3.8,<3.13'
requires-python = '>=3.8,<3.14'
readme = 'README.md'
dependencies = [
'boto3>=1.28,<2.0.0',
Expand All @@ -27,16 +28,18 @@ dependencies = [
'graphviz>=0.13.2',
"numpy>=1.21.0;python_version<'3.10'",
"numpy>=1.23.3;python_version>='3.10' and python_version<'3.12'",
"numpy>=1.26.0;python_version>='3.12'",
"numpy>=1.26.0;python_version>='3.12' and python_version<'3.13'",
"numpy>=2.1.0;python_version>='3.13'",
"pandas>=1.4.0;python_version<'3.11'",
"pandas>=1.5.0;python_version>='3.11' and python_version<'3.12'",
"pandas>=2.1.1;python_version>='3.12'",
"pandas>=2.1.1;python_version>='3.12' and python_version<'3.13'",
"pandas>=2.2.3;python_version>='3.13'",
'tqdm>=4.29',
'copulas>=0.12.0',
'ctgan>=0.10.2',
'deepecho>=0.6.1',
'rdt>=1.13.2',
'sdmetrics>=0.17.0',
'copulas>=0.12.1',
'ctgan @ git+https://github.com/sdv-dev/CTGAN@issue-411-py313-support',
'deepecho @ git+https://github.com/sdv-dev/DeepEcho@issue-136-py313-support',
'rdt @ git+https://github.com/sdv-dev/RDT@main',
'sdmetrics @ git+https://github.com/sdv-dev/SDMetrics@issue-645-support-py313',
'platformdirs>=4.0',
'pyyaml>=6.0.1',
]
Expand Down Expand Up @@ -70,7 +73,7 @@ test = [
'gitpython',
'slack-sdk>=3.23,<4.0',
]
pomegranate = ['pomegranate>=0.14.3,<0.15']
pomegranate = ['pomegranate>=0.15,<1']
dev = [
'sdv[test]',

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-lint, py3{8,9,10,11,12}-{readme,pytest,minimum}
envlist = py38-lint, py3{8,9,10,11,12,13}-{readme,pytest,minimum}

[testenv]
skipsdist = false
Expand Down

0 comments on commit 95940a9

Please sign in to comment.