Skip to content

Comments

terminal: handle BlockingIOError in addition to TypeError#572

Open
panlinux wants to merge 1 commit intocanonical:mainfrom
panlinux:BlockingIOError-py314
Open

terminal: handle BlockingIOError in addition to TypeError#572
panlinux wants to merge 1 commit intocanonical:mainfrom
panlinux:BlockingIOError-py314

Conversation

@panlinux
Copy link

Description

Handle BlockingIOError in addition to TypeError for non-blocking read() in terminal.py, since python 3.14 raises BlockingIOError[1] instead of TypeError when there is nothing to read.

LP: #2138802

  1. https://docs.python.org/dev/whatsnew/3.14.html#io

Checklist

  • Runs make check successfully.
  • Retains code coverage (make check-coverage).
  • New/changed keys in YAML format are documented.
  • (Optional) Adds example YAML for new feature.
  • (Optional) Closes an open bug in Launchpad.

Handle BlockingIOError in addition to TypeError for non-blocking read() in
terminal.py, since python 3.14 raises BlockingIOError instead of TypeError when
there is nothing to read.

LP: #2138802
@panlinux
Copy link
Author

Debian error:
E: Couldn't find these debs: isc-dhcp-client

Redhat error:

Configuring _netplan_cffi.c with command

python-cffi/netplan/meson.build:8:12: ERROR: Command `/usr/sbin/python3 /__w/netplan/netplan/python-cffi/netplan/_build_cffi.py /__w/netplan/netplan/include /__w/netplan/netplan/redhat-linux-build/python-cffi/netplan/src` failed with status 1.

A full log can be found at /__w/netplan/netplan/redhat-linux-build/meson-logs/meson-log.txt
error: Bad exit status from /var/tmp/rpm-tmp.zxyq49 (%build)
    Bad exit status from /var/tmp/rpm-tmp.zxyq49 (%build)

RPM build errors:
Error: Process completed with exit code 1.

Are these "normal" failures from the CI?

@slyon
Copy link
Contributor

slyon commented Feb 21, 2026

Are these "normal" failures from the CI?

Yes, those are unrelated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants