From ff5ebbae693ca2d9d667d3cae06dbf3c3bc8dfa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 6 Feb 2020 10:05:13 +0100 Subject: [PATCH] Require beautifulsoup4 instead of bs4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bs4 is a dummy package managed by the developer of Beautiful Soup to prevent name squatting. The official name of PyPI’s Beautiful Soup Python package is beautifulsoup4. The bs4 package ensures that if you type pip install bs4 by mistake you will end up with Beautiful Soup. However, for requirements, it's cleaner to use the proper name. For downstream packaging in Fedora, this avoids the need of packaging the dummy package. --- requirements.txt | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 76646350..ae291d1d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # required: -bs4 +beautifulsoup4 requests >= 2.4 pyxdg dnspython diff --git a/setup.py b/setup.py index e3f6fece..97005df2 100755 --- a/setup.py +++ b/setup.py @@ -495,7 +495,7 @@ args = dict( install_requires = [ 'requests >= 2.4', 'dnspython', - 'bs4', + 'beautifulsoup4', 'pyxdg', 'future', ],