[MacPorts] #45295: py34-aplpy @0.9.12 py34-pyregion is not available
#45295: py34-aplpy @0.9.12 py34-pyregion is not available ---------------------+-------------------------------- Reporter: elenc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: | Port: py34-aplpy ---------------------+-------------------------------- py34-pyregion doesn't appear to be available. It is required when overlaying DS9 regions onto FITS images e.g. {{{ import aplpy fig = aplpy.FITSFigure("test.fits") fig.show_regions("test.reg") }}} results in {{{
python3.4 test.py WARNING: FITSFixedWarning: RADECSYS= 'FK5 ' RADECSYS is non-standard, use RADESYSa. [astropy.wcs.wcs] Traceback (most recent call last): File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4 /site-packages/aplpy/regions.py", line 88, in ds9 import pyregion ImportError: No module named 'pyregion'
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "test.py", line 4, in <module> fig.show_regions("test.reg") File "<string>", line 2, in show_regions File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4 /site-packages/aplpy/decorators.py", line 25, in _auto_refresh return f(*args, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4 /site-packages/aplpy/regions.py", line 63, in show_regions PC, TC = ds9(region_file, self._header, **kwargs) File "/opt/local/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4 /site-packages/aplpy/regions.py", line 90, in ds9 raise ImportError("The pyregion package is required to load region files") ImportError: The pyregion package is required to load region files }}} Perhaps pyregion should be added as a dependency or as a variant? -- Ticket URL: <https://trac.macports.org/ticket/45295> MacPorts <http://www.macports.org/> Ports system for OS X
#45295: py34-aplpy @0.9.12 py34-pyregion is not available -------------------------+-------------------------- Reporter: elenc@… | Owner: robitaille@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py34-aplpy | -------------------------+-------------------------- Changes (by ryandesign@…): * cc: robitaille@…, openmaintainer@… (removed) * owner: macports-tickets@… => robitaille@… -- Ticket URL: <https://trac.macports.org/ticket/45295#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#45295: py34-aplpy @0.9.12 py34-pyregion is not available -------------------------+-------------------------- Reporter: elenc@… | Owner: robitaille@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py34-aplpy | -------------------------+-------------------------- Comment (by petr@…): In r126380 I replaces py31 and py32 subports (no dependents) with py33 and py34 as openmaintainer. This should solve this issue. -- Ticket URL: <https://trac.macports.org/ticket/45295#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#45295: py34-aplpy @0.9.12 py34-pyregion is not available -------------------------+-------------------------- Reporter: elenc@… | Owner: robitaille@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py34-aplpy | -------------------------+-------------------------- Comment (by elenc@…): I've tried to install py34-pyregion but I ran into an error (I've attached the log). I'm not sure if this is something associated with my system or whether it is an issue with the py34-pyregion port. It is probably worth pointing out that py27-pyregion installs fine on my system and also that it is a dependency of py27-aplpy. -- Ticket URL: <https://trac.macports.org/ticket/45295#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#45295: py34-aplpy @0.9.12 py34-pyregion is not available -------------------------+-------------------------- Reporter: elenc@… | Owner: robitaille@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py34-aplpy | -------------------------+-------------------------- Comment (by petr@…): Okay, I will try to reproduce this. -- Ticket URL: <https://trac.macports.org/ticket/45295#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#45295: py34-aplpy @0.9.12 py34-pyregion is not available -------------------------+-------------------------- Reporter: elenc@… | Owner: robitaille@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py34-aplpy | -------------------------+-------------------------- Comment (by petr@…): For me `py27-pyregion` fails as well. There is actually already an active ticket documenting this: #44391. I'd assume it is the same issue. Can you tell when you installed py27-pyregion? May it predate the switch from distribute to setuptools? -- Ticket URL: <https://trac.macports.org/ticket/45295#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#45295: py34-aplpy @0.9.12 py34-pyregion is not available -------------------------+-------------------------- Reporter: elenc@… | Owner: robitaille@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py34-aplpy | -------------------------+-------------------------- Comment (by elenc@…): You may be right about this, I expect that it may have been a while since I last installed py27-pyregion. I checked the date of the python site- packages directory and it had 23 Jan 2014 - I'm not sure if this accurately reflects the last install/update date? I tried to uninstall/install py27-pyregion as a test and that was when I realised that it was a dependency of py27-aplpy and I was reluctant to uninstall aplpy as well since this is a package I actively use and didn't want to end up in a situation where it was no longer functional. If this will ultimately be resolved with a fix to #44391 then it is fine to close off this ticket. -- Ticket URL: <https://trac.macports.org/ticket/45295#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#45295: py34-aplpy @0.9.12 py34-pyregion is not available -------------------------+-------------------------- Reporter: elenc@… | Owner: robitaille@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: py34-aplpy | -------------------------+-------------------------- Comment (by petr@…): I will try to have a look at #44391 at some occasion, at least if the maintainer does not do this before. For now, I leave open this ticket. The maintainers of `py27-aplpy` might want to check for correct dependencies. -- Ticket URL: <https://trac.macports.org/ticket/45295#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts