Skip to content

Commit 2e1f481

Browse files
authored
run test and docs CI on 3.14 (#595)
Update to support 3.14 * run tests and docs CI on 3.14 * Minimial changes to pinnings that require minimal code/markup changes
1 parent 1689034 commit 2e1f481

File tree

5 files changed

+142
-71
lines changed

5 files changed

+142
-71
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
fetch-depth: 0
2121
- uses: actions/setup-python@v5
2222
with:
23-
python-version: "3.12"
23+
python-version: "3.14"
2424

2525
- name: Install the latest version of uv
2626
uses: astral-sh/setup-uv@v7

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
fail-fast: false
2626
matrix:
2727
os: [ubuntu-24.04, windows-2022, macos-14]
28-
python-version: ["3.12"]
28+
python-version: ["3.12", "3.14"]
2929
env:
3030
OS: ${{ matrix.os }}
3131
PYTHON: ${{ matrix.python-version }}

docs/introduction.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ set_matplotlib_formats("svg")
2323
# Introduction
2424

2525
The `demes` Python package provides an API for defining, parsing, and sharing
26-
[Demes](spec:sec_intro) demographic models. Applications can use
27-
`demes` to parse human-readable [Demes YAML files](spec:sec_tutorial)
26+
[Demes](sec_intro) demographic models. Applications can use
27+
`demes` to parse human-readable [Demes YAML files](sec_tutorial)
2828
into fully-resolved demographic models. In addition, `demes` provides
2929
convenient data structures to simplify manipulation of demographic models.
3030
If you find an error in the documentation or a bug in the software,
@@ -43,7 +43,7 @@ simulation software has its own syntax and style for defining the demography.
4343
Learning curves for new software can be steep and mistakes are easy to make,
4444
especially for complex demographic scenarios.
4545

46-
The [Demes Specification](spec:sec_intro) aims to make defining demographic
46+
The [Demes Specification](sec_intro) aims to make defining demographic
4747
models more intuitive, less prone to error or ambiguity, and readily
4848
interchangeable between simulation platforms.
4949
Demographic models, which define populations (or _demes_), their properties,
@@ -54,7 +54,7 @@ and relationships between them, are by convention written as a
5454

5555
The following YAML file implements a two-epoch demographic
5656
history for a single deme, where the deme doubles in size 100 generations ago.
57-
See the [Demes tutorial](spec:sec_tutorial) for a detailed introduction to
57+
See the [Demes tutorial](sec_tutorial) for a detailed introduction to
5858
writing Demes YAML files.
5959

6060
```{literalinclude} ../examples/two_epoch.yaml

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,13 @@ lint = [
5454

5555
docs = [
5656
"demesdraw",
57-
"jupyter-book==0.15.1",
57+
"jupyter-book<2",
5858
"piccolo_theme",
5959
"sphinx_issues",
6060
"sphinxcontrib-programoutput",
61-
# Below here are hacks to make the docs
62-
# build until we can deal w/updating
63-
# jupyter-book
64-
"ipython==8.29.0"
61+
# WARNING: ipython 9 removes functions
62+
# that the docs here and in demes-spec use
63+
"ipython<9"
6564
]
6665

6766
[tool.setuptools_scm]

0 commit comments

Comments
 (0)