Skip to content

Commit

Permalink
Update to latest PyQt5. TODO: Fix PyGame related things.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntoll committed Feb 17, 2025
1 parent 563cb86 commit 90f90a9
Showing 1 changed file with 11 additions and 22 deletions.
33 changes: 11 additions & 22 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,19 @@
# The core 'install_requires' should only be things
# which are needed for the main editor to function.
#
"PyQt5-sip<=12.13.0"
"PyQt5-sip<=12.17.0"
+ ';"arm" not in platform_machine and "aarch" not in platform_machine',
"PyQt5==5.13.2"
"PyQt5==5.15.11"
+ ';"arm" not in platform_machine and "aarch" not in platform_machine',
"QScintilla==2.11.3"
"QScintilla==2.14.1"
+ ';"arm" not in platform_machine and "aarch" not in platform_machine',
"PyQtChart==5.13.1"
"PyQtChart==5.15.7"
+ ';"arm" not in platform_machine and "aarch" not in platform_machine',
# FIXME: Needed for qtconsole, this is the latest wheel in armv7l for
# Python 3.7 (Buster), otherwise it tries to build from source and fails.
"pyzmq<=26.0.3",
# FIXME: jupyter-client added for Py3.5 compatibility, to be dropped after
# Mu v1.1 release. So, qtconsole < 5 and jupyter-client < 6.2 (issue #1444)
"jupyter-client>=4.1,<6.2",
# FIXME: ipykernel max added for macOS 10.13 compatibility, min taken from
# qtconsole 4.7.7. Full line can be removed after Mu v1.1 release.
# Dependency mirrored for user venv in mu/wheels/__init__.py
"ipykernel>=4.1,<6",
# FIXME: ipykernel<6 depends on ipython_genutils, but it isn't explicitly
# declared as a dependency. It also depends on traitlets, which
# incidentally brought ipython_genutils, but in v5.1 it was dropped, so as
# a workaround we need to manually specify it here.
"ipython_genutils>=0.2.0",
"qtconsole==4.7.7",
"qtconsole==5.6.1",
#
# adafruit-board-toolkit is used to find serial ports and help identify
# CircuitPython boards in the CircuitPython mode.
"adafruit-board-toolkit~=1.1",
"adafruit-board-toolkit~=1.1.2",
"pyserial~=3.5",
"nudatus>=0.0.3",
# `flake8` is actually a testing/packaging dependency that, among other
Expand Down Expand Up @@ -80,6 +65,10 @@
# Needed to resolve an issue with paths in the user virtual environment
#
"pywin32; sys_platform=='win32'",
# PyGame
"pygame==2.6.1",
# PyGameZero
"pgzero==1.2.1",
]


Expand Down Expand Up @@ -133,7 +122,7 @@
"mu.modes.api",
"mu.wheels",
],
python_requires=">=3.5,<3.9",
python_requires=">=3.10,<3.13",
install_requires=install_requires,
extras_require=extras_require,
package_data={"mu.wheels": ["*.whl", "*.zip"]},
Expand Down

0 comments on commit 90f90a9

Please sign in to comment.