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
Question on function of python-version patch #244
Comments
I'm also interested in this |
It should work if the environment contains a bare name: my-model-dev
channels:
- conda-forge
dependencies:
- python # changed
- click
- pydantic
- lume-model=1.4 |
What exactly are the semantics of the Am I right to expect that
is going to install version 3.9 of Python? |
Yes, that will install Python 3.9 into the base environment. There evidently is a conflict if you also use an environment file that requires a different version. As a matter of opinion, I personally recommend not specifying the Python version in the environment at all. In other words, use environment files like Jaime posted above, just with |
The python-version patching is not clear when used with an existing environment.yml file.
I have an environment.yml file that looks like:
From existing documentation, it seems that the python provided should be patched with the python version provided in:
From the workflow, I can see that the patch workflow is being kicked off, but the python pin is not updated and I am unable to resolve my environment using the passed version. Is the environment file being updated only in the case of missing python? Are there ways to override pinned python?
The text was updated successfully, but these errors were encountered: