Units - #935
Merged
Merged
Conversation
This patch moves all of nutils' code into a "src layout" structure (https://packaging.python.org/en/latest/discussions/src-layout-vs-flat-layout/) which makes it a lot easier to work with modularized nutils packages from within the root of the repository, for instance to run unit tests.
gertjanvanzwieten
force-pushed
the
units
branch
7 times, most recently
from
March 23, 2026 09:20
252af09 to
eea68ae
Compare
gertjanvanzwieten
force-pushed
the
units
branch
7 times, most recently
from
March 23, 2026 21:05
7944124 to
487e408
Compare
gertjanvanzwieten
marked this pull request as ready for review
March 23, 2026 21:06
joostvanzwieten
requested changes
Mar 23, 2026
The metadata follows PEP 723 as specified in https://packaging.python.org/en/latest/specifications/inline-script-metadata/#inline-script-metadata
gertjanvanzwieten
force-pushed
the
units
branch
from
March 25, 2026 10:22
487e408 to
4c76c79
Compare
This patch changes the github test workflow such that every example is tested in its own virtual environment populated only with the dependencies pecified in the embedded metadata.
gertjanvanzwieten
force-pushed
the
units
branch
from
March 25, 2026 10:37
4c76c79 to
2606355
Compare
joostvanzwieten
approved these changes
Mar 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.