Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install brotli return a deprecation warning #981

Open
yota-code opened this issue Oct 16, 2022 · 3 comments
Open

pip install brotli return a deprecation warning #981

yota-code opened this issue Oct 16, 2022 · 3 comments

Comments

@yota-code
Copy link

For an install (here on a raspberrypi) of brotli 1.0.9 I got a warning from pip which says:

DEPRECATION: brotli is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at pypa/pip#8559

  • raspberrypi3 with raspbian 10
  • python-3.10.8
  • pip 22.3
@yota-code yota-code changed the title pi install return a deprecation warning pip install brotli return a deprecation warning Oct 16, 2022
@sk0x1234
Copy link

Failing on python version 3.11+.

@anthrotype
Copy link
Member

anthrotype commented Nov 21, 2022

it should have been fixed on main branch with #987, however we will need a new tagged release for that trickle down to the python source distribution (sdist) package. The brotli python package's version (as defined in setup.py) is the same as the main brotli C library version from common/version.h header. The sdist is built and deployed to PyPI from this other github repository, https://github.com/google/brotli-wheels. Once a new upstream brotli release is made, we can build updated sdist and wheel packages.

Last weeek we also published pre-compiled wheels of Brotli v1.0.9 for Python 3.11 for all major operating systems and architectures, though I am not sure those cover the OP's environment ("raspberrypi3 with raspbian 10").

Maybe try again to pip install brotli and see if pip this time downloads a pre-compiled wheel.

@gamer191
Copy link

@anthrotype Any idea when a new upstream release will be made?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants