Closed iloveitaly closed 3 years ago
PyInstaller is only an optional dependency so it should not be in the dependencies.
Could you change the PR to only bump up the pyobjc dependencies?
Is it optional because someone could build & run from the cli without packing it up within an application?
Could you change the PR to only bump up the pyobjc dependencies?
What do you think about optional = true
instead of removing it, since it's required to run make package
?
Is it optional because someone could build & run from the cli without packing it up within an application?
It's optional because when we bundle everything in the main activitywatch repo it gets to decide which pyinstaller version to use (as it should use the same version for all modules).
What do you think about optional = true instead of removing it, since it's required to run make package?
That'd be alright! As long as it isn't installed by default (which would interfere with pre-installed versions of pyinstaller, as in the main/bundle repo's CI).
It's optional because when we bundle everything in the main activitywatch repo it gets to decide which pyinstaller version to use (as it should use the same version for all modules).
Ah, that makes complete sense! I didn't catch that. Thanks for explaining.
This was required in order to run
make package
.Also bumped pyobjc versions. This eliminates this error I ran into
RuntimeError: Wrong version of PyObjC C API (got 21, expected 20)
.