-
Notifications
You must be signed in to change notification settings - Fork 62
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
support projects with pep517 deps #364
Comments
I wonder if it would help if But when making a release, we still need to run
Your code does not work for me though:
And when I try the first example from the PyPI page I get an error, because the calling code is still responsible for installing the required dependencies:
And when I try the (deprecated) higher-level functions which install the build dependencies into a temporary environment and build a wheel/sdist using them, from the second example, I get:
In other words: yes, the |
@mauritsvanrees
|
build_wheel only works on windows, you just need the metadata |
the |
Ah,
|
From looking at https://zestreleaser.readthedocs.io/en/latest/versions.html, the seems If the version in |
zest.releaser bumpversion works here though (with cython installed) |
It's almost a year later, and nothing has been done by us in this area, sorry about that. And I have enough non-zest-releaser work on my plate to think that I will not do anything about this on short term. :-/ I read https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html today, which says all invocations of Specifically, For the packages that I use it for, which are all pure Python, current If I still have some energy left after next week's Plone Conference, I could maybe work on this during the sprint. |
https://pypa-build.readthedocs.io/en/latest/api.html#build.util.project_wheel_metadata |
I have released a much cleaned up 7.0.0a1. Python 3 only, git only, less ancient workarounds. I might pick up this or other related issues at some point, to bring us more in line with current Python packaging best practices, but I kinda hope that the cleanup makes it more inviting for others to contribute. :-) |
I have released 9.0.0a1. This uses |
twisted-iocpsupport has a pep517 build-dep of "Cython":
https://github.com/twisted/twisted-iocpsupport/blob/f0b581834576ff02f3a4f4d17e76aa0740a2e911/pyproject.toml#L5
when I run fullrelease without the build-deps installed I get an error:
If I manually install the deps I get this:
I think zest.releaser should be using
pep517.meta.load(".").version
to get the versionThe text was updated successfully, but these errors were encountered: