Re: Matplotlib 3.10.0 for trixie?
- To: James Addison <jay@jp-hosting.net>
- Cc: Nilesh Patra <nilesh@debian.org>, debian-python@lists.debian.org
- Subject: Re: Matplotlib 3.10.0 for trixie?
- From: Alexandre Detiste <alexandre.detiste@gmail.com>
- Date: Thu, 23 Oct 2025 17:46:33 +0200
- Message-id: <[🔎] CADsTwjKsjh10O4z6FA4fBgfy+BqDOsJv_sBSGBgqYs3RRyKvoQ@mail.gmail.com>
- In-reply-to: <CALDQ5Ny_oBD+ePM=XEW7qJC4u6moQvtBHjPfo9ZU9ntbrRE89w@mail.gmail.com>
- 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> <ae3dd419-4b01-4801-9a74-7f87179f943d@debian.org> <CALDQ5Ny_oBD+ePM=XEW7qJC4u6moQvtBHjPfo9ZU9ntbrRE89w@mail.gmail.com>
Hi,
Trixie has been released.
We/you can proceed with the plan to remove
the current unpatched/verbatim /etc/matplotlibrc
Greetings
Alexandre
Le sam. 12 avr. 2025 à 14:48, James Addison <jay@jp-hosting.net> a écrit :
>
> Hi Nilesh, Alex,
>
> Responding to the first point only, at the moment:
>
> On Sat, 12 Apr 2025 at 07:39, Nilesh Patra <nilesh@debian.org> wrote:
> > [ ... snip ... ]
> > 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.
>
> Ah; what is the problem related to the maintscripts?
>
> The /etc/matplotlibrc file is considered a config file by apt/dpkg (it
> is not removed unless a purge is requested), so I was hoping that
> shipping a default/unmodified matplotlibrc in an updated 3.10 upload
> (as Alex suggests in his thread) would provide a useful additional
> conflict-resolution step for anyone who has modified theirs.
>
> > 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.
>
> I don't have a strong opinion about this part, although when in
> sysadmin mode, I do tend to go looking in /etc first to find config
> files.
>
> On the other hand, we wouldn't be the first package to read config
> files from elsewhere on the filesystem - pipewire springs to mind as
> another case where default config files are located under /usr/share,
> for example.
>
> > 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.
>
> +1 to a NEWS entry. I'm not so sure about removing the conffile
> entirely yet, though. I think it may be safer to treat it as a
> feature deprecation, allowing time for feedback about any use cases
> that seem to require it and/or for users to migrate to alternatives.
>
> Regards,
> James
Reply to: