https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/cftime-1.6.2 fails tests (CYTHON3-SYSTEM). Discovered on: amd64 (internal ref: hardened_tinderbox) NOTE: (CYTHON3-SYSTEM) in the summary means that the bug was found on a machine that runs dev-python/cython-3 but this bug MAY or MAY NOT BE related to the new version of cython
Created attachment 855518 [details] build.log build log and emerge --info
Error(s) that match a know pattern: E TypeError: unsupported operand type(s) for +: 'datetime.timedelta' and 'cftime._cftime.DatetimeNoLeap' E TypeError: unsupported operand type(s) for -: 'datetime.datetime' and 'cftime._cftime.DatetimeGregorian' FAILED [ 9/2272] FAILED test/test_cftime.py::DateTime::test_add - TypeError: unsupported opera... FAILED test/test_cftime.py::DateTime::test_sub - TypeError: unsupported opera... FAILED test/test_cftime.py::TestDate2index::test_select_nc - TypeError: unsup...
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53fa2f3b204ef0dad3ecbf08b482e432123d616f commit 53fa2f3b204ef0dad3ecbf08b482e432123d616f Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-07-28 14:57:41 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-07-28 15:11:50 +0000 dev-python/cftime: Require cython<3 Bug: https://bugs.gentoo.org/898668 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/cftime/cftime-1.6.2.ebuild | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1505ba25edfd5dde254e3719460b56e60695261 commit e1505ba25edfd5dde254e3719460b56e60695261 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2023-07-31 07:17:38 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2023-07-31 07:21:19 +0000 dev-python/cftime: Backport cython-3 fix Bug: https://github.com/Unidata/cftime/issues/271 Closes: https://bugs.gentoo.org/898668 Signed-off-by: Michał Górny <mgorny@gentoo.org> ...{cftime-1.6.2.ebuild => cftime-1.6.2-r1.ebuild} | 6 +++- .../cftime/files/cftime-1.6.2-cython-3.patch | 34 ++++++++++++++++++++++ 2 files changed, 39 insertions(+), 1 deletion(-)