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

handle source.url as list in pypi.org linter rule #2111

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

bollwyvl
Copy link
Contributor

@bollwyvl bollwyvl commented Nov 1, 2024

The new linter rule (while great) doesn't take into account that a source.url can be a list of URLs (with fallback).

This is an issue for e.g. selenium, where the upstream git tag (bleargh) can be one of either:

  • 4.26.0
  • python-4.26.1

Checklist

  • Added a news entry
  • Regenerated schema JSON if schema altered (python conda_smithy/schema.py)

@bollwyvl bollwyvl marked this pull request as ready for review November 1, 2024 14:00
@bollwyvl bollwyvl requested a review from a team as a code owner November 1, 2024 14:00
@bollwyvl bollwyvl changed the title handle source.url as list handle source.url as list in pypi.org linter rule Nov 1, 2024
@bollwyvl
Copy link
Contributor Author

bollwyvl commented Nov 1, 2024

@conda-forge/conda-smithy ready for review

@beckermr beckermr merged commit 8fd2845 into conda-forge:main Nov 1, 2024
2 checks passed
@bollwyvl bollwyvl deleted the source-url-can-be-list branch November 1, 2024 14:51
@bollwyvl
Copy link
Contributor Author

bollwyvl commented Nov 1, 2024

Thanks!

@beckermr
Copy link
Member

beckermr commented Nov 1, 2024

Thank you! I just released smithy with the fix.

@ocefpaf
Copy link
Member

ocefpaf commented Nov 1, 2024

BTW, that change should probably be included in a piggy back migration and/or a rerender to make it easier to spread the change across all feedstocks. I've been away from smithy and the bot's code for a while but I can give it a go next week if no one beats me to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants