From f1e530f7d97713d63188f35a137646c6ac87fe0c Mon Sep 17 00:00:00 2001 From: William Colgan Date: Wed, 28 Jan 2026 11:33:53 -0500 Subject: [PATCH 1/5] Refactor continue-on-error logic in test workflow Updated continue-on-error condition for job handling. --- .github/workflows/test.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bf05b63..327964b 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -58,8 +58,7 @@ jobs: name: ${{ matrix.env.label }} runs-on: ${{ matrix.os }} - continue-on-error: ${{ contains(matrix.env.name, 'pre') }} # make "all-green" pass even if pre-release job fails - + continue-on-error: ${{ matrix.env.allow_failure }} steps: From a661cfd03b1dfe4f56b2415cf8d5d47f2ffd7dee Mon Sep 17 00:00:00 2001 From: colganwi Date: Wed, 28 Jan 2026 12:17:56 -0500 Subject: [PATCH 2/5] fixed readthedocs --- pyproject.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e2de2dc..093af12 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,10 +36,11 @@ dependencies = [ "session-info", "treedata>=0.2.2", ] -# https://docs.pypi.org/project_metadata/#project-urls -urls.Documentation = "https://pycea.readthedocs.io/" -urls.Homepage = "https://github.com/colganwi/pycea" -urls.Source = "https://github.com/colganwi/pycea" + +[project.urls] +Documentation = "https://pycea.readthedocs.io/" +Homepage = "https://github.com/colganwi/pycea" +Source = "https://github.com/colganwi/pycea" [dependency-groups] dev = [ @@ -71,7 +72,8 @@ installer = "uv" dependency-groups = [ "dev" ] [tool.hatch.envs.docs] -features = [ "doc" ] +installer = "uv" +dependency-groups = [ "doc" ] scripts.build = "sphinx-build -M html docs docs/_build {args}" scripts.open = "python -m webbrowser -t docs/_build/html/index.html" scripts.clean = "git clean -fdX -- {args:docs}" From 772d46143f18e47d197c6611d59b1309c1887653 Mon Sep 17 00:00:00 2001 From: colganwi Date: Wed, 28 Jan 2026 12:26:58 -0500 Subject: [PATCH 3/5] attempt 2 --- docs/conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 50e4d7b..d5c685d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,11 +17,11 @@ sys.path.insert(0, str(HERE / "extensions")) -# -- Project information -----------------------------------------------------co +# -- Project information ----------------------------------------------------- # NOTE: If you installed your project in editable mode, this might be stale. # If this is the case, reinstall it to refresh the metadata -info = metadata("pycea") +info = metadata("pycea-lineage") project = info["Name"] author = info["Author"] copyright = f"{datetime.now():%Y}, {author}." From 29d733d2cb3996c4a645c5da1a7f76d9db5d95c6 Mon Sep 17 00:00:00 2001 From: colganwi Date: Wed, 28 Jan 2026 12:38:27 -0500 Subject: [PATCH 4/5] removed sphinx tabs --- docs/conf.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d5c685d..4a96c3d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -59,7 +59,7 @@ "sphinxcontrib.bibtex", "sphinxcontrib.katex", "sphinx_autodoc_typehints", - "sphinx_tabs.tabs", + "sphinx_design", "IPython.sphinxext.ipython_console_highlighting", "sphinxext.opengraph", *[p.stem for p in (HERE / "extensions").glob("*.py")], diff --git a/pyproject.toml b/pyproject.toml index 093af12..7405979 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ doc = [ "sphinx-autodoc-typehints", "sphinx-book-theme>=1", "sphinx-copybutton", - "sphinx-tabs", + "sphinx-design>=0.7.0", "sphinxcontrib-bibtex>=1", "sphinxcontrib-katex", "sphinxext-opengraph", From 30f67252a3517c16295a80d3f32ce9883a22fd8f Mon Sep 17 00:00:00 2001 From: colganwi Date: Wed, 28 Jan 2026 12:42:55 -0500 Subject: [PATCH 5/5] fixed tabs --- docs/contributing.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/contributing.md b/docs/contributing.md index b172fd1..ab2538f 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -33,8 +33,8 @@ it is still possible to use different tools to manage dependencies, such as `uv` In addition to the packages needed to _use_ this package, you need additional python packages to [run tests](#writing-tests) and [build the documentation](#docs-building). -:::::{tabs} -::::{group-tab} Hatch +:::::{tab-set} +::::{tab-item} Hatch On the command line, you typically interact with hatch through its command line interface (CLI). Running one of the following commands will automatically resolve the environments for testing and @@ -94,7 +94,7 @@ In this future, this may become easier through a hatch vscode extension. :::: -::::{group-tab} uv +::::{tab-item} uv A popular choice for managing virtual environments is [uv][]. The main disadvantage compared to hatch is that it supports only a single environment per project at a time, @@ -113,7 +113,7 @@ The `.venv` directory is typically automatically discovered by IDEs such as VS C :::: -::::{group-tab} Pip +::::{tab-item} Pip Pip is nowadays mostly superseded by environment manager such as [hatch][]. However, for the sake of completeness, and since it’s ubiquitously available, @@ -184,8 +184,8 @@ hatch env find hatch-test # list all possible test environment paths Alternatively, you can run all tests from the command line by executing -:::::{tabs} -::::{group-tab} Hatch +:::::{tab-set} +::::{tab-item} Hatch ```bash hatch test # test with the highest supported Python version @@ -195,7 +195,7 @@ hatch test --all # test with all supported Python versions :::: -::::{group-tab} uv +::::{tab-item} uv ```bash uv run pytest @@ -203,7 +203,7 @@ uv run pytest :::: -::::{group-tab} Pip +::::{tab-item} Pip ```bash source .venv/bin/activate @@ -297,8 +297,8 @@ please check out [this feature request][issue-render-notebooks] in the `cookiecu ### Building the docs locally -:::::{tabs} -::::{group-tab} Hatch +:::::{tab-set} +::::{tab-item} Hatch ```bash hatch run docs:build @@ -307,7 +307,7 @@ hatch run docs:open :::: -::::{group-tab} uv +::::{tab-item} uv ```bash cd docs @@ -317,7 +317,7 @@ uv run sphinx-build -M html . _build -W :::: -::::{group-tab} Pip +::::{tab-item} Pip ```bash source .venv/bin/activate