feat: Improve version constraining #165
Merged
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.
This implements a new version-constraint system independent of actual application versioning. This side-steps the need for complicated logic to support local git builds, direct URL git builds and PyPi release builds. It also means we can support compatibility between those multiple builds' versioning systems if the codebase is exactly the same.
Changes
.gitignore
deletion (fixed) :rolleyes:Further considerations:
This repo, 'python-petname' might be a better option for generating names. It has a longer word list, including adverbs and adjectives; handles alliteration automatically and allows for a custom word-chain length. It doesn't exist as a GitHub action though and uses an Apache license. Might be an opportunity for inspiration.
It would be good to give the whole repo a license check actually! MIT is quite permissive and might not be accommodating some used libraries.
We also need to test PyPi release support. When does Poetry build and upload to PyPi? We need to build releases and upload AFTER the VC key action. Maybe we can use an additional GitHub action to build releases for us.
Addresses discussion in #151
pre-commit.ci autofix