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

Fix package install: remove use of deprecated setuptools.command.test #856

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

connortann
Copy link
Contributor

@connortann connortann commented Jul 29, 2024

Fixes #855 , fixes #854

At present the package install fails in typical conditions, as it is incompatible with the latest setuptools. The failure can be reproduced with:

pip wheel --no-cache-dir --use-pep517 "vcrpy (==6.0.1)"

This PR removes the used of deprecated setuptools modules, which has led to the package build breaking when installed in isolated environments.

Once this issue is fixed it would be useful to make a swift patch release, as it appears this issue is having quite a large affect on the wider python ecosystem:
pypa/setuptools#4519

@connortann connortann changed the title Update setup.py: remove use of deprecated setuptools.command.test Fix package install: remove use of deprecated setuptools.command.test Jul 29, 2024
@LewisCowlesMotive
Copy link

LewisCowlesMotive commented Jul 29, 2024

I've pushed what I think is a more ambitious version, which pins all dependencies; but also uses poetry. Right now all the fixes avoid complexity in specifying dependencies, which pushes that complexity to consumers.

This is a good fix

setup.py Outdated Show resolved Hide resolved
@graingert
Copy link
Collaborator

Once this issue is fixed it would be useful to make a swift patch release, as it appears this issue is having quite a large affect on the wider python ecosystem:
pypa/setuptools#4519

A release isn't that urgent as the setuptools removal was reverted

@graingert graingert merged commit 35650b1 into kevin1024:master Jul 29, 2024
13 checks passed
@graingert
Copy link
Collaborator

Thanks for the quick fix!

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 this pull request may close these issues.

Fix compatibility with setuptools 72 Installation of 6.0.x fails with ChefBuildError
3 participants