Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678132 - =dev-python/multidict-4.5.2 should depend on >=dev-python/cython-0.28.4
Summary: =dev-python/multidict-4.5.2 should depend on >=dev-python/cython-0.28.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-16 09:20 UTC by M8R-u38wij
Modified: 2019-02-16 17:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M8R-u38wij 2019-02-16 09:20:35 UTC
"emerge =dev-python/multidict-4.5.2" fails if <dev-python/cython-0.28.4 because multidict-4.5.2 uses a new feature of cython, rich comparisons [1], which is missing in cython-0.26 and older, so ebuild fails:

Error compiling Cython file:
------------------------------------------------------------
...
        for k, v in self.items():
            lst.append("'{}': {!r}".format(k, v))
        body = ', '.join(lst)
        return '<{}({})>'.format(self.__class__.__name__, body)

    def __eq__(self, arg):
   ^
------------------------------------------------------------

multidict/_multidict.pyx:102:4: Special method __eq__ must be implemented via __richcmp__

[1] https://cython.readthedocs.io/en/latest/src/userguide/special_methods.html#rich-comparisons
Comment 1 Larry the Git Cow gentoo-dev 2019-02-16 17:37:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=042df921ab6de405ec70ab225d1d0afc24ac6f93

commit 042df921ab6de405ec70ab225d1d0afc24ac6f93
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2019-02-16 17:33:08 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-02-16 17:36:58 +0000

    dev-python/multidict: require at least cython-0.28.4
    
    Closes: https://bugs.gentoo.org/678132
    Package-Manager: Portage-2.3.60, Repoman-2.3.12
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 dev-python/multidict/multidict-4.5.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 2 Zac Medico gentoo-dev 2019-02-16 17:39:11 UTC
Thanks!