Opened 21 months ago

Closed 21 months ago

Last modified 21 months ago

#66996 closed defect (fixed)

py27-matplotlib @2.2.5: couldn't read file mplsetup.cfg: no such file or directory

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: py-matplotlib

Description

https://build.macports.org/builders/ports-13_arm64-builder/builds/1040/steps/install-port/logs/stdio

--->  Patching mplsetup.cfg: s|@@PREFIX@@|/opt/local|
DEBUG: couldn't read file "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_python_py-matplotlib/py27-matplotlib/work/matplotlib-2.2.5/mplsetup.cfg": no such file or directory

Change History (3)

comment:1 Changed 21 months ago by reneeotten (Renee Otten)

thanks Ryan and apologies for the oversight... I did some clean-up of the Portfile after removing EOL Python versions without dependents but didn't move setting the configfile to the correct place.

We should really try to purge all these py27 subports to avoid all these additional code to keep a pre-historic Python version running. I'd be in favor of just setting a deadline for ending Python 2.7 support and if ports cannot be transitioned to a recent Python3 port they'll be removed at that point...

comment:2 Changed 21 months ago by reneeotten (Renee Otten)

Resolution: fixed
Status: assignedclosed

In 71d21b3187dc9733f910556102fbfcd406ad44d9/macports-ports (master):

py-matplotlib: fix filename for configfile

Closes: #66996

comment:3 in reply to:  1 Changed 21 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to reneeotten:

We should really try to purge all these py27 subports to avoid all these additional code to keep a pre-historic Python version running. I'd be in favor of just setting a deadline for ending Python 2.7 support and if ports cannot be transitioned to a recent Python3 port they'll be removed at that point...

Don't forget, however, that the MacPorts Buildbot setup, which is installed using MacPorts ports, uses Python 2.7. This Python 2.7 module is not involved in that but others are and so those should not be removed. Upstream support for Python 2.7 only ended three years ago; it's hardly "pre-historic". Updating to use Python 3 is not always trivial. For example, we use Buildbot 0.8, which is not compatible with Python 3. Buildbot 0.9 and later are, in my view, a different and inferior piece of software, at least as far as the web interface is concerned.

Note: See TracTickets for help on using tickets.