Source: python-mastodon
Version: 2.0.1-1
Severity: serious
Your package fails its autopktests on i386 and riscv64, with different failures.
i386:
https://ci.debian.net/packages/p/python-mastodon/testing/i386/59129591/
test_entity_scheduledstatus
598s > isotime = datetime_val.astimezone(timezone.utc).strftime("%Y-%m-%dT%H:%M:%S%z")
598s E OverflowError: timestamp out of range for platform time_t
598s /usr/lib/python3/dist-packages/mastodon/internals.py:57: OverflowError
...
598s FAILED tests/test_entities.py::test_entity_scheduledstatus - OverflowError: t...
598s FAILED tests/test_entities.py::test_entity_scheduledstatusparams - OverflowEr...
598s ======= 2 failed, 404 passed, 18 skipped, 4 xfailed in 511.16s (0:08:31) =======
598s E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /tmp/autopkgtest-lxc.p73qmadi/downtmp/autopkgtest_tmp/build; python3.13 -m pytest tests
598s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.13 returned exit code 13
598s make: *** [/tmp/Cy9JnlOTlD/run:4: pybuild-autopkgtest] Error 25
598s pybuild-autopkgtest: error: /tmp/Cy9JnlOTlD/run pybuild-autopkgtest returned exit code 2
riscv64:
https://ci.debian.net/packages/p/python-mastodon/testing/riscv64/59130021/
test_stream_user_direct
4122s > assert len(updates) == 2
4122s E AssertionError: assert 1 == 2
4122s E + where 1 = len([Status({'id': 113998814023821196, 'uri': '
http://localhost:3000/users/mastodonpy_test/statuses/113998814023821196', '..., 'muted': False, 'pinned': False, 'replies_count': 0, 'card': None, 'poll': None, 'edited_at': None,
'filtered': []})])
4122s tests/test_streaming.py:389: AssertionError
test_stream_user_local
4122s assert len(updates) == 1
4122s > assert updates[0].id == posted[0].id
4122s E IndexError: list index out of range
4122s tests/test_streaming.py:439: IndexError
4122s FAILED tests/test_streaming.py::test_stream_user_direct - AssertionError: ass...
4122s FAILED tests/test_streaming.py::test_stream_user_local - IndexError: list ind...
4122s = 2 failed, 404 passed, 18 skipped, 4 xfailed, 1 warning in 3743.73s (1:02:23) =
4125s E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /tmp/autopkgtest-lxc.p6jkhijk/downtmp/autopkgtest_tmp/build; python3.13 -m pytest tests
4125s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p 3.13 returned exit code 13
4125s make: *** [/tmp/HUDgHaA4IR/run:4: pybuild-autopkgtest] Error 25
4125s pybuild-autopkgtest: error: /tmp/HUDgHaA4IR/run pybuild-autopkgtest returned exit code 2
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)