Skip to content

Conversation

@saimn
Copy link
Contributor

@saimn saimn commented Apr 15, 2016

Following #4225

  • Add Numpy 1.10 in Travis config as 1.11 is now the stable version
  • Remove compatibility code for Numpy 1.6 and 1.7. (There are still a few things that could possibly be removed, but I wasn't sure)

@saimn
Copy link
Contributor Author

saimn commented Apr 15, 2016

  • Maybe add a deprecation warning in the next 1.1.x release ?

1.2 (unreleased)
----------------

General
Copy link
Member

Choose a reason for hiding this comment

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

Not sure about new section. Maybe move this under "API change"?

Copy link
Member

Choose a reason for hiding this comment

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

Oh, never mind. I see there is a precedent. Please ignore my comment above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I followed the example of the 1.0 release, but I can change.

Copy link
Member

Choose a reason for hiding this comment

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

No, no, you're okay. 😄

@pllim
Copy link
Member

pllim commented Apr 15, 2016

@astrofrog needs to clarify about supporting "the last 4 Numpy versions". Does that mean the "stable" plus 4 older ones (which would include 1.7). Or just 4 total, including stable?

@pllim pllim added this to the v1.2.0 milestone Apr 15, 2016
@astrofrog
Copy link
Member

@pllim - what I said wasn't policy, I just meant that supporting 1.11, 1.10, 1.9, and 1.8 should probably be enough (but it's a personal opinion)

@pllim
Copy link
Member

pllim commented Apr 15, 2016

@astrofrog , from your bar chart, eliminating both 1.6 and 1.7 would exclude 10% of the users that the chart represented in Oct 2015, which is only 6 months ago. It is not huge but also not negligible. Something to think about.

@bsipocz
Copy link
Member

bsipocz commented Apr 15, 2016

@pllim - The survey was done over a year ago not in Oct!

@pllim
Copy link
Member

pllim commented Apr 15, 2016

Oh, okay. I got the timestamp from the GitHub comment. Thanks for clarifying, @bsipocz . But still, some users are not known for constantly upgrading their software versions (not tech bashing, but maybe a little).

@bsipocz
Copy link
Member

bsipocz commented Apr 15, 2016

But then they are not upgrading their astropy either (and are stuck with v0.2) ;)

@pllim
Copy link
Member

pllim commented Apr 15, 2016

@saimn , 👍 for deprecation warning, but I think that should be a separate PR tagged to a different milestone.

@astrofrog
Copy link
Member

@saimn - for now, let's keep Numpy 1.7 since you didn't remove any of that compatibility code (i.e. NUMPY_LT_1_8) and it's probably best to do it in single steps. So can you just update the Travis file to add back 1.7? I'll now send an email to astropy-dev to check if anyone has any objections to removing 1.6 support.

@saimn
Copy link
Contributor Author

saimn commented Apr 18, 2016

@astrofrog - Oops ! You're right, I got confused by the presence of both NUMPY_LT_1_6_1 and NUMPY_LT_1_7, and it seems that the LT didn't go up to my brain :-/
I will update to mention that only 1.6 support is removed.

@saimn saimn changed the title Drop support for Numpy 1.6 and 1.7 Drop support for Numpy 1.6 Apr 18, 2016
Compatibility code for Numpy 1.7 wasn't removed, so keep it for now.
@astrofrog
Copy link
Member

Thanks! Let's now wait a couple of days to see if there are any objections.

@saimn
Copy link
Contributor Author

saimn commented Apr 26, 2016

Good to go ?

@pllim
Copy link
Member

pllim commented Apr 26, 2016

No strong objections from astropy-dev mailing list, so should be good, right, @astrofrog ?

@saimn
Copy link
Contributor Author

saimn commented Apr 27, 2016

Just found __minimum_numpy_version__ while looking for some place to add a warning for the next 1.1.x release, so I updated the minimum version to 1.7

@pllim
Copy link
Member

pllim commented Apr 28, 2016

Last chance for objections or forever hold your peace!

@saimn
Copy link
Contributor Author

saimn commented May 4, 2016

Up ! Let's go ?

CHANGES.rst Outdated
General
^^^^^^^

Astropy now requires a Numpy 1.7.0 or later.
Copy link
Member

Choose a reason for hiding this comment

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

@saimn - can you remove a (just 'requires Numpy') - when you commit, add [ci skip] in the commit message since we don't need to re-run the CI

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@astrofrog - ok, done.

@astrofrog
Copy link
Member

Thanks @saimn!

@astrofrog astrofrog merged commit 3d6e903 into astropy:master May 4, 2016
@saimn
Copy link
Contributor Author

saimn commented May 4, 2016

Thanks !

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.

4 participants