I have tried to install harpoontools in a container with harpoon already installed, and it failed with this:
root@044648aced56:/usr/src# pip install harpoontools --break-system-packages
Collecting harpoontools
Downloading harpoontools-0.1.6-py3-none-any.whl (16 kB)
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (from harpoontools) (2.31.0)
Collecting harpoon==0.1.6 (from harpoontools)
Downloading harpoon-0.1.6-py3-none-any.whl (290 kB)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 290.9/290.9 kB 6.0 MB/s eta 0:00:00
Requirement already satisfied: configparser in /usr/local/lib/python3.11/dist-packages (from harpoon==0.1.6->harpoontools) (6.0.0)
Requirement already satisfied: tweepy>=3.8.0 in /usr/local/lib/python3.11/dist-packages (from harpoon==0.1.6->harpoontools) (4.14.0)
Requirement already satisfied: passivetotal in /usr/local/lib/python3.11/dist-packages (from harpoon==0.1.6->harpoontools) (2.5.9)
Collecting beautifulsoup4==4.9.1 (from harpoon==0.1.6->harpoontools)
Downloading beautifulsoup4-4.9.1-py3-none-any.whl (115 kB)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 115.1/115.1 kB 10.7 MB/s eta 0:00:00
Collecting lxml==4.5.1 (from harpoon==0.1.6->harpoontools)
Downloading lxml-4.5.1.tar.gz (4.5 MB)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 4.5/4.5 MB 23.9 MB/s eta 0:00:00
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
ร python setup.py egg_info did not run successfully.
โ exit code: 1
โฐโ> [5 lines of output]
/tmp/pip-install-grj_vwzm/lxml_5a076b421ae449f9a156df49b2fde879/setup.py:64: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources
Building lxml version 4.5.1.
Building without Cython.
Error: Please make sure the libxml2 and libxslt development packages are installed.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
ร Encountered error while generating package metadata.
โฐโ> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
i would recommend removing the versionned pin here.