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

Conda numba build fix #239

Merged
merged 2 commits into from
Aug 4, 2023
Merged

Conversation

timryanb
Copy link
Collaborator

@timryanb timryanb commented Aug 3, 2023

  • anaconda sometimes pulls old versions of numba which break the install
  • Adding version pin for numba to conda recipe

@timryanb timryanb requested a review from A-CGray August 3, 2023 20:59
@@ -75,7 +75,7 @@ requirements:
- metis ==5.1.0
- mpi4py
- pynastran
- numba
- numba >=0.55.2
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we add the same minimum version to the setup.py requirements?

Copy link
Collaborator Author

@timryanb timryanb Aug 4, 2023

Choose a reason for hiding this comment

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

I dont think we need to, but we can. This appeared to be an issue specifically with the conda packages dependencies for older versions of numba that didn't have a version upperbound for newer numpy versions. This could lead to a situation where an old version of numba could be installed with a new (incompatible) version of numpy.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, if it's a very conda-specific issue then I guess we can go with this as is

@A-CGray A-CGray merged commit 46b950b into smdogroup:master Aug 4, 2023
@timryanb timryanb deleted the conda_build_update branch August 4, 2023 02:29
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.

2 participants