[MacPorts] #44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer)
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------+------------------------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: haspatch | Port: gpodder py-SRPAstro py-aplpy py- | psychopy py-pyphant-imageprocessing py-pyphant- | osc py-pyphant-tools -------------------------+------------------------------------------------- In accordance with communication on the MP users mailing list, I have changed `py*-pil` dependencies to `path:`-based ones satisfiable by both `py*-pil` and `py*-Pillow`. This patchset is tracking and targeted at maintained non-openmaintainer ports. Don't commit the patchset without maintainer consent, please. I'll update this ticket as I get responses. (Not CC'ing maintainers, as I have sent them eMails individually and people don't need to be bothered for other stuff but their own ports.) -- Ticket URL: <https://trac.macports.org/ticket/44285> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: gpodder py-SRPAstro py-aplpy py- | Keywords: haspatch psychopy py-pyphant-imageprocessing py- | pyphant-osc py-pyphant-tools | -------------------------------------------------+------------------------- Comment (by mojca@…): Three out of seven ports are about `pyphant`. Please see also #40347. I would suggest to "clean up" `pyphant` either before or at the same time as committing this change. We could also remove support for python26 which is only there because of `py26-wxwidgets-2.8` (to allow side-by-side installation with `py27-wxwidgets-3.0`) and wxWidgets 2.8 are no longer required. -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: gpodder py-SRPAstro py-aplpy py- | Keywords: haspatch psychopy py-pyphant-imageprocessing py- | pyphant-osc py-pyphant-tools | -------------------------------------------------+------------------------- Comment (by ionic@…): `py-SRPAstro` (`stefano.covino@`): OK -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: gpodder py-SRPAstro py-aplpy py- | Keywords: haspatch psychopy py-pyphant-imageprocessing py- | pyphant-osc py-pyphant-tools | -------------------------------------------------+------------------------- Comment (by ionic@…): Replying to [comment:2 mojca@…]:
I would suggest to "clean up" `pyphant` either before or at the same time as committing this change.
I'm OK either way. Your updated `Portfile` replacing all 6 ports is only requiring a change on line 150 to "path:${python.pkgd}/PIL:py${python.version}-Pillow" Also, please note that 2 of my differences are only changing comments for `pyphant` ports `py-pyphant-tools` and `py-pyphant-osc`. [[BR]][[BR]]
We could also remove support for python26 which is only there because of `py26-wxwidgets-2.8` (to allow side-by-side installation with `py27-wxwidgets-3.0`) and wxWidgets 2.8 are no longer required.
My changes do not depend on the python version, as far as it is 2.6 or up. :) Feel free to remove anything. For `python PortGroup` ports, the change is even pretty trivial. -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: gpodder py-SRPAstro py-aplpy py- | Keywords: haspatch psychopy py-pyphant-imageprocessing py- | pyphant-osc py-pyphant-tools | -------------------------------------------------+------------------------- Comment (by ionic@…): (Removed revbumps) -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: gpodder py-SRPAstro py-aplpy py- | Keywords: haspatch psychopy py-pyphant-imageprocessing py- | pyphant-osc py-pyphant-tools | -------------------------------------------------+------------------------- Comment (by mojca@…): Replying to [comment:4 ionic@…]:
Also, please note that 2 of my differences are only changing comments for `pyphant` ports `py-pyphant-tools` and `py-pyphant-osc`.
Please note that I didn't even see your patch ;) -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: gpodder py-SRPAstro py-aplpy py- | Keywords: haspatch psychopy py-pyphant-imageprocessing py- | pyphant-osc py-pyphant-tools | -------------------------------------------------+------------------------- Comment (by ionic@…): Just regard those changes as non-existent for your `pyphant` cleanup. There's no need to wait for pushing the changes to the (current) 3 `pyphant` ports. I'll attach a patch for your cleaned up `Portfile` later today in the other ticket. -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: gpodder py-SRPAstro py-aplpy py- | Keywords: haspatch psychopy py-pyphant-imageprocessing py- | pyphant-osc py-pyphant-tools | -------------------------------------------------+------------------------- Comment (by ionic@…): `gpodder` will be handled in #44306. Can be removed from this ticket. Patchset will be updated soon. -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: gpodder py-SRPAstro py-aplpy py- | Keywords: haspatch psychopy py-pyphant-imageprocessing py- | pyphant-osc py-pyphant-tools | -------------------------------------------------+------------------------- Comment (by ionic@…): `py-SRPAstro` will be handled in #44308. Can be removed from this ticket. Patchset will be updated soon. -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: py-aplpy py-psychopy py-pyphant- | Keywords: haspatch imageprocessing py-pyphant-osc py-pyphant- | tools | -------------------------------------------------+------------------------- Changes (by mf2k@…): * port: gpodder py-SRPAstro py-aplpy py-psychopy py-pyphant-imageprocessing py-pyphant-osc py-pyphant-tools => py-aplpy py-psychopy py-pyphant-imageprocessing py-pyphant-osc py- pyphant-tools -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: py-aplpy py-psychopy py-pyphant- | Keywords: haspatch imageprocessing py-pyphant-osc py-pyphant- | tools | -------------------------------------------------+------------------------- Comment (by petr@…): `py-aplpy` does not install for me, due to dependency `py-pyregions`, see #44391; -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: macports- Type: enhancement | tickets@… Priority: Normal | Status: new Component: ports | Milestone: Resolution: | Version: Port: py-aplpy py-psychopy py-pyphant- | Keywords: haspatch imageprocessing py-pyphant-osc py-pyphant- | tools | -------------------------------------------------+------------------------- Comment (by petr@…): In r122358 I committed the patch for `py-aplpy` and `py-psychopy`. I will leave decision on how to further proceed with the `py-pyphant-*` related stuff to mojca and the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: rowue@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: py-aplpy py-psychopy py-pyphant- | imageprocessing py-pyphant-osc py-pyphant- | tools | -------------------------------------------------+------------------------- Changes (by petr@…): * cc: servicegruppe.wissinfo@…, alexander.held@… (added) * owner: macports-tickets@… => rowue@… -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: rowue@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: py-aplpy py-psychopy py-pyphant- | imageprocessing py-pyphant-osc py-pyphant- | tools | -------------------------------------------------+------------------------- Comment (by alexander.held@…): Replying to [comment:4 ionic@…]:
...
Also, please note that 2 of my differences are only changing comments
for `pyphant` ports `py-pyphant-tools` and `py-pyphant-osc`.
...
The commented-out dependencies in py-pyphant-tools and py-pyphant-osc are outdated and have been removed. The suggested patch for py-pyphant- imageprocessing will break the port, as PIL is also a dependency on the setuptools level. The runtime plugin mechanism for adding the py-pyphant- imageprocessing toolbox to py-pyphant will fail when it cannot resolve this dependency as it is based on pkg_resources. The Pillow/PIL fallback mechanism would also have to be implemented on the setuptools level. We are working on a solution for py-pyphant-imageprocessing. Any helpful input is welcome. We have also set all pyphant related ports to openmaintainer. -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) -------------------------------------------------+------------------------- Reporter: ionic@… | Owner: rowue@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: py-aplpy py-psychopy py-pyphant- | imageprocessing py-pyphant-osc py-pyphant- | tools | -------------------------------------------------+------------------------- Comment (by mojca@…): I committed r122639 to merge the pyphant ports. The comment about PIL probably still applies (I didn't even try), so I didn't touch it. -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) ----------------------------------------------+---------------------- Reporter: ionic@… | Owner: rowue@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: py-aplpy py-psychopy py-pyphant | ----------------------------------------------+---------------------- Changes (by mojca@…): * port: py-aplpy py-psychopy py-pyphant-imageprocessing py-pyphant-osc py- pyphant-tools => py-aplpy py-psychopy py-pyphant -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) ----------------------------------------------+---------------------- Reporter: ionic@… | Owner: rowue@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: py-aplpy py-psychopy py-pyphant | ----------------------------------------------+---------------------- Comment (by ionic@…): Replying to [comment:16 alexander.held@…]:
The commented-out dependencies in py-pyphant-tools and py-pyphant-osc are outdated and have been removed.
Thanks (also to Mojca!) :) [[BR]][[BR]]
The suggested patch for py-pyphant-imageprocessing will break the port, as PIL is also a dependency on the setuptools level. The runtime plugin mechanism for adding the py-pyphant-imageprocessing toolbox to py-pyphant will fail when it cannot resolve this dependency as it is based on pkg_resources. The Pillow/PIL fallback mechanism would also have to be implemented on the setuptools level. We are working on a solution for py- pyphant-imageprocessing. Any helpful input is welcome. We have also set all pyphant related ports to openmaintainer.
Thanks for checking. Unfortunately, I cannot provide any help. I've been looking around the setuptools documentation, but couldn't find any mention of multiple dependencies/packages satisfying one dependency. Maybe there is just no such thing in setuptools yet? -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) ----------------------------------------------+---------------------- Reporter: ionic@… | Owner: rowue@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: py-aplpy py-psychopy py-pyphant | ----------------------------------------------+---------------------- Comment (by mojca@…): I would suggest to either rename this ticket or to close it and open a new one devoted just to this single issue (PIL & pyphant). All the other trivial patches have been applied already. Maybe opening a new one is better? -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) ----------------------------------------------+---------------------- Reporter: ionic@… | Owner: rowue@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: haspatch Port: py-aplpy py-psychopy py-pyphant | ----------------------------------------------+---------------------- Comment (by alexander.held@…): Replying to [comment:20 mojca@…]:
I would suggest to either rename this ticket or to close it and open a new one devoted just to this single issue (PIL & pyphant). All the other trivial patches have been applied already. Maybe opening a new one is better?
I have opened ticket #44472 regarding py27-pyphant-imageprocessing and PIL/Pillow -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:21> MacPorts <http://www.macports.org/> Ports system for OS X
#44285: python-related: switch from py*-pil to path-based dependency (maintained, no openmaintainer) ----------------------------------------------+---------------------- Reporter: ionic@… | Owner: rowue@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: haspatch Port: py-aplpy py-psychopy py-pyphant | ----------------------------------------------+---------------------- Changes (by mojca@…): * status: new => closed * resolution: => fixed -- Ticket URL: <https://trac.macports.org/ticket/44285#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts