-
Notifications
You must be signed in to change notification settings - Fork 368
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
[provider: pypi] support pyproject.toml #822
Comments
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
Unstale |
It'd really be more preferable that Travis just switches to using pip for this. That way we have one consistent implementation of how things are built locally and on Travis as well. It's easier to ensure that there aren't minor differences between builds on the two platforms when they use the same underlying tool to do it. |
@pradyunsg think of dpl as a wrapper, of course it uses pip, but pip itself doesn't implement everything + pip doesn't do publishing. |
Yeah, this would basically use pip for build; and twine for publishing. Whatever pip did not implement yet let's contribute to the @pfmoore initiative to finish it instead of re-implementing it here. |
I've no idea what functionality you need here, but with PEP 517/518 support, If you want to build artifacts for upload, |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
@Stale no. |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
I believe this is still unsolved. |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
unstale |
@svenfuchs it's only building dists part that has changed. You need to There should be a way to redefine the args and even disable building dists. Since the current implementation calls Finally, the publishing part stays as is. |
wait, why have i closed this? gonna reopen this. thanks for the writeup, @webknjaz! |
I'll note that there's also a broader discussion happening in the community, around how Python packaging should handle the "build this package" UX. It's a longer-term conversation that'll likely take half an year or so to affect things. https://discuss.python.org/t/building-distributions-and-drawing-the-platypus/2062 |
Well, I think atm it's the best tool to use anyway. Even though it's intended to be a dependency of CLI front-ends, it already contains a good CLI which just works and seems to be a quite good fit for Travis' case. Anyway, it can be easily replaced should the new recommended UX implementation emerge. |
@svenfuchs another thing to think about is that often devs test libs, not apps. This is to extend the example of a case where we'd need a deployment provider to completely skip the build step which would enable users to build and install the dist in |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
This comment has been minimized.
This comment has been minimized.
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
unstale |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
unstale |
sigh |
What exactly is this waiting on? There's a lot of people repeatedly marking it as unstale, but no action. Who if anyone can take this forward? If it's just going to be ignored indefinitely, it would probably save everyone's time if someone came forward and officially said "we have no intention of doing this" (and dealt with the subsequent responses 🙁) |
Given that it's been 2 years, #travisAlums and similar things; I think if there's no response from someone at @travis-ci until the next time stale closes this, we let this go stale and close. I think it'll be clear that they don't prioritize this high enough, so we should just stop putting in the effort to keep this open. |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
Hi, this new PEP is gaining more popularity and some tools already rely on it.
The current PyPI provider implementation is relying on flow where it builds dists using
setup.py
, while there's lots of flows like building manylinux1 wheels or using flit, which encapsulate this. In case of flit there's even no explicitsetup.py
in file system.So I suggest improving the flow and adding more options/conditionals allowing to use custom tools.
For example, to support PEP 518 and PEP 517, it's enough to detect and read
pyproject.toml
and then install build time prerequisites from[build-system]
section (optionrequires
) and then run entry point frombuild-backend
option.Ref: https://www.python.org/dev/peps/pep-0518/
I'm considering to craft a PR at some point.
The text was updated successfully, but these errors were encountered: