ipyparallel ftbfs with Python 3.12 as default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ipyparallel (Debian) |
New
|
Unknown
|
|||
ipyparallel (Ubuntu) |
Fix Released
|
Undecided
|
Graham Inggs |
Bug Description
Imported from Debian bug http://
Package: src:ipyparallel
Version: 7.1.0-5
Severity: serious
Tags: sid trixie ftbfs
User: <email address hidden>
Usertags: python3.12
With python3-defaults from experimental, the package fails to build:
[...]
=======
=======
_______
_______
warn_mock = <MagicMock name='warn' id='14070204586
@mock.
def test_disambigua
# garbage in, garbage out
assert util.disambigua
assert util.disambigua
socket.
assert util.disambigua
wontresolve
assert warn_mock.
> )
ipyparallel/
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _
self = <MagicMock name='warn' id='14070204586
'called_once_with'
def __getattr__(self, name):
if name in {'_mock_methods', '_mock_unsafe'}:
raise AttributeError(
elif self._mock_methods is not None:
if name not in self._mock_methods or name in _all_magics:
% name)
elif _is_magic(name):
raise AttributeError(
if not self._mock_unsafe and (not self._mock_methods or name
not in self._mock_
if name.startswith
'assrt')) or name in _ATTRIB_DENY_LIST:
> raise AttributeError(
attribute.")
E AttributeError: 'called_once_with' is not a valid
assertion. Use a spec for the mock if 'called_once_with' is meant to be
an attribute.. Did you mean: 'assert_
/usr/lib/
Changed in ipyparallel (Ubuntu): | |
assignee: | nobody → Chris Peterson (cpete) |
tags: | added: update-excuse |
Changed in ipyparallel (Debian): | |
importance: | Undecided → Unknown |
Changed in ipyparallel (Ubuntu): | |
assignee: | nobody → Graham Inggs (ginggs) |
Changed in ipyparallel (Ubuntu): | |
status: | In Progress → Fix Committed |
Patch attached. Seemingly only one instance of this issue.
Now passing autopkgtests: https:/ /autopkgtest. ubuntu. com/results/ autopkgtest- noble-cpete- ipyparallel/ noble/amd64/ i/ipyparallel/ 20240209_ 042815_ 6addc@/ log.gz