On 12.8.2018 06:22, Elliott Sales de Andrade wrote:
Hi all,
In case you weren't aware, Matplotlib 3.0 will drop support for Python
2. The rc1 was just released today/yesterday, though I have not yet
attempted to see how that update will go. The 2.2.x line will continue
to be supported and receive bug fixes until Python 2 is EOL.
So I'm wondering what exactly our plans are going forward for when the
final 3.0 release is made?
Is the 3 API substantially different from 2?
If not, I'd do what we did with ipython, astroid, pylint, astropy.
Create a python2-matplotib SRPM with the python2 package of matplotilb 2.
Remove python2 subpackage from python-matplotlib, update to 3.
If the API is changed a lot and we cannot update even on Python 3
without breaking everything, I suppose we could create python-matplotib2
with both stacks and again: remove python2 subpackage from
python-matplotlib, update to 3.
The python3-matplotib2 would need to be packaged a bit differently to
install to a separate location. This has been done for example with
python2-wxpython4. Consumers of matplotlib would need to slightly change
their packages.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok