Skip to content
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

Extra set lab_version line is added to the recipe when the bot updates the version #137

Open
jtpio opened this issue Oct 12, 2023 · 1 comment
Labels

Comments

@jtpio
Copy link
Member

jtpio commented Oct 12, 2023

Comment:

As noticed in #135, the automated PR adds an extra {% set lab_version = ">=4.0.2,<5" %} version to the recipe:

image

This version is already is already defined 2 lines below.

Is there a way to fix / prevent this?

@jtpio jtpio added the question label Oct 12, 2023
@bollwyvl
Copy link
Contributor

It's an upstream conda-smithy/cf-scripts bug... I'm sure the answer is PRs welcome, as the team is busy digging through some big migration headaches right now.

It is worth investigating if we can avoid some of those by

  • moving it someplace else where it doesn't get its own line, so maybe the bot won't be so loosey goosey
  • using YAML anchors (kinda ick) a la
host:
  - &xyz xyz >= 123
run:
  - *xyz

@krassowski krassowski mentioned this issue Aug 28, 2024
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants