From 5df693d9db11f5805c6c9fee312ea8a66cf63f0b Mon Sep 17 00:00:00 2001 From: Michael Hucka Date: Wed, 23 Dec 2020 07:40:45 -0800 Subject: [PATCH 1/3] Limit pyobjc import to what's needed Requiring 'pyobjc' causes a crap ton of pyobjc packages to be installed, but they are not all needed. Worse, it introduces a conflict with Pysubsub (because of pyobjc-framework-PubSub) that causes Pyinstaller to fail with an error in one of its hook modules. --- requirements.txt | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index a453034..87ed73e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,9 @@ pyxattr >= 0.7.1 setuptools >= 41.0.1 sidetrack >= 1.0.0 -# The following is needed by the applescript module, but because the -# applescript module doesn't have a requirements.txt, installation -# via pip ends up missing this dependency: -pyobjc >= 7.0.1 +# The following are needed by the py-applescript module, but because the +# py-applescript module doesn't have a requirements.txt, installation via pip +# ends up missing these dependencies. +pyobjc-core >= 7.0.1 +pyobjc-framework-AppleScriptKit >= 7.0.1 +pyobjc-framework-AppleScriptObjC >= 7.0.1 From 24e7bff9a48b73ebb04378a883057da9ef6171d4 Mon Sep 17 00:00:00 2001 From: Michael Hucka Date: Wed, 23 Dec 2020 08:11:02 -0800 Subject: [PATCH 2/3] Describe latest changes --- CHANGES.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 65534ef..481aee6 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,6 +1,12 @@ Change log for Zowie ==================== +Version 1.0.6 +-------------- + +This update limits the parts of the [PyObjC](https://pypi.org/project/pyobjc/) package that are required in `requirements.txt`, to improve installation time as well as avoid a conflict between `pyobjc-framework-PubSub` and the Python [PyPubSub](https://pypi.org/project/PyPubSub/) package used by [Bun](https://pypi.org/project/bun/). + + Version 1.0.5 -------------- From 1c6119d599edec516f04ad68adde80a126ee117c Mon Sep 17 00:00:00 2001 From: Michael Hucka Date: Wed, 23 Dec 2020 08:11:06 -0800 Subject: [PATCH 3/3] Version bump --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 2fbff1e..982367b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,7 +8,7 @@ [metadata] name = zowie -version = 1.0.5 +version = 1.0.6 description = Write Zotero select links into article PDF files author = Michael Hucka author_email = mhucka@caltech.edu