Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722224 - app-arch/brotli [python] vs dev-python/brotlipy conflict
Summary: app-arch/brotli [python] vs dev-python/brotlipy conflict
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2020-05-10 19:36 UTC by Carlo
Modified: 2022-05-18 15:53 UTC (History)
4 users (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 Carlo 2020-05-10 19:36:34 UTC
* app-arch/brotli offers a python use flag
* dev-python/brotlipy is blocking it via !app-arch/brotli[python] dependency
=> BUG: app-arch/brotli[python] is not blocking dev-python/brotlipy

And the current woeful state of Gentoo is, that some packages depend on app-arch/brotli[${PYTHON_USEDEP},python] while others do depend on dev-python/brotlipy[${PYTHON_USEDEP}].

Hopefully someone sorts this out rather sooner than later.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-05-14 05:51:06 UTC
(In reply to Carlo from comment #0)
> * app-arch/brotli offers a python use flag
> * dev-python/brotlipy is blocking it via !app-arch/brotli[python] dependency
> => BUG: app-arch/brotli[python] is not blocking dev-python/brotlipy

It's entirely sufficient for blockers to be defined one way.

> And the current woeful state of Gentoo is, that some packages depend on
> app-arch/brotli[${PYTHON_USEDEP},python] while others do depend on
> dev-python/brotlipy[${PYTHON_USEDEP}].
> 
> Hopefully someone sorts this out rather sooner than later.

Can't do much about it.  The two are only partially compatible, so if upstream relies on one, it won't work with other.  For other packages, it is just a matter of testing.
Comment 2 Anton Bolshakov 2020-06-06 14:48:30 UTC
net-proxy/mitmproxy doesn't not require brotlipy. According to setup.py         >=app-arch/brotli-1.0[python,${PYTHON_USEDEP}] should be used instead
Comment 3 Anton Bolshakov 2020-06-06 14:52:28 UTC
mitmproxy is also missing zstandard (at least).

pkg_resources.DistributionNotFound: The 'zstandard' distribution was not found and is required by mitmproxy

Mitmproxy was pushed to the tree recently, but a maintainer broke in a transition from github pull request.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-06-06 15:35:43 UTC
(In reply to Anton Bolshakov from comment #3)
> mitmproxy is also missing zstandard (at least).
> 
> pkg_resources.DistributionNotFound: The 'zstandard' distribution was not
> found and is required by mitmproxy
> 
> Mitmproxy was pushed to the tree recently, but a maintainer broke in a
> transition from github pull request.

File a bug for this please.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-06-19 11:51:14 UTC
I'm masking dev-python/brotlipy for removal.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-18 15:53:55 UTC
brotlipy is now gone.