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

setuptools 60.8.1 and newer fail #412

Closed
MAKOMO opened this issue Mar 8, 2022 · 1 comment
Closed

setuptools 60.8.1 and newer fail #412

MAKOMO opened this issue Mar 8, 2022 · 1 comment

Comments

@MAKOMO
Copy link
Contributor

MAKOMO commented Mar 8, 2022

The bundled app crashes with the message below for setuptools 60.8.1, 60.8.2 and 60.9.3 (and most likely also 60.9.0, 60.9.1, and 60.9.2; but untestet).

The bundled app runs as expected with setuptools 60.6.0, 60.7.0, 60.7.1 and 60.8.0.

Thus something changed between setuptools 60.8.0 and 60.8.1.

I am using pip installed py2app 0.27 and current trunk.

0/artisanlib/main.py", line 39053, in <module>
  File "Cocoa/__init__.pyc", line 9, in <module>
  File "AppKit/__init__.pyc", line 10, in <module>
  File "Foundation/__init__.pyc", line 9, in <module>
  File "CoreFoundation/__init__.pyc", line 9, in <module>
  File "objc/__init__.pyc", line 29, in <module>
  File "objc/_bridgesupport.pyc", line 15, in <module>
  File "pkg_resources/__init__.pyc", line 74, in <module>
  File "pkg_resources/extern/__init__.pyc", line 52, in create_module
  File "pkg_resources/extern/__init__.pyc", line 44, in load_module
ImportError: The 'jaraco.text' package is required; normally this is bundled with this package so if you get this warning, consult the packager of your distribution.
@ronaldoussoren
Copy link
Owner

Thanks for the report. The code that finds vendors dependencies in pkg_resources wasn't smart enough and failed to find some of those packages, in particular 'jaraco.text'. The updated code should be more resilient w.r.t. changes in pkg_resources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants