Re: Matplotlib 3.10.0 for trixie?
- To: Alexandre Detiste <alexandre.detiste@gmail.com>
- Cc: James Addison <jay@jp-hosting.net>, debian-python@lists.debian.org
- Subject: Re: Matplotlib 3.10.0 for trixie?
- From: Nilesh Patra <nilesh@debian.org>
- Date: Sat, 12 Apr 2025 13:09:28 +0530
- Message-id: <[🔎] ae3dd419-4b01-4801-9a74-7f87179f943d@debian.org>
- In-reply-to: <332450BD-FF2D-4BCC-A313-90809A0DB09D@riseup.net>
- References: <29b74bd1-2181-4bf3-81a6-003cab5df87f@debian.org> <CADsTwjKXAR1ps_SiEwEABYoejwJQkx_tngK9QszQqfzUPdR+JA@mail.gmail.com> <84b7b620-6f18-4f54-a13d-bb38ae0ee839@fsfe.org> <c4c47c60-39ef-4298-b514-3d538f685441@debian.org> <cbae4637-1819-4fb9-873c-8cc21ebb408e@debian.org> <CALDQ5NxbCKEt5HYEviDSrTPkgUsoiEJRwerLrYZuLnBTbJsq7Q@mail.gmail.com> <73CF4D23-2E84-40DB-9EBE-D74E9585ED00@riseup.net> <6d4e26d0-5fbd-4893-9264-1fb255111404@riseup.net> <CADsTwj+8KtpL7mPX_+PynCKG+mCbssNQLygnzQSgUWuc_Epnsg@mail.gmail.com> <418B4F61-1ADC-49EE-9946-9D31623456CD@riseup.net> <CADsTwjKkPoE5bS42_e93RG629B8xW3xiguwE5hY7sU+-5OLNEg@mail.gmail.com> <332450BD-FF2D-4BCC-A313-90809A0DB09D@riseup.net>
Hi Alex, James, all,
Seems matplotlib migrated to testing now. I was thinking if it makes sense to do
an incremental 3.10.1+dfsg1-3 release.
There are 2 things that bother me that could be fixed in this release:
1. matplotlib has historically shipped /etc/matploblibrc to force tkagg and patched the code
to use this if there are no user defined rc files see [1]. However, this was not
handled properly via maintscripts so that'd mean over-writing user-modified /etc/matplotlibrc.
The backend detection logic is now better and I feel we should get rid of the "yield '/etc/matplotlibrc'" in
[1] and also stop shipping the conffile both and add in a rm_conffile to remove previously
installed /etc/matplotlibrc.
Probably also a d/NEWS to inform the sysadmin that this no longer works. It does not make
sense to me for a python lib to have a conffile.
2. matplotlib fails when there is empty gi directory. This is reported in #1101565 and James
has kindly provided a patch (thank you!).
[1] https://salsa.debian.org/python-team/packages/matplotlib/-/blob/master/debian/patches/20_matplotlibrc_path_search_fix.patch?ref_type=heads
Please let me know what you think?
Best,
Nilesh
Reply to: