-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Nameless conda environment gets run by name instead of path #24627
Comments
@gandhis1 Can you provide the initial part of the logs: The logs that you shared here don't contain a line that says " Conda env is named/prefix". it comes from the detector. |
Here is everything before "discover tests":
I don't see a line saying "Conda env is named" |
Can you |
Here is the output of that. As a clarification, note that
|
Discussed in #24626
Originally posted by gandhis1 December 17, 2024
In version
2024.16.1
, when I run test discovery, or really any command that ultimately invokesconda
, I see the following:This works, and this is what I expect, since my environments are nameless and path-based. Here is the anonymized output of
conda info --env
:In recent versions (this has been ongoing for several weeks I believe), I see this (
2024.23.2024121701
):Fundamentally, the issue I see is that this should be using
-p
and not-n
. It's also using a somewhat arbitraryconda
executable.The text was updated successfully, but these errors were encountered: