Opened 11 years ago

Last modified 8 years ago

#41145 closed defect

py26-pyobjc: track removal — at Version 8

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: petr@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: astrofitz@…, sean@…, lkraider+ports@…, aronnax@…, jjstickel@…, Tom.Schoonjans@…, chiszp@…, eborisch@…, robitaille@…, g5pw@…, stromnov@…
Port: py26-pyobjc

Description (last modified by petrrr)

[Summary was: py26-pyobjc needs to be downgraded to a Python 2.6-compatible version]

https://bitbucket.org/ronaldoussoren/pyobjc/issue/58/python-26-is-not-really-supported

Change History (8)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

For example, install namebench with the python26 variant. It doesn't launch. At the command line we see the problem:

$ python2.6 /Applications/MacPorts/namebench.app/Contents/Resources/main.py
Starting up on Python 2.6.8 [Darwin-13.0.0-x86_64-i386-64bit] compiled with GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)
Traceback (most recent call last):
  File "/Applications/MacPorts/namebench.app/Contents/Resources/main.py", line 25, in <module>
    import objc
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyObjC/objc/__init__.py", line 39, in <module>
    from objc._properties import *
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyObjC/objc/_properties.py", line 852
    {item}
         ^
SyntaxError: invalid syntax

comment:2 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

And now:

--->  Building py26-pyobjc
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (py26-pyobjc)
DEBUG: Environment: 
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py-pyobjc/py26-pyobjc/work/pyobjc-core-3.0.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build'
DEBUG: Executing command line:  cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_python_py-pyobjc/py26-pyobjc/work/pyobjc-core-3.0.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build 
PyObjC: Need at least Python 2.7

We probably just need to remove the py25/py26/py31/py32 subports, as we've been doing for other python ports lately.

comment:4 Changed 10 years ago by astrofitz (Michael Fitzgerald)

Cc: astrofitz@… added

Cc Me!

comment:5 Changed 9 years ago by petrrr

Cc: sean@… lkraider+ports@… added; petr@… removed
Owner: changed from macports-tickets@… to petr@…
Status: newassigned

The port has the following dependents:

  • py26-matplotlib
    • py26-astlib
    • py26-astroML
    • py26-fipy
    • py26-pymca, not openmaintainer, #49649, no py27 subport
    • py26-pyml
    • py26-scitools, not openmaintainer, #49650
    • py26-spyder
    • py26-spyder-devel
    • py26-kapteyn
    • py26-memprof
    • py26-scikit-image
  • py26-pyobjc-cocoa
    • py26-matplotlib (see above)
  • py26-pyobjc-fsevents
  • py26-pyobjc-qtkit
  • py26-pyobjc-quartz

The ports are either nomaitainer or openmaintainer. CC-ing the maintainers of the later category. I will proceed with removal of py26 subport in a few days if there are no objections.

Last edited 8 years ago by petrrr (previous) (diff)

comment:6 Changed 9 years ago by petrrr

Cc: aronnax@… jjstickel@… Tom.Schoonjans@… chiszp@… eborisch@… robitaille@… g5pw@… stromnov@… added

comment:7 Changed 9 years ago by petrrr

Adding maintainers of the relevant port.

comment:8 Changed 9 years ago by petrrr

Description: modified (diff)
Summary: py26-pyobjc needs to be downgraded to a Python 2.6-compatible versionpy26-pyobjc: track removal
Note: See TracTickets for help on using tickets.