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

Revert "tests: fix under pyproject-hooks 1.2" #829

Closed
wants to merge 2 commits into from

Conversation

henryiii
Copy link
Contributor

@henryiii henryiii commented Oct 15, 2024

Reverts #824

Testing fix in pypa/setuptools#4680. See pypa/pyproject-hooks#206.

name = "test-no-prepare"
version = "1.0.0"
description = "Test extracting metadata from a backend w/out `prepare_metadata_for_build_wheel` hook"
requires = ['setuptools >= 42.0.0']
Copy link
Collaborator

@abravalheri abravalheri Oct 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe

Suggested change
requires = ['setuptools >= 42.0.0']
requires = ['setuptools @ https://github.com/abravalheri/setuptools/archive/refs/heads/issue-pyproject-hooks-206-take2.zip']

Or something similar if the idea is to test the specific fix?

(Or maybe it needs to be added to the test dependencies if they are tested without isolation)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is indeed tested without isolation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First had to verify that this still fails - which it does :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got a error: [Errno 2] No such file or directory: 'test_setuptools-1.0.0/test_setuptools.egg-info' but I think we used to see that occasionally. Most of the jobs passed, though, so it seems to have fixed it!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much @henryiii for testing it!

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
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.

3 participants