• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pybricks / pybricksdev
54%

Build:
DEFAULT BRANCH: master
Repo Added 26 May 2021 05:09PM UTC
Files 32
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • absolute-imports
  • cli-tests
  • dependabot/pip/asyncssh-2.14.2
  • dependabot/pip/black-24.3.0
  • dependabot/pip/certifi-2022.12.7
  • dependabot/pip/certifi-2023.7.22
  • dependabot/pip/certifi-2024.7.4
  • dependabot/pip/cryptography-38.0.3
  • dependabot/pip/cryptography-39.0.1
  • dependabot/pip/cryptography-41.0.0
  • dependabot/pip/cryptography-41.0.2
  • dependabot/pip/cryptography-41.0.3
  • dependabot/pip/cryptography-41.0.4
  • dependabot/pip/cryptography-42.0.4
  • dependabot/pip/cryptography-43.0.1
  • dependabot/pip/idna-3.7
  • dependabot/pip/ipython-7.31.1
  • dependabot/pip/ipython-8.10.0
  • dependabot/pip/jinja2-3.1.3
  • dependabot/pip/jinja2-3.1.4
  • dependabot/pip/jinja2-3.1.5
  • dependabot/pip/jupyter-core-4.11.2
  • dependabot/pip/mistune-2.0.3
  • dependabot/pip/nbconvert-6.3.0
  • dependabot/pip/nbconvert-6.5.1
  • dependabot/pip/pygments-2.15.0
  • dependabot/pip/requests-2.31.0
  • dependabot/pip/requests-2.32.0
  • dependabot/pip/setuptools-65.5.1
  • dependabot/pip/tornado-6.3.2
  • dependabot/pip/tornado-6.3.3
  • dependabot/pip/tornado-6.4.1
  • dependabot/pip/tornado-6.4.2
  • dependabot/pip/tqdm-4.66.3
  • dependabot/pip/urllib3-1.26.17
  • dependabot/pip/urllib3-1.26.18
  • dependabot/pip/urllib3-1.26.19
  • dlech
  • dlech-usb
  • ev3
  • ev3-fix-flash-windows
  • ev3-fstring-fix
  • explicit-text-encoding
  • feature/catch-syntax-error
  • fix-callback-order
  • fix-compile-error-message
  • fix-multi-file-compile-regression
  • fix-stdin-pipe
  • fix-usb-disconnect-timeout
  • fix-windows-ble
  • lwp3
  • mac-flash
  • mpy-tool
  • multifile-3
  • nxtflash
  • poetry-updates
  • py-3.11
  • py39
  • relative-imports
  • remove-replhub
  • repl
  • rxpy
  • typing-updates
  • usb
  • usb-clear-halt-instead-of-reset
  • usb-updates
  • usb2
  • v1.0.0
  • v1.0.0-alpha.10
  • v1.0.0-alpha.11
  • v1.0.0-alpha.12
  • v1.0.0-alpha.13
  • v1.0.0-alpha.14
  • v1.0.0-alpha.16
  • v1.0.0-alpha.17
  • v1.0.0-alpha.18
  • v1.0.0-alpha.19
  • v1.0.0-alpha.20
  • v1.0.0-alpha.21
  • v1.0.0-alpha.22
  • v1.0.0-alpha.23
  • v1.0.0-alpha.24
  • v1.0.0-alpha.25
  • v1.0.0-alpha.26
  • v1.0.0-alpha.27
  • v1.0.0-alpha.28
  • v1.0.0-alpha.29
  • v1.0.0-alpha.30
  • v1.0.0-alpha.32
  • v1.0.0-alpha.33
  • v1.0.0-alpha.34
  • v1.0.0-alpha.35
  • v1.0.0-alpha.36
  • v1.0.0-alpha.37
  • v1.0.0-alpha.38
  • v1.0.0-alpha.39
  • v1.0.0-alpha.40
  • v1.0.0-alpha.41
  • v1.0.0-alpha.42
  • v1.0.0-alpha.43
  • v1.0.0-alpha.44
  • v1.0.0-alpha.45
  • v1.0.0-alpha.46
  • v1.0.0-alpha.47
  • v1.0.0-alpha.48
  • v1.0.0-alpha.49
  • v1.0.0-alpha.50
  • v1.0.0-alpha.51
  • v1.0.0-alpha.52
  • v1.0.0-alpha.9
  • v1.0.1
  • v1.1.0
  • v1.2.0
  • v2.0.0
  • v2.0.1
  • v2.1.0
  • v2.1.1
  • v2.2.0
  • v2.3.0
  • v2.3.1
  • v2.3.2
  • work

24 Jan 2026 10:11PM UTC coverage: 53.875% (-0.01%) from 53.889%
21322419713

push

github

dlech
pybricks.connections.pybricks: Clear halt on endpoints instead of resetting device.

Change how we ensure the USB endpoints are in a good state when connecting
to a device. Instead of resetting the device, which is not supported on all
platforms, we now clear the halt condition on both endpoints.

We were doing the reset to ensure that the even/odd data toggle state
was correct. The reset, if supported, would completely reset the
connection and re-enumerate the device, which is more that we need.
On Windows, resetting is not supported and libusb would poke all endpoints
like this as a best-effort approximation of a reset. So now, the code
reflects what is actually important and will be helpful if we switch to
something other than pyusb in the future.

75 of 265 branches covered (28.3%)

Branch coverage included in aggregate %.

2052 of 3683 relevant lines covered (55.72%)

0.56 hits per line

Relevant lines Covered
Build:
Build:
3683 RELEVANT LINES 2052 COVERED LINES
0.56 HITS PER LINE
Source Files on master
  • Tree
  • List 32
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
21322419713 master pybricks.connections.pybricks: Clear halt on endpoints instead of resetting device. Change how we ensure the USB endpoints are in a good state when connecting to a device. Instead of resetting the device, which is not supported on all platforms, ... push 24 Jan 2026 10:12PM UTC dlech github
53.88
21308660275 master v2.3.2 push 24 Jan 2026 03:47AM UTC dlech github
53.89
21308642742 master pybricksdev.compile: fix multi-file compile of __init__.py files Add additional searches for package __init__.py files when compiling multi-file projects. This was missed in the original implementation of import lookup using mpy-tool. Fixes: ht... push 24 Jan 2026 03:45AM UTC dlech github
53.89
21120008167 master v2.3.1 push 18 Jan 2026 10:53PM UTC dlech github
53.82
21119966775 master connections.ev3: Fix flashing on Windows. Windows requires a reportid byte at the front of each sent message for an HID device, even if the device doesn't use reportids. Adding this synthetic 0x00 to the front of the message enables successful EV... push 18 Jan 2026 10:50PM UTC web-flow github
53.82
20353478971 master connections.ev3: Fix missing "f" in front of fstring for error message. Fix a missing f in a string intended as an fstring. push 18 Dec 2025 10:37PM UTC web-flow github
53.83
19788516070 master pyproject: bump mpy-cross versions The old version was crashing with segfault if there was a syntax error. push 29 Nov 2025 07:48PM UTC dlech github
53.83
19777394880 master compile: New implementation of multi-file compilation using mpy-tool. Add a new implementation of `compile_multi_file()` that uses `mpy-tool` to find imports. This will work better than the previous implementation that used Python's `ModuleFinder... push 29 Nov 2025 02:01AM UTC dlech github
53.83
18983093606 master v2.3.0 push 31 Oct 2025 07:26PM UTC laurensvalk github
52.96
18983077070 master compile: Add option for binary output. push 31 Oct 2025 07:25PM UTC laurensvalk github
52.96
See All Builds (505)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc