-
Notifications
You must be signed in to change notification settings - Fork 25
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
conda env create
with python=3
receives updates when a conda env update
with the same input is used
#320
Comments
Observed and discussed in #323 (comment). Copying here for reference:
Makes sense, but this is what we observe in this error:
We didn't see this error earlier because the packaging situation is unique: Note that changing the ENVIRONMENT_PYTHON_PIP_CLICK = f"""
name: {TEST_ENV_NAME_1}
dependencies:
- - python=3
+ - python
- pip
- pip:
- click
channels:
- defaults
""" This alternative change in self.specs_to_add = IndexedSet(MatchSpec.merge(s for s in fixed_specs)) However, if we prio Python, it passes: resorted_specs = []
for spec in MatchSpec.merge(s for s in fixed_specs):
if spec.name == "python":
resorted_specs.insert(0, spec)
else:
resorted_specs.append(spec)
self.specs_to_add = IndexedSet(resorted_specs) |
conda env create
with python=3
receives updates when a conda env update
with the same input is used
I'm not sure if we should prio Python, I concur it might be an edge case, of the packages versions not being available as expected |
Hi there, thank you for your contribution! 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. Thanks! |
The Upstream tests workflow failed on 2023-10-19 07:59 UTC
Full run: https://github.com/conda/conda-libmamba-solver/actions/runs/6571208348
(This post will be updated if another test fails, as long as this issue remains open.)
The text was updated successfully, but these errors were encountered: