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
[4.6.2] Regression with conda env create -n NAME #8192
Comments
|
I've spotted some bugs in https://github.com/conda/conda/blob/master/tests/conda_env/test_cli.py which result in regressions such as this not being picked-up. |
Care to detail those bugs? What tests would be good to add? |
The main line of test code I'm concerned about (or at least don't understand) is L90: conda/tests/conda_env/test_cli.py Lines 88 to 92 in 2b403a8
... which seems to feed the env name or prefix to Then in: conda/tests/conda_env/test_cli.py Lines 168 to 177 in 2b403a8
... will that fail if the exception is not thrown? Seems like it wants a In looking at these - calls to: conda/conda_env/specs/__init__.py Lines 15 to 17 in 2b403a8
e.g. conda/conda_env/cli/main_create.py Lines 71 to 78 in 2b403a8
Please comment on whether any/all of the above look like valid concerns. |
Possible initial fix was incomplete, rather than a regression. Note issue is specific to
So works as expected for invalid |
Hi there, thank you for your contribution to Conda! This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment and we will gladly reopen the issue. In case this issue was originally about a project that is covered by the Anaconda issue tracker (e.g. Anaconda, Miniconda, packages built by Anaconda, Inc. like Anaconda Navigator etc), please reopen the issue there again. Thanks! |
When I try the
conda env create -n NAME -f environment.yml
command with a non-existent yml file (i.e. from the wrong directory) I get an inscrutableSpecNotFound
error:It seems this problem has cropped up previously (#5681) and was supposed to have been fixed in #7385 so this appears to be a regression?
The text was updated successfully, but these errors were encountered: