From aa813f0c890ff1e5d8ff94c449df4595a53c8b0c Mon Sep 17 00:00:00 2001 From: nvaldez Date: Thu, 19 Nov 2026 11:06:27 +0100 Subject: [PATCH] fix: README repo-relative links 404 on PyPI (v0.13.1) PyPI renders the README alone; ./INSTALL.md, ./SPEC.md and ./CHANGELOG.md have nothing to resolve against. Links now point at the public Gitea repository (anchors kept). 0.13.0's page is immutable and keeps its broken links; the project page shows the newest release's README. Found by the owner on the 0.13.0 page. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe --- CHANGELOG.md | 14 ++++++++++++++ README.md | 10 +++++----- daedalus/tests/test_cli.py | 2 +- pyproject.toml | 2 +- python/tests/test_hello.py | 2 +- 5 files changed, 22 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b6be94d..967c684 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,20 @@ Format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and - Nothing yet. +## [0.13.1] - 2026-11-19 + +### Fixed in 0.13.1 + +- The PyPI README's repo-relative links (`./INSTALL.md`, + `./SPEC.md`, `./CHANGELOG.md`) 404 on pypi.org - the package + metadata holds only the README itself. They now point at the + public Gitea repository + (`https://gitea.nolivaldeziii.com/nvaldez/daedalus/src/branch/main/...`) + with their anchors kept. 0.13.0's already-published page keeps + its broken links (PyPI metadata is immutable); the project page + shows the newest release's README. Found by the owner on the + 0.13.0 page. + ## [0.13.0] - 2026-11-19 ### Changed in 0.13.0 diff --git a/README.md b/README.md index 17af556..541dbc7 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,9 @@ daedalus [category...] # list scripts in the categories (AND) daedalus --list # list everything ``` -**[Install, usage, and development](./INSTALL.md)** · -[SPEC](./SPEC.md) (how the repo is maintained) · -[CHANGELOG](./CHANGELOG.md) +**[Install, usage, and development](https://gitea.nolivaldeziii.com/nvaldez/daedalus/src/branch/main/INSTALL.md)** · +[SPEC](https://gitea.nolivaldeziii.com/nvaldez/daedalus/src/branch/main/SPEC.md) (how the repo is maintained) · +[CHANGELOG](https://gitea.nolivaldeziii.com/nvaldez/daedalus/src/branch/main/CHANGELOG.md) ## Available scripts @@ -180,7 +180,7 @@ Bash (and other shells argcomplete supports) completes script names and category labels: `daedalus hel` + TAB completes `hello`, `daedalus test h` + TAB completes `hello` inside the category, and options complete after `-`. Run `daedalus init` once to register the hook in `~/.bashrc` (below); see -also [INSTALL](./INSTALL.md#tab-completion). +also [INSTALL](https://gitea.nolivaldeziii.com/nvaldez/daedalus/src/branch/main/INSTALL.md#tab-completion). ### init @@ -232,7 +232,7 @@ check failed, `9` upload failed. 1. Clone or copy this template and name the Git remote for your team. 2. Add a script under `python/src/`, `bash/`, `powershell/`, or `batch/` - (see [SPEC layout](./SPEC.md#2-layout)); bash scripts implement the + (see [SPEC layout](https://gitea.nolivaldeziii.com/nvaldez/daedalus/src/branch/main/SPEC.md#2-layout)); bash scripts implement the shared `help()` interface (SPEC item 6.10). 3. Register it in `daedalus/registry.py`, add a row to the table above, write tests, bump `version` in `pyproject.toml`, and run diff --git a/daedalus/tests/test_cli.py b/daedalus/tests/test_cli.py index 7e6fce9..03a7c7a 100644 --- a/daedalus/tests/test_cli.py +++ b/daedalus/tests/test_cli.py @@ -150,7 +150,7 @@ def test_path_with_extra_words_is_a_usage_error(fake_registry, plain, capsys): assert "usage: daedalus --path " in capsys.readouterr().err -@pytest.mark.parametrize("installed, expected", [(True, "daedalus 1.2.3"), (False, "daedalus 0.13.0")]) +@pytest.mark.parametrize("installed, expected", [(True, "daedalus 1.2.3"), (False, "daedalus 0.13.1")]) def test_version(monkeypatch, capsys, installed, expected): """--version uses metadata or pyproject.toml in a checkout.""" def fake_version(_name): diff --git a/pyproject.toml b/pyproject.toml index 112d30d..121e7ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "daedalus-tools" -version = "0.13.0" +version = "0.13.1" description = "Template for daedalus: loose scripts in one repo, run with: daedalus [args...]" readme = "README.md" requires-python = ">=3.11" diff --git a/python/tests/test_hello.py b/python/tests/test_hello.py index 6b0114a..a35bd31 100644 --- a/python/tests/test_hello.py +++ b/python/tests/test_hello.py @@ -34,7 +34,7 @@ def test_app_version_falls_back_to_pyproject(monkeypatch): raise hello.importlib.metadata.PackageNotFoundError(_name) monkeypatch.setattr(hello.importlib.metadata, "version", not_found) - assert hello.app_version() == "0.13.0" + assert hello.app_version() == "0.13.1" def test_help_exits_zero(capsys):