Remove --enable-legacy functionality#1493
Conversation
|
I was using pyfits via Note that I did get this on a machine where a very old |
|
I'm going to attach a pull request to this issue - it doesn't mean we should merge it, but it's there in case we want to. |
|
Hey look @taldcroft, it's your favorite kind of pull request ;) |
|
👍 |
|
👍, even though we're flushing many hours of figuring out dark recesses of Python package installation down the drain 😉 |
|
@mdboom - yeah, I do feel a little sad when we get rid of things that were so painful to put in place! I'm just hoping it will save us more hours of maintaining it ;) Anyway, this is just a suggestion and if people feel we should keep it, then I'm open! |
|
[copying from my posting to astropy-devel] Astropy-legacy would allow to drop the standalone pyfits/pywcs packages very soon and still keep this older software. And, at the end, the transition would be easier, since they already use the identical code (just with a different name). This lowers the psychological barrier for the transition. What I would propose:
I must, however, also state that the use of the legacy packages so far in Debian is negliglible, as far as the limited statistics can tell: 18 installations of astropy, but only one for -legacy. pywcs has 39, pyfits 177 installations. So, I feel still free to remove the legacy packages. |
|
@embray @perrygreenfield - do you have any opinions on this? |
|
I don't have any strong feelings I don't think. It was a neat hack and I wish it could have had more uptake, but it seems like in practice it's been easier for people to just make the switch. I'm all for removing code until there's nothing left to remove :) |
|
Just so we're clear, merging this would mean removing the astropy-legacy from debian, but leaving in pyfits, pywcs and vo.table for the forseeable future, right @olebole (possible eventually deprecating them, though?) I'm fine with that plan. I agree with @embray that it seems more like anyone who actually is willing to bother installing astropy is willing to switch to |
|
OK, so let's remove the legacy code here. Switching is really easy, and the legacy option will have problems with the version numbers anyway... |
|
I will merge this pull request in a few hours if there are no other comments! If we ever want to re-enable this kind of functionality, at least we have the current code in the git history to start from. |
Remove --enable-legacy functionality
|
Please note that the above broke compatibility with scikit.image and veusz and it's no longer possible to use astropy as a replacement for pyfits. |
As mentioned in #1488, I would like to propose removing the ability to do
--enable-legacyaltogether. I've never come across users that make use of it, and as the APIs of Astropy and other packages diverges in future, I think it will actually no longer be correct to enable these legacy layers anyway. Is there any benefit to keeping them around? (as shown in #1488, this functionality broke, and none of us caught it, so if we want to keep it, we have to test it more).