Skip to content

Maintenance#6

Merged
john-hen merged 7 commits intomainfrom
maintenance
Mar 8, 2025
Merged

Maintenance#6
john-hen merged 7 commits intomainfrom
maintenance

Conversation

@john-hen
Copy link
Owner

@john-hen john-hen commented Mar 8, 2025

Updated developer tooling, project metadata, documentation build, and GitHub actions workflows. Pinned NumPy < 2 to make CI pipeline pass.

john-hen added 7 commits March 8, 2025 20:18
Having dynamic metadata means that the build backend (Flit) has to build
the package even for an editable install just to access metadata such as
the version number. That is, it installs all dependencies into the build
environment and then imports the package. This is more error-prone than
it needs to be, especially when, as the case is now, the import already
fails because a dependency broke. This way, we can at least install the
package for local development, to then see the failure when running the
test suite.
This is supported by the build backend Flit as of its currently latest
version, 3.11, and by PyPI since circa end of 2024.

We are now using
It seems that the old syntax for InterSphinx links is no longer
supported by MyST.
We now use UV for package management. Flit remains the build backend,
but it no longer needed to publish to PyPI. Replaced the code linter
Flake8 with Ruff. Added ReadMe's to all folders for documentation.
Added workflow for monthly test and for publishing a new release.
@john-hen john-hen merged commit 2376105 into main Mar 8, 2025
4 checks passed
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