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

setuptools version limit #333

Closed
frenzymadness opened this issue Oct 27, 2024 · 5 comments · Fixed by #337
Closed

setuptools version limit #333

frenzymadness opened this issue Oct 27, 2024 · 5 comments · Fixed by #337

Comments

@frenzymadness
Copy link
Contributor

What is the reason to limit the version of setuptools to:

requires = ["setuptools<74"]

It seems to me that it builds fine also with setuptools 74.1.3

@d-maurer
Copy link
Contributor

d-maurer commented Oct 27, 2024 via email

@esaaprillia
Copy link

esaaprillia commented Dec 17, 2024

I am using setuptools version 75.6 and getting setuptools version mismatch. To solve this I removed the setuptools version.

ERROR Missing dependencies:
setuptools<74

@icemac
Copy link
Member

icemac commented Dec 18, 2024

zc.buildout is nowadays tested against setuptools == 75.6.0 , so we could make it less strict in the template which will once show up here.

@icemac
Copy link
Member

icemac commented Dec 18, 2024

See zopefoundation/meta#292 for reference.

@mauritsvanrees
Copy link
Member

I am using setuptools version 75.6 and getting setuptools version mismatch. To solve this I removed the setuptools version.

ERROR Missing dependencies:
setuptools<74

This limit on the setuptools requirement is only active when building the zope.interface package. It should be no problem to have a Python venv with setuptools 75 and still install zope.interface. But this depends on how you build or install it and especially whether that is in isolation or not. For example:

$ python3.13 -mvenv test
$ cd test
$ bin/pip install -U pip setuptools build
$ bin/pip freeze --all
build==1.2.2.post1
packaging==24.2
pip==24.3.1
pyproject_hooks==1.2.0
setuptools==75.6.0
$ bin/python -m build --no-isolation /path/to/zope.interface/
...
ERROR Missing dependencies:
	setuptools<74
$ bin/python -m build /path/to/zope.interface/
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
  - setuptools < 74
...
Successfully built zope_interface-7.3.dev0.tar.gz
 and zope.interface-7.3.dev0-cp313-cp313-macosx_14_0_x86_64.whl

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 a pull request may close this issue.

5 participants