-
Notifications
You must be signed in to change notification settings - Fork 166
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
Don't require uv build context when having no pypi-dependencies
#1232
Comments
Does Seems like it needs python 3.7+ to deal with |
Looking at
So maybe now pixi is also limited to supporting python 3.8+ environments? |
He @fpaniagua thanks for this deepdive, I wasn't aware of this myself. We currently always create UvContext which results in these checks/errors. I guess we could allow a non pypi environment to skip using the UvContext. I believe we added this to also do cleanup behavior. If your lock file is deleted and you don't have any pypi dependencies in your environment anymore you could potentially still need to uninstall dependencies. |
pypi-dependencies
So I realize now my minimal example above excludes pypi dependencies. My real world problem is a python 3.6 project with conda and pypi packages. (At least 1 pypi package has no conda package equivalent). I am supporting it via downgraded pixi v0.17.1. Just upgraded locally to v0.21.0, and the lock file version has changed. So will likely keep two versions of pixi locally for now to continue maintaining the project. Should I file a separate issue? |
can we avoid introduce uv old python (3.6, 3.6)? when call |
We can't support We should add a test verifying the oldest version of python we support and add it to the documentation indeed! The initial issue still stands and we're working on a fix. |
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
increasing verbosity:
The error seems to be coming from switch to
uv
.Using pixi v0.15.2 does not have an issue on install.
Tried from v0.15.2 - v0.19.1, with python 3.6 and python 3.5:
Breaks occur in v0.17 and v0.18, so not entirely uv's fault.
Expected behavior
Pixi to install dependencies and setup environment successfully for python <= 3.6.*
The text was updated successfully, but these errors were encountered: