Skip to content

Conversation

henryiii
Copy link
Collaborator

Fix #458.

@bennyrowland, I think this either fixes this or is a good start.

Copy link
Collaborator

@bennyrowland bennyrowland left a comment

Choose a reason for hiding this comment

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

Running this version fixes running my project via tox, so I am very happy with it. I note that there aren't any additional tests to check for this behaviour - is this something that is worth adding, or are you happy that it is a small enough change. Adding a test would be quite challenging with the current changes to protect_get_requires() as that explicitly always says that cmake/ninja are not installed (and is autoused), so we can't test that they are still requested when they are installed.

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
@henryiii henryiii force-pushed the henryiii/fix/toxcache branch from 5814eb1 to 526a36c Compare August 14, 2023 15:18
@henryiii
Copy link
Collaborator Author

I'm okay with it for now, I think (especially since I saw it broke the tests as expected without the modification above).

@henryiii henryiii merged commit 82a7688 into main Aug 14, 2023
@henryiii henryiii deleted the henryiii/fix/toxcache branch August 14, 2023 16:09
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.

get_requires_for_build_wheel confuses tox4 by not requesting cmake if it is in the build venv

2 participants