Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/mu-editor/mu
Browse files Browse the repository at this point in the history
  • Loading branch information
MinoruInachi committed Apr 16, 2021
2 parents 64da801 + 5890181 commit fae55f7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
- name: Run tests
if: runner.os == 'Linux'
run: xvfb-run make check
timeout-minutes: 3
timeout-minutes: 5
- name: Run tests
if: runner.os != 'Linux'
run: python make.py check
timeout-minutes: 3
timeout-minutes: 5

build-arm:
runs-on: ubuntu-latest
Expand Down
20 changes: 11 additions & 9 deletions mu/virtual_environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,15 +604,17 @@ def install_jupyter_kernel(self):
"""
kernel_name = '"Python/Mu ({})"'.format(self.name)
logger.info("Installing Jupyter Kernel: %s", kernel_name)
return self.run_python(
"-m",
"ipykernel",
"install",
"--user",
"--name",
self.name,
"--display-name",
kernel_name,
logger.debug(
self.run_python(
"-m",
"ipykernel",
"install",
"--user",
"--name",
self.name,
"--display-name",
kernel_name,
)
)

def install_baseline_packages(self):
Expand Down
2 changes: 0 additions & 2 deletions mu/wheels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@
mode_packages = [
("pgzero", "pgzero>=1.2.1"),
("flask", "flask==1.1.2"),
("serial", "pyserial>=3.0"),
("qtconsole", "qtconsole==4.7.4"),
("nudatus", "nudatus>=0.0.3"),
("esptool", "esptool==3.*"),
]
WHEELS_DIRPATH = os.path.dirname(__file__)
Expand Down
12 changes: 1 addition & 11 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,9 @@
+ ';"arm" not in platform_machine and "aarch" not in platform_machine',
"PyQtChart==5.13.1"
+ ';"arm" not in platform_machine and "aarch" not in platform_machine',
#
# FIXME: Maybe should be in a mode?
# qtconsole, pyserial
#
"qtconsole==4.7.4",
"pyserial==3.4",
"nudatus>=0.0.3",
# `flake8` is actually a testing/packaging dependency that, among other
# packages, brings in `pycodestyle` and `pyflakes` which are runtime
# dependencies. For the sake of "locality", it is being declared here,
Expand Down Expand Up @@ -65,13 +62,6 @@
"pytest-faulthandler",
"pytest-timeout",
"coverage",
#
# Mode-specific modules needed for testing
# TODO -- maybe mode-based tests should be run
# under the runtime venv?
#
'black>=19.10b0;python_version > "3.5"',
"nudatus",
],
"docs": [
"sphinx",
Expand Down

0 comments on commit fae55f7

Please sign in to comment.