Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"pip wheel pyobjc" and "pip install pyobjc" both fail on 10.10 #103

Closed
ronaldoussoren opened this issue Nov 13, 2014 · 5 comments
Closed
Labels
bug Something isn't working

Comments

@ronaldoussoren
Copy link
Owner

Original report by Glyph (Bitbucket: Glyph, GitHub: Glyph).


wheel stops here:

  Failed building wheel for pyobjc-framework-ServerNotification
  Running setup.py bdist_wheel for pyobjc-framework-Message
  Destination directory: /Users/glyph/Library/Caches/org.pip-installer.pip/Wheelhouse
  Complete output from command /usr/bin/python -c "import setuptools;__file__='/private/var/folders/wd/y0p85qd48xx992w8rkclf7mc8xdc8d/T/pip_build_glyph/pyobjc-framework-Message/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /Users/glyph/Library/Caches/org.pip-installer.pip/Wheelhouse:
  running bdist_wheel

running build

error: This distribution is only supported on MacOSX <= 10.8

"install" also fails on pyobjc-framework-ServerNotification but the message is instead:

  Running setup.py install for pyobjc-framework-ServerNotification
    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
       or: -c --help [cmd1 cmd2 ...]
       or: -c --help-commands
       or: -c cmd --help
    
    error: option --single-version-externally-managed not recognized
@ronaldoussoren
Copy link
Owner Author

Original comment by Glyph (Bitbucket: Glyph, GitHub: Glyph).


It appears that both ServerNotification and Message are unsupported on >10.8; if this is the case, I guess the fix here would be to have the root pyobjc package stop depending on them?

@ronaldoussoren
Copy link
Owner Author

Original comment by Justin Nesselrotte (Bitbucket: jnesselr, GitHub: jnesselr).


It looks like the framework already doesn't include them as it's in DEL_REQUIRES_10_9.

It looks like the issue is that that change was made in version 3.1 which hasn't been released on pypi yet.

@ronaldoussoren
Copy link
Owner Author

Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).


Tweak setup.py for "pyobjc" to avoid installation problems on OSX 10.10

Fixes #103

@ronaldoussoren
Copy link
Owner Author

Original comment by Ronald Oussoren (Bitbucket: ronaldoussoren, GitHub: ronaldoussoren).


I've pushed a fix for this to the 3.0.x branch, and hope to push out a release tomorrow (depending on how much work is waiting for me when I get back home).

Sorry about the slow response, it's been busy at work and last week I've been travelling (thanks to an unexpected hole in the project planning).

I don't know when I'll release 3.1, for that I'll have to finish updating the framework wrappers with actual support for APIs introduced in OSX 10.10 (and in a lot of cases 10.9). Finding time to work on that has been hard :-(

@ronaldoussoren
Copy link
Owner Author

Original comment by Glyph (Bitbucket: Glyph, GitHub: Glyph).


Only having to wait 2 weeks for a response seems pretty good, in the broader context of open source - no need to apologize :). Thanks for getting to this!

@ronaldoussoren ronaldoussoren added major bug Something isn't working labels Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant