psf / requests-html

Pythonic HTML Parsing for Humans™
http://html.python-requests.org
MIT License
13.64k stars 977 forks source link

use beautifulsoup4 package name #546

Open gpongelli opened 1 year ago

gpongelli commented 1 year ago

when using "bs4", on github action running windows with python 3.9 it fails because "bs4 is not PEP517 compliant" .

Github action error:

    ChefBuildError

    Backend 'setuptools.build_meta:__legacy__' is not available.

    at ~\AppData\Local\Temp\cibw-run-4_rs_zm4\cp39-win_amd64\venv-test\lib\site-packages\poetry\installation\chef.py:152 in _prepare
        148│ 
        149│                 error = ChefBuildError("\n\n".join(message_parts))
        150│ 
        151│             if error is not None:
      → 152│                 raise error from None
        153│ 
        154│             return path
        155│ 
        156│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

  Note: This error originates from the build backend, and is likely not a problem with poetry but with bs4 (0.0.1) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "bs4 (==0.0.1)"'.

executed actions that show the error: https://github.com/gpongelli/pycode128/actions/runs/4587661968/jobs/8101337292 https://github.com/gpongelli/pycode128/actions/runs/4585602238/jobs/8097847571