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

Need 24.4.2 published to PyPI to resolve issue with new setuptools #1644

Closed
millsks opened this issue Jul 29, 2024 · 9 comments
Closed

Need 24.4.2 published to PyPI to resolve issue with new setuptools #1644

millsks opened this issue Jul 29, 2024 · 9 comments

Comments

@millsks
Copy link

millsks commented Jul 29, 2024

The latest setuptools that was released a few hours ago finally removed the test module from setuptools.command. The 23.6.2 version has the import of test in the setup.py, whereas version 24.4.2 does not.

https://github.com/pypa/setuptools/tree/v71.1.0/setuptools/command
https://github.com/pypa/setuptools/tree/v72.0.0/setuptools/command

@millsks
Copy link
Author

millsks commented Jul 29, 2024

If you are not able to push 24.4.2 would you at least be able to pin setuptools to <72.0.0 for the time being?

@Plonq
Copy link

Plonq commented Jul 29, 2024

Related: pypa/setuptools#4519 (edit: fixed link oops)

@iamrraj
Copy link

iamrraj commented Jul 29, 2024

How can i fix this setuptools issue on this lib ?

@iamrraj
Copy link

iamrraj commented Jul 29, 2024

To temporarily fix the issue with the autobahn package, I installed it directly from the specific tag v24.4.2 on the GitHub repository. This was done by adding the following line to the requirements.txt file:

git+https://github.com/crossbario/[email protected]#egg=autobahn

This ensures that the autobahn package is installed from the specified tag, which addresses the issue for now.

@cortadocodes
Copy link

This worked for me (with poetry) - thanks @iamrraj!

@sergei-lobanov
Copy link

Is it possible to do the same fix for 23.x? we are using Python 3.8, can't upgrade to 3.9 right now to use 24.x versions

@gayath-su
Copy link

setuptools has yanked v72.0.0, so we are okay for now

pypa/setuptools#4518

@sergei-lobanov
Copy link

change is still required, as it was deprecated 5 years ago, so better to update it soon than later. but yeah now we have more time

brunns added a commit to i-dot-ai/redbox that referenced this issue Jul 29, 2024
@oberstet
Copy link
Contributor

pls see: https://pypi.org/project/autobahn/24.4.2/

sorry, had some hassles with 2FA and tokens and what, sorted that out, so publications are working automated again=)

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

No branches or pull requests

7 participants