Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 927521

Summary: dev-python/protobuf: still uses 'distutils_enable_tests setup.py'
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: CONFIRMED ---    
Severity: normal CC: cjk
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/36885
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 927512    

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-03-22 13:23:48 UTC
`distutils_enable_tests setup.py` is deprecated and going to be removed from the eclass (following upstream deprecation of the same thing).  Please switch to some other unittest provider, e.g. `unittest` or `pytest`.
Comment 1 Larry the Git Cow gentoo-dev 2024-07-09 12:52:31 UTC
The bug has been closed via the following commit(s):

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

commit ea43d63d1245912a9bf8e259b70f3e2cdf51d204
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2024-07-07 20:01:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-07-09 12:51:25 +0000

    dev-python/protobuf-python: update 5.27.2, drop 9999
    
    protobuf-python can no longer be build from github archives.
    https://github.com/protocolbuffers/protobuf/blob/main/python/README.md#building-from-setuppy
    
    Closes: https://bugs.gentoo.org/920646
    Closes: https://bugs.gentoo.org/933068
    Closes: https://bugs.gentoo.org/927521
    Closes: https://github.com/gentoo/gentoo/pull/36885
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../protobuf-python/protobuf-python-5.27.2.ebuild  | 74 ++++----------------
 .../protobuf-python/protobuf-python-9999.ebuild    | 79 ----------------------
 2 files changed, 13 insertions(+), 140 deletions(-)
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-09-08 13:51:05 UTC
Let's keep this open until old ebuilds are gone.