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

Add lower bound to numpy compatibility #112

Merged

Conversation

conda-forge-admin
Copy link
Contributor

@conda-forge-admin conda-forge-admin commented Aug 16, 2024

xref: xref: conda-forge/numpy-feedstock#324

Hi! This is the friendly automated conda-forge-webservice.

I've started rerendering the recipe as instructed in #111.

If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!

Here's a checklist to do before merging.

@conda-forge-webservices
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

conda-forge-webservices[bot] and others added 2 commits August 16, 2024 15:09
@hmaarrfk hmaarrfk changed the title MNT: rerender Add lower bound to numpy compatibility Aug 16, 2024
@hmaarrfk hmaarrfk added the automerge Merge the PR when CI passes label Aug 16, 2024
@github-actions github-actions bot removed the automerge Merge the PR when CI passes label Aug 16, 2024
Copy link
Contributor

Hi! This is the friendly conda-forge automerge bot!

Commits were made to this PR after the automerge label was added. For security reasons, I have disabled automerge by removing the automerge label. Please add the automerge label again (or ask a maintainer to do so) if you'd like to enable automerge again!

@hmaarrfk hmaarrfk added the automerge Merge the PR when CI passes label Aug 16, 2024
@github-actions github-actions bot merged commit e6b5d65 into conda-forge:main Aug 16, 2024
31 checks passed
Copy link
Contributor

Hi! This is the friendly conda-forge automerge bot!

I considered the following status checks when analyzing this PR:

  • linter: passed
  • azure: passed

Thus the PR was passing and merged! Have a great day!

# https://github.com/conda-forge/numpy-feedstock/issues/324
# We must set the lower bound in accordance to scikit-image's
# runtime requirements
- numpy >=1.23
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this just go in run?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. Otherwise it will overwrite the upper bound too and set the upper bound to be infinite.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually these just become additional lines in depends (including run_exports). So collectively they specify numpy's constraint correctly

Tried to explain this in more detail with an example from scipy where this is already used: conda-forge/numpy-feedstock#324 (comment)

Please let me know in that thread if you have more questions on that

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess maybe something changed in how conda/mamba handle repeated dependencies over the years.

It used to be very poorly supported and only one of the lines would get picked up.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i can remember to try to adjust this later, but i'm almost too scared to try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge the PR when CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants