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

Handling packages with invalid MatchSpec (for their dependencies and constrains) #1087

Open
jjerphan opened this issue Sep 19, 2024 · 6 comments

Comments

@jjerphan
Copy link
Member

Context

Some packages published on conda-forge like infowillow-1.6.3-pyhd8ed1ab_0.conda use invalid MatchSpec.

This is for instance the case of one of its dependencies which is encoded as:

pillow-heif >=0.10.0,<1.0.0<py312

This MatchSpec is invalid, since the <py312 suffix is not supported by the MatchSpec specification.

Questions

@jjerphan jjerphan changed the title RFC: Handling packages with invalid MatchSpec (for their dependencies and constrains) Handling packages with invalid MatchSpec (for their dependencies and constrains) Sep 19, 2024
@jjerphan jjerphan changed the title Handling packages with invalid MatchSpec (for their dependencies and constrains) Handling packages with invalid MatchSpec (for their dependencies and constrains) Sep 19, 2024
@ocefpaf
Copy link
Member

ocefpaf commented Sep 19, 2024

It doesn't seem to be related to grayskull. I could not find that package either but I did find a reference to it in conda-forge/willow-feedstock#27. It was a human mistake and one should open an issue there. BTW, this repo is not the best place this this report.

@SylvainCorlay
Copy link
Member

I think it is a general question for conda-forge about whether it is ok to remove packages that have non-sensical specs, that could break the parsing of the channel data.

@jaimergp
Copy link
Member

FWIW, this shouldn't be a problem in the future provided conda-build 24.7+ is in use (conda/conda-build#5359).

@ocefpaf
Copy link
Member

ocefpaf commented Sep 19, 2024

I think it is a general question for conda-forge about whether it is ok to remove packages that have non-sensical specs, that could break the parsing of the channel data.

This happens all the time. We discussed it in element channel but I'll post here for posterity. The steps to fix it are:

  1. Fix the feedstock, also open the issue there so the maintainers know of this issue.
  2. Send a repodatapatch PR to fix the current package

@jjerphan
Copy link
Member Author

BTW, this repo is not the best place this this report.

Sorry for that. Where shall I report issues in the future?

@ocefpaf
Copy link
Member

ocefpaf commented Sep 19, 2024

Sorry for that

Not a problem.

Where shall I report issues in the future?

For feedstock problems? In the feedstock. For general problems we use https://github.com/conda-forge/conda-forge.github.io.

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

No branches or pull requests

4 participants