-
-
Notifications
You must be signed in to change notification settings - Fork 82
Upgrade the build process #145
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
Conversation
Signed-off-by: Daniel Ziegenberg <[email protected]>
…ng PEP 517 pyproject.toml build-requires Signed-off-by: Daniel Ziegenberg <[email protected]>
|
Can you please make this one do only "Update built process" so it changes deps related to built process and update the newer commands in tox.ini. This change should not touch pre-commit config. |
|
Would the following work? I keep e4705ba and e0f9752 as-is and from 894813d I will keep:
Is rebasing and force-pushing ok? Cause I see b829be1 in here. The following will go into a new PR:
|
|
OK. I'll do so tomorrow. Gotta go now |
b829be1 to
e0f9752
Compare
…e an isolated_build Signed-off-by: Daniel Ziegenberg <[email protected]>
Signed-off-by: Daniel Ziegenberg <[email protected]>
| commands = | ||
| rm -rfv {toxinidir}/dist/ | ||
| python -m pep517.build \ | ||
| --source \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just remove --sdist and --wheel because they are implicit. If you check the --help section you will realise that running without them is better for testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, you were a bit too quick for me. :)
I'll look into this and resolve it - if necessary - in a new PR
As discussed in PR pycontribs#145 removing the implicit building options as they disable the default behavior. According to the documentation: By default, a source distribution (sdist) is built from {srcdir} and a binary distribution (wheel) is built from the sdist. This is recommended as it will ensure the sdist can be used to build wheels. Pass -s/–sdist and/or -w/–wheel to build a specific distribution. If you do this, the default behavior will be disabled, and all artifacts will be built from {srcdir} (even if you combine -w/–wheel with -s/–sdist, the wheel will be built from {srcdir}). Signed-off-by: Daniel Ziegenberg <[email protected]>
Switching from pep517.build to build because pep517 is deprecated.