Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build-system table to pyproject.toml #8

Merged
merged 1 commit into from
Jan 24, 2019

Conversation

danmactough
Copy link
Contributor

All of our builds that depend on this project started to fail today. I was able to track down the root cause of the failure was that pip v19 was released yesterday, and the new version includes PEP-517 support for projects containing a pyproject.toml file. https://github.com/pypa/pip/pull/6155/files#diff-ef9433b15a3e8fc5d09dda210feca0c4R26

Without the build-system table added by this PR, installation with pip >= 19 will fail because the default used when the table is absent is setuptools, but we use poetry. Conveniently, the poetry docs explain exactly how to update our pyproject.toml to comply with PEP-517 builds:

image

https://poetry.eustace.io/docs/pyproject/#poetry-and-pep-517

Fixes pip>=19 installation, which will use the PEP-517 build-system if a pyproject.toml file exists. Without this table, installation will fail because the default used (when the table is absent) is setuptools, but we use poetry.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 2c717e2 on danmactough:fix-pep-517-installs into fd1bdcf on tammoippen:master.

@tammoippen
Copy link
Owner

Thank you for the pull request, @danmactough . I will draft a release around today.

@tammoippen tammoippen merged commit 0774b67 into tammoippen:master Jan 24, 2019
@danmactough
Copy link
Contributor Author

Happy to help. Thank you for the great package @tammoippen!

@danmactough danmactough deleted the fix-pep-517-installs branch January 24, 2019 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants