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: don't need a python interpreter when not having pypi dependencies. #1366

Conversation

ruben-arts
Copy link
Contributor

@ruben-arts ruben-arts commented May 10, 2024

Fixes #1232

Now we do two things if there is no pypi-dependencies:

  • Check if we need to remove some site-packages.
  • Skip everything that requires to call the python interpreter.

To not make the test abonormally slow we "abuse" one of the tests to try to install python 2.7 which will not work if we by accident try to run any uv related work.

@wolfv
Copy link
Member

wolfv commented May 10, 2024

Looks good!

@ruben-arts ruben-arts enabled auto-merge (squash) May 10, 2024 13:59
@ruben-arts ruben-arts merged commit 84ab8b2 into prefix-dev:main May 10, 2024
24 checks passed
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.

Don't require uv build context when having no pypi-dependencies
2 participants