Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:

jobs:
Docs:
uses: tskit-dev/.github/.github/workflows/docs.yml@v14
uses: tskit-dev/.github/.github/workflows/docs.yml@v15
with:
pyproject-directory: python
additional-apt-packages: doxygen
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ on:

jobs:
Lint:
uses: tskit-dev/.github/.github/workflows/lint.yml@v14
uses: tskit-dev/.github/.github/workflows/lint.yml@v15
with:
pyproject-directory: python
2 changes: 1 addition & 1 deletion .github/workflows/release-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.10.2"
version: "0.10.0"
- name: Install system deps
run: |
sudo apt-get update
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ jobs:

packaging:
name: Python packaging
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@v14
uses: tskit-dev/.github/.github/workflows/python-packaging.yml@v15
with:
pyproject-directory: python
cli-test-cmd: tskit --help

test-c:
name: C tests
uses: tskit-dev/.github/.github/workflows/c-tests.yml@v14
uses: tskit-dev/.github/.github/workflows/c-tests.yml@v15
with:
library-directory: c
secrets: inherit

test-python-c:
name: Python-C tests
uses: tskit-dev/.github/.github/workflows/python-c-tests.yml@v14
uses: tskit-dev/.github/.github/workflows/python-c-tests.yml@v15
with:
tests: python/tests/test_python_c.py python/tests/test_dict_encoding.py
pyproject-directory: python
Expand All @@ -36,7 +36,7 @@ jobs:

test:
name: Python
uses: tskit-dev/.github/.github/workflows/python-tests.yml@v14
uses: tskit-dev/.github/.github/workflows/python-tests.yml@v15
with:
os: ${{ matrix.os }}
python-version: ${{ matrix.python }}
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
uses: astral-sh/setup-uv@v6
with:
python-version: 3.11
version: "0.8.15"
version: "0.10.0"

- name: Install Python dependencies
working-directory: python
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.10.2"
version: "0.10.0"

- name: Install uv deps
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
build-wheels:
if: "!startsWith(github.ref, 'refs/tags/C_')"
uses: tskit-dev/.github/.github/workflows/build-wheels.yml@v14
uses: tskit-dev/.github/.github/workflows/build-wheels.yml@v15
with:
pyproject-directory: python

Expand Down
17 changes: 0 additions & 17 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -1171,23 +1171,6 @@ values that will be interpolated into both the `setup` and `code` strings.

The suite can be run for all released versions with the `run-for-all-releases.py` script.

## Python version support

:::{todo}
Document Python version support policy (see
[issue #3381](https://github.com/tskit-dev/tskit/issues/3381))
:::

To add or remove support for a given Python version we need to update
the following files:

- ``.github/workflows/tests.yml`` — update the Python version matrix
(we run two versions: oldest and newest supported).
- ``.github/workflows/wheels.yml`` — the shared `build-wheels` workflow
picks up versions from the matrix in `pyproject.toml` classifiers.
- ``python/pyproject.toml`` — update `requires-python` and the
`Programming Language :: Python :: 3.x` classifiers.

## Releasing a new version

See the [repo administration guide](https://github.com/tskit-dev/.github/blob/main/repo_administration.md)
Expand Down