Start moving build system to poetry
#310
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 PR include to repository the main files to start using Poetry as dependency manager, builder and publisher.
I've also modified some CI of test to use
poetry
instead ofpip
.#278
Summary
This pull request includes changes that transition the project from using pip as a package manager to using Poetry. The changes affect multiple files in the project, including the build and testing workflows, the installation instructions, and the project metadata. The most significant changes are:
Transition to Poetry:
.github/workflows/build.yml
: The build workflow has been updated to use Poetry for dependency management and publishing the package to PyPI. The job name has been changed frombuild-n-publish
tobuild-and-publish
, and the build strategy now includes a matrix of Python and Poetry versions. The steps for building and publishing the package have also been updated to use Poetry..github/workflows/testing.yml
: The testing workflow has been updated to use Poetry for dependency management and running tests. The strategy matrix now includes a Poetry version, and the steps for installing dependencies and running tests have been updated to use Poetry..travis.yml
: The Travis CI configuration has been updated to use Poetry for installing dependencies and running tests.INSTALL
: The installation instructions have been updated to include instructions for using Poetry to install the package.README.md
: The README has been updated to include instructions for using Poetry to install the package. A new contributor has also been added to the list. [1] [2]poetry.toml
: A newvirtualenvs
section has been added to the Poetry configuration, indicating that virtual environments should be created in the project directory.pyproject.toml
: The project metadata has been updated to use Poetry, including the build system, package dependencies, and development dependencies. The package name, version, description, authors, license, and classifiers have also been updated.