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

ENH: We now always depend on numpy, so specify that in setup.py #159

Merged
merged 3 commits into from
May 4, 2021

Conversation

dzenanz
Copy link
Member

@dzenanz dzenanz commented Apr 26, 2021

I think we need numpy 1.20 for typing, which in turn requires Python 3.7+. Should we also add a note to main ITK repo that Python 3.6 is no longer supported?

@thewtex
Copy link
Member

thewtex commented Apr 27, 2021

Let's hold off on merging this until numpy/numpy#17807 is addressed.

@thewtex
Copy link
Member

thewtex commented May 4, 2021

With the latest macOS, pip, numpy 1.20.2 will now build from source, so this is good enough.

setup.py Outdated
@@ -70,5 +70,6 @@
keywords='ITK InsightToolkit segmentation registration image imaging',
url=r'https://itk.org/',
install_requires=[
r'numpy>=1.20',
Copy link
Member

Choose a reason for hiding this comment

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

I'll follow-up, but we made sure that the typing support that we use in numpy is optional for systems that also want tensorflow.

@thewtex thewtex changed the base branch from master to release May 4, 2021 15:32
@thewtex thewtex merged commit 6a58852 into release May 4, 2021
@thewtex thewtex deleted the numpyAlways branch May 4, 2021 15:34
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