-
Notifications
You must be signed in to change notification settings - Fork 21
Description
Hi,
I'm very new to the IvS Python repository, which is why I wanted to ask what the general consensus is about changing/maintaining/adding code. Especially with regard to use of old and new packages, as astropy is now at version 3.2, matplotlib at 3.1, numpy at 1.17 and scipy at 1.3, to name a few.
I like to develop in up-to-date versions of packages (or at least only some minor updates away from it), to make the best use of functionality and refinements (and more reasons). Of course, I am fully aware that many functions would stop working if all the packages are just updated. To not put the master branch 'at risk' perhaps it would be an idea to create a separate branch named something like 'development' or 'experimental'? This branch could just be associated with updated versions of the required packages and if code is found to be broken with the new packages it can then be fixed and pushed to that branch without breaking the code for users of the original version with the older packages.
To give an example of what I mean: I found some matplotlib 2.0 dependency (to do with recarrays) that has since been moved to numpy, and I really wanted to continue using matplotlib 3+. so I replaced the functions with their numpy equivalents, only to find out that these would only work for numpy 1.15 and up.
So, how to handle these things? I hope to hear your thoughts,
Luc