Skip to content

Use absolute URLs for PR links in CHANGELOG - #218

Merged
AlexanderWells-diamond merged 2 commits into
masterfrom
fix-changelog-links
Nov 25, 2026
Merged

AlexanderWells-diamond merged 2 commits into
masterfrom
fix-changelog-links

Conversation

@AlexanderWells-diamond

@AlexanderWells-diamond AlexanderWells-diamond commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

The PR links in CHANGELOG.rst were relative (../../pull/N). These resolve correctly when the file is viewed on GitHub, but in the docs (which include CHANGELOG.rst via docs/reference/changelog.rst) they point at non-existent pages, e.g. on https://diamondlightsource.github.io/pythonSoftIOC/master/reference/changelog.html, and fail the linkcheck job.

This rewrites all 53 to absolute https://github.com/DiamondLightSource/pythonSoftIOC/pull/N URLs, which work in both places. The changelog is frozen at 4.7.2 so this is a one-off fix.

This PR also removes platformdirs from Pytest's list of plugins. This avoids a native code segfault when running tests, specifically on MacOS 15 with Python3.14. This is a workaround; the plugin itself is pure python so is not the cause of the crash itself. It is most likely to be a cothread issue.

🤖 Generated with Claude Code

The relative ../../pull/N links only resolved when the file was viewed
on GitHub; in the Sphinx docs they pointed at non-existent pages and
failed linkcheck.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Loading the pytest plugin from platformdirs 4.14.8 (a transitive dev
dependency via tox, virtualenv and pre-commit) makes the test run
segfault in test_asyncio_ioc on the macos-15-intel cp314 wheel job.
Pinning platformdirs to 4.14.5 or passing -p no:platformdirs both fix
it; the plugin only provides a fixture these tests do not use.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@AlexanderWells-diamond
AlexanderWells-diamond merged commit 7a92f79 into master Nov 25, 2026
33 checks passed
@AlexanderWells-diamond
AlexanderWells-diamond deleted the fix-changelog-links branch November 25, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant