-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
httpie in alpine:3.14 missing dependencies #1092
Comments
Hello @blka, Thanks for the report. It might be an issue on the Alpine side when the package is created. I'll dig into that on my side. |
I think I identified the root cause: https://git.alpinelinux.org/aports/tree/community/httpie/APKBUILD#n11 does not list |
I confirm that installing $ docker run -it alpine:3.14
/ # apk add httpie
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz
(1/22) Installing libbz2 (1.0.8-r1)
(2/22) Installing expat (2.4.1-r0)
(3/22) Installing libffi (3.3-r2)
(4/22) Installing gdbm (1.19-r0)
(5/22) Installing xz-libs (5.2.5-r0)
(6/22) Installing libgcc (10.3.1_git20210424-r2)
(7/22) Installing libstdc++ (10.3.1_git20210424-r2)
(8/22) Installing mpdecimal (2.5.1-r1)
(9/22) Installing ncurses-terminfo-base (6.2_p20210612-r0)
(10/22) Installing ncurses-libs (6.2_p20210612-r0)
(11/22) Installing readline (8.1.0-r0)
(12/22) Installing sqlite-libs (3.35.5-r0)
(13/22) Installing python3 (3.9.5-r1)
(14/22) Installing py3-chardet (4.0.0-r2)
(15/22) Installing py3-idna (3.2-r0)
(16/22) Installing py3-urllib3 (1.26.5-r0)
(17/22) Installing py3-certifi (2020.12.5-r1)
(18/22) Installing py3-requests (2.25.1-r4)
(19/22) Installing py3-pygments (2.9.0-r0)
(20/22) Installing py3-requests-toolbelt (0.9.1-r2)
(21/22) Installing py3-pysocks (1.7.1-r2)
(22/22) Installing httpie (2.4.0-r2)
Executing busybox-1.33.1-r2.trigger
OK: 68 MiB in 36 packages
/ # http --version
Traceback (most recent call last):
File "/usr/bin/http", line 33, in <module>
sys.exit(load_entry_point('httpie==2.4.0', 'console_scripts', 'http')())
File "/usr/lib/python3.9/site-packages/httpie/__main__.py", line 10, in main
from .core import main
File "/usr/lib/python3.9/site-packages/httpie/core.py", line 13, in <module>
from httpie.client import collect_messages
File "/usr/lib/python3.9/site-packages/httpie/client.py", line 15, in <module>
from httpie.plugins.registry import plugin_manager
File "/usr/lib/python3.9/site-packages/httpie/plugins/registry.py", line 1, in <module>
from httpie.plugins.manager import PluginManager
File "/usr/lib/python3.9/site-packages/httpie/plugins/manager.py", line 5, in <module>
from pkg_resources import iter_entry_points
ModuleNotFoundError: No module named 'pkg_resources'
/ # apk add py3-setuptools
(1/6) Installing py3-ordered-set (4.0.2-r1)
(2/6) Installing py3-appdirs (1.4.4-r2)
(3/6) Installing py3-parsing (2.4.7-r2)
(4/6) Installing py3-six (1.15.0-r1)
(5/6) Installing py3-packaging (20.9-r1)
(6/6) Installing py3-setuptools (52.0.0-r3)
OK: 72 MiB in 42 packages
/ # http --version
2.4.0 |
The version 2.5.0 fixes the issue. It is already available on the |
Checklist
What are the steps to reproduce the problem?
What is the expected result?
What happens instead?
Debug output
Please re-run the command with
--debug
, then copy the entire command & output and paste both below:Provide any additional information, screenshots, or code examples below:
The text was updated successfully, but these errors were encountered: