-
Notifications
You must be signed in to change notification settings - Fork 280
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
Update plugins, development and distributions requirements, and the distributions' Python version #1023
Update plugins, development and distributions requirements, and the distributions' Python version #1023
Conversation
Not needed now that PEP 518 is used.
Necessary so it's possible to update to the latest PyQt5 version (without loosing support for QtWebEngine).
Support newer versions of the wheel package.
Running the CircleCI build gives this error (when running the
I've yet to get the requirements installed properly on my machine to run from source, I think I need to fixup my python installation. |
From source, the plugins manager fails to load:
which I guess is intentional? |
Did you update the plugins manager to the latest version? |
Oh, yep, after installing requirements_plugins.txt, the issue's gone. I'll still have to investigate what's going on with the .app and QT. |
Trying to build the .app locally,
If I do I saw you commented on a similar issue, did you find a solution? |
Yeah, but isn't picking up certifi from your user site? I think this work fine if osx/make_app.sh | 3 +++
plover_build_utils/get_pip.py | 2 ++
2 files changed, 5 insertions(+)
diff --git i/osx/make_app.sh w/osx/make_app.sh
index 1b741f88..5bb2a4bf 100644
--- i/osx/make_app.sh
+++ w/osx/make_app.sh
@@ -56,6 +56,9 @@ mkdir "$target_libs/site-packages"
# Add sitecustomize.py -- adds the above site-packages to our Python's sys.path
cp "$plover_dir/osx/app_resources/sitecustomize.py" "$target_libs/sitecustomize.py"
+# Prefetch get-pip using the system Python (to avoid SSL errors).
+get_pip --no-download
+
# Switch to target Python.
python="$PWD/$target_dir/$target_python"
unset __PYVENV_LAUNCHER__
diff --git i/plover_build_utils/get_pip.py w/plover_build_utils/get_pip.py
index 81d1cc88..09115078 100644
--- i/plover_build_utils/get_pip.py
+++ w/plover_build_utils/get_pip.py
@@ -12,6 +12,8 @@ def get_pip(args=None):
# Download `get-pip.py`.
script = download('https://bootstrap.pypa.io/get-pip.py',
'a883be89e37dbaaabe6a5d8dfa871d3dfa8b2f9e')
+ if args == ['--no-install']:
+ return
# Make sure wheels cache directory exists to avoid warning.
if not os.path.exists(WHEELS_CACHE):
os.makedirs(WHEELS_CACHE) |
sigh pebcak: Okay--patch not needed after that. I can recreate the |
So, sure enough QtDBus.framework is present in my system install but not included in the 5.11.2 is working so it seems like 5.11.3 introduced whatever is causing an issue here. |
And if you remove |
Confirmed, removing that from the blacklist and everything's working fine with the PR as-is. Thank you for your patience. |
Initially, the idea was to stay on PyQt5 5.9.x (since Qt 5.9 is supposed to be a LTS version), and only update to new point releases, but PyQt5 does not follow that, so we might as well update to the latest version.
Note: there's no QtWebEngine support with recent win32 builds of PyQt5, hence the switch to generating a 64bits distribution.
I've tested locally the new AppImage on Arch Linux and Ubuntu Trusty, and the new Windows installer/distribution on a Windows 10 VM, someone need to test the macOS image.