Summary: | dev-python/cftime-1.6.2 fails tests (CYTHON3-SYSTEM) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/Unidata/cftime/issues/271 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 897934 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2023-03-02 08:22:39 UTC
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(-) |