-
Notifications
You must be signed in to change notification settings - Fork 71
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
6.4 sdist on PyPI not installable by zc.buildout #298
Comments
I'm now going to release a post-release version for 6.4 because I do not want to delete the sdist on PyPI to replace it with another one (only one sdist per release is allowed). |
@dataflake Do you have any idea what could have happened here? BTW installing via |
I always use I just tried again and the filename is wrong again. The sandbox has zc.buildout 3.0.1, setuptools 69.5.1 and pip 24.0. I just rebuilt that virtual environment, which updated setuptools to 70.0.0. Now I am getting this:
But doing I am not sure what is going on. |
This is (yet another) setuptools issue that is caused by setuptools starting with version 69. I tried a variety of combinations, and downgrading to any version |
I guess the way forward would have to be pinning setuptools in the meta/config templates yet again and then creating a 6.5 release. IMHO #296 should be used at the same time so hopefully Windows wheels make it to PyPI. |
This smells like a zc.buildout issue to me. You cannot expect everyone in the world to pin a specific old setuptools version before they make their releases. (Besides, setuptools itself is shouting loudly at you whenever you try to run python setup.py anything, telling you to use build instead. What sort of sdist filenames does |
|
P.S.: the full filename on the 6.4 tag itself was |
[](https://renovatebot.com) This PR contains the following updates: | Package | Update | Change | OpenSSF | |---|---|---|---| | [zope.interface](https://togithub.com/zopefoundation/zope.interface) | patch | `==6.4` -> `==6.4.post0` | [](https://securityscorecards.dev/viewer/?uri=github.com/zopefoundation/zope.interface) | --- ### Release Notes <details> <summary>zopefoundation/zope.interface (zope.interface)</summary> ### [`v6.4.post0`](https://togithub.com/zopefoundation/zope.interface/blob/HEAD/CHANGES.rst#64post0-2024-05-22) [Compare Source](https://togithub.com/zopefoundation/zope.interface/compare/6.4...6.4.post0) \====================== - The sdist of version 6.4 was uploaded to PyPI as `zope_interface-6.4.tar.gz` instead of `zope.interface-6.4-py2.tar.gz` which cannot be installed by `zc.buildout`. This release is a re-release of version 6.4 with the correct sdist name. (`#​298 <https://github.com/zopefoundation/zope.interface/issues/298>`) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/chezmoi-sh/WIP-monorepo). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbXX0=-->
@mgedmin There is already a buildout issue: buildout/buildout#647 |
OK, I'll close that here. I'm only concerned that with the slow development speed of zc.buildout we'll have to wait forever for a solution and in the meantime more and more people will start complaining. I will make sure to pin setuptools<69 in all my sandboxes. |
@dataflake We will also have to pin it for our repositories. I already saw a broken GHA run because zc.buildout is not compatible with |
Please don't call it "wrong" when it's actually correct. Using dots in filenames is invalid per the standards. Setuptools blatantly refusing to follow them for years doesn't make it any more "right". |
PROBLEM REPORT
What I did:
Install
zope.interface==6.4
on PyPy in https://github.com/zopefoundation/zopetoolkit/actions/runs/9155131998/job/25261849191?pr=95What I expect to happen:
Successful install.
What actually happened:
Error: Couldn't find a distribution for 'zope.interface==6.4'.
The reason seems to be that the sdist of
zope.interface 6.4
is namedzope_interface-6.4.tar.gz
, so an_
instead of a.
betweenzope
andinterface
. – It is not clear to me which tool did this. Runningpython setup.py sdist
withsetuptools==65.5.0
did create a correctly named file.What version of Python and Zope/Addons I am using:
The text was updated successfully, but these errors were encountered: