Skip to content

MAINT: Update environment.yml to match *_requirements.txt#25308

Merged
rgommers merged 2 commits intonumpy:mainfrom
melissawm:update-python
Dec 5, 2023
Merged

MAINT: Update environment.yml to match *_requirements.txt#25308
rgommers merged 2 commits intonumpy:mainfrom
melissawm:update-python

Conversation

@melissawm
Copy link
Member

No real reason other than I noticed the docs were being built locally on python 3.9 instead of 3.11, which is used in CI. If any of those are incorrect please let me know.

Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

Thanks Melissa. This doesn't look quite right to me. The single = is the correct comparison symbol, == is not correct. Semantics are not the same compared to PyPI/pip specifiers (e.g., this will install 3.11.0 rather than 3.11.6). The added exact pins are not desired I think.

The only change that seems okay to make here is Python 3.11.x instead of 3.9.x

@melissawm
Copy link
Member Author

Of course you're right, sorry about that !

- openblas
- nomkl
- setuptools=59.2.0
- setuptools
Copy link
Member

Choose a reason for hiding this comment

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

Do we still need to explicitly list setuptools at all?

Copy link
Member

Choose a reason for hiding this comment

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

We still have some compile tests using setup.py (e.g. _core/tests/test_limited_api.py), so it makes sense. setuptools is installing with python by conda anyway, so in practice it doesn't matter much.

Copy link
Member

@rgommers rgommers left a comment

Choose a reason for hiding this comment

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

LGTM now, thanks Melissa.

@rgommers rgommers merged commit 742920a into numpy:main Dec 5, 2023
@rgommers rgommers added this to the 2.0.0 release milestone Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants