Consolidate project metadata #88
Open
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.
Description of work
Motivation
setup.pyandpyproject.tomlat the moment, each specifying different dependency constraintspipuses thesetup.pydependencies when installing from pypi, the unconstrained dependency on Flask results inFlask==3.1.0being installed, which fails the unit tests. It would be nice to add some constraints when we know some dependency versions are incompatible.pip install .usespyproject.tomldependencies, resulting in different dependency versions when installing from local clone vs from pypiChanges
setup.pyandpyproject.tomlmetadata intopyproject.tomlrequires-pythonto >=3.9 for new poetry-core versionpyproject.tomlformatVERSIONfile and usedimportlib_metadatastandard method to expose package version numberPossible further changes
Flask<1if we knowFlask>1doesn't workpyproject.tomlrequirements.txtandrequirements_dev.txtpoetry.lockshould replacerequirements_dev.txtsufficientlyrequirements.txtin sync if desiredTo test
serveroptional group installednumpy>=2installed? No constraint onnumpyfor pypi installs prior to this MR anywayReviewer checklist