-
Notifications
You must be signed in to change notification settings - Fork 54
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
recipe pins appear to be implemented incorrectly relative to conda-build #1174
Comments
Can we just put "3.10.*" for the least ambiguous syntax? |
Sure! I just didn't know if rattler-build supported that. |
Rendering a recipe using
That is better than silently using Either way it seem much better to make this work as expected in |
Yep. There are a lot of strong opinions floating around on these specific issues. We're not going to resolve them until we write and vote on a CEP that defines the correct behavior. |
It appears that for a bit of yaml like this
with
python_min=3.10
, rattler produces a different spec than conda-build.For rattler-build, I see
See this CI job (https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=1075636&view=logs&jobId=7b6f2c87-f3a7-5133-8d84-7c03a75d9dfc&j=7b6f2c87-f3a7-5133-8d84-7c03a75d9dfc&t=9eb77fd2-8ddd-5444-8fc0-71cb28dcb736)
conda-build adds an implicit
.*
like thisFor a pin like 3.10, the net effect of
.*
for conda-build is to pull the latest version that is less than the next minor version (i.e., 3.11.0). An equivalent syntax, I think, ispython =3.10
(i.e., a single=
). rattler-build could use a single=
if it does not handle.*
The text was updated successfully, but these errors were encountered: