Skip to content

Commit 134ac7e

Browse files
committed
Remove circleCI
1 parent b5e86aa commit 134ac7e

File tree

6 files changed

+81
-65
lines changed

6 files changed

+81
-65
lines changed

.circleci/config.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

.github/workflows/tests.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
merge_group:
6+
push:
7+
branches: [main, test]
8+
9+
jobs:
10+
pre-commit:
11+
name: Lint
12+
runs-on: ubuntu-24.04
13+
steps:
14+
- name: Cancel Previous Runs
15+
uses: styfle/cancel-workflow-action@0.12.1
16+
with:
17+
access_token: ${{ github.token }}
18+
- uses: actions/checkout@v4.2.2
19+
- uses: actions/setup-python@v5.4.0
20+
with:
21+
python-version: '3.12'
22+
- uses: pre-commit/action@v3.0.1
23+
24+
test:
25+
name: Python
26+
runs-on: ${{ matrix.os }}
27+
strategy:
28+
fail-fast: false
29+
matrix:
30+
python: [ "3.10", 3.13 ]
31+
os: [ macos-latest, ubuntu-24.04, windows-latest ]
32+
defaults:
33+
run:
34+
shell: bash
35+
steps:
36+
- name: Cancel Previous Runs
37+
uses: styfle/cancel-workflow-action@0.12.1
38+
with:
39+
access_token: ${{ github.token }}
40+
41+
- name: Checkout
42+
uses: actions/checkout@v4.2.2
43+
44+
- name: Install uv and set the python version
45+
uses: astral-sh/setup-uv@v6
46+
with:
47+
python-version: ${{ matrix.python }}
48+
version: "0.8.15"
49+
50+
- name: Install dependencies
51+
run: |
52+
uv venv
53+
uv pip install -r pyproject.toml --extra test
54+
55+
- name: Run tests
56+
run: |
57+
NUMBA_DISABLE_JIT=1 uv run --no-sync python -m pytest -vv --cov=tsdate --cov-report=xml --cov-branch -n0 tests
58+
59+
- name: Upload coverage to Codecov
60+
uses: codecov/codecov-action@v5.4.0
61+
with:
62+
token: ${{ secrets.CODECOV_TOKEN }}
63+
fail_ci_if_error: false
64+
flags: python-tests
65+
name: codecov-umbrella
66+
verbose: true
67+
68+
- name: Build distribution
69+
run: |
70+
uv run --no-sync python -m build

.github/workflows/wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
with:
2020
submodules: true
2121

22-
- name: Set up Python 3.10
22+
- name: Set up Python
2323
uses: actions/setup-python@v5.4.0
2424
with:
2525
python-version: "3.10"
@@ -42,7 +42,7 @@ jobs:
4242
runs-on: macos-13
4343
strategy:
4444
matrix:
45-
python: [3.8, 3.8, 3.9, "3.10", 3.11]
45+
python: ["3.10", 3.13]
4646
steps:
4747
- name: Download wheels
4848
uses: actions/download-artifact@v4.2.0
@@ -67,7 +67,7 @@ jobs:
6767
runs-on: windows-latest
6868
strategy:
6969
matrix:
70-
python: [3.8, 3.9, "3.10", 3.11]
70+
python: ["3.10", 3.13]
7171
wordsize: [64]
7272
steps:
7373
- name: Download wheels
@@ -93,7 +93,7 @@ jobs:
9393
needs: ['manylinux']
9494
strategy:
9595
matrix:
96-
python: [3.8, 3.9, "3.10", 3.11]
96+
python: ["3.10", 3.13]
9797
steps:
9898
- name: Download wheels
9999
uses: actions/download-artifact@v4.2.0

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [0.2.4] - 2025-XX-XX
44

5+
- Add support for Python 3.13, minimum version is now 3.10.
6+
57

68
## [0.2.3] - 2025-06-07
79

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@ classifiers = [
2323
"Intended Audience :: Developers",
2424
"License :: OSI Approved :: MIT License",
2525
"Programming Language :: Python :: 3",
26-
"Programming Language :: Python :: 3.8",
27-
"Programming Language :: Python :: 3.9",
2826
"Programming Language :: Python :: 3.10",
2927
"Programming Language :: Python :: 3.11",
3028
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.13",
3130
]
3231
dependencies = [
3332
"tskit>=0.6.0",
@@ -46,6 +45,7 @@ text = "MIT"
4645

4746
[project.optional-dependencies]
4847
test = [
48+
"numcodecs>=0.6,<0.15.1", #Pinned due to https://github.com/zarr-developers/numcodecs/issues/733
4949
"pytest==8.4.2",
5050
"pytest-xdist==3.8.0",
5151
"pytest-cov==6.3.0",

setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ project_urls =
1515
classifiers =
1616
Programming Language :: Python
1717
Programming Language :: Python :: 3
18-
Programming Language :: Python :: 3.8
19-
Programming Language :: Python :: 3.9
2018
Programming Language :: Python :: 3.10
2119
Programming Language :: Python :: 3.11
20+
Programming Language :: Python :: 3.12
21+
Programming Language :: Python :: 3.13
2222
Programming Language :: Python :: 3 :: Only
2323
License :: OSI Approved :: MIT License
2424
Development Status :: 3 - Alpha
@@ -44,7 +44,7 @@ platforms =
4444

4545
[options]
4646
packages = tsdate
47-
python_requires = >=3.8
47+
python_requires = >=3.10
4848
include_package_data = True
4949
install_requires =
5050
numpy

0 commit comments

Comments
 (0)