Move package directory to project root, add LICENSE #4
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.
Hi Lewis,
Thank you for setting up this python project template! We tried using it today while setting out some work on a new project https://github.com/NERC-CEH/object_store_api
As a result I've got some small suggested changes, quickly actionable:
mypackage
directory down into the repository root, in line with classic python patternsI can understand the
.src/
simplifies the docker build but that shouldn't dictate the project layout - I left thesrc
in the destination path in the Dockerfile (not easy to test without access to a VM that can rundocker
, though.To test
And eyeball the output... ideally also
We had more questions about whether one can take a cookiecutter templated approach with Github repo templates (to avoid the potentially future-brittle bash/awk renaming) and hope to pick up good tips at the cookiecutter session at RSECon and add them to the discussion about project repo templates
@jmarshrossney also had a good suggestions about adding a
tox
setup to the CI/CD workflows - test multiple backends and versions while keeping it abstracted away from the Github Actions proprietary syntax for doing it.I left the 3.12 requirement in the Dockerfile as is but set the minimum version in
pyproject.toml
down to 3.9 - this is motivated by research projects' tendency to have complex and not regularly maintained dependencies that require pinning to older python versions - alan-turing-institute/plankton-cefas-scivision#5 is a recent example...Thank you again for setting this up, hopefully by trying to work with it we can make it more useful :D