-
Notifications
You must be signed in to change notification settings - Fork 104
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
SyntaxWarning on Python 3.12 #677
Comments
In case it's relevant, this reproduces when using the latest version of pixi to install conda-lock, namely 0.29.0. |
Thanks @maresb, good to know. Out of curiosity, any idea why this doesn't reproduce when installed with e.g. I use conda-lock in addition to pixi because I work with a large number of codebases, most of which are not mine, and all of which have limited resources for migrations. I've been tracking #615 with interest, and am excited to understand the best path forward for existing conda-lock users, as well as for conda users who are not currently using lockfiles and may be interested to leapfrog straight to pixi. |
Oh, the only reason this didn't reproduce with |
Cool, thanks a lot @ctcjab for tracking that down!!! Any way I could get you to test |
Just did a |
Checklist
What happened?
After installing the latest version of
conda-lock
viapixi global install conda-lock
, invokingconda-lock
results in SyntaxWarning spam in the console output:Additional Context
The offending code is in
clikit
, but it looks like that code has since been fixed (note it now uses ar"raw string literal"
as it should have in the first place).I looked through conda-lock's
pyproject.toml
to see if fixing this is just a matter of updating a>=
constraint onclikit
, but I didn't seeclikit
declared independencies
. Perhaps it's getting pulled in transitively, but (ironically) I couldn't find a lockfile that mentioned it when I searched the code.Note this reproduces with a fresh install of the latest version of
conda-lock
viapixi global install conda-lock
, but does not reproduce when installing via other tools I've tested, e.g.uv tool install conda-lock
.The text was updated successfully, but these errors were encountered: