Skip to content

community/httpie: fix dependencies for 2.3.0

Keith Maxwell requested to merge maxwell-k/aports:httpie into master

Dependencies are listed in https://github.com/httpie/httpie/blob/2.3.0/setup.py#L43

py3-pysocks is required by requests[socks]

Before this change:

# apk add -q httpie=2.3.0-r0
# https --version
Traceback (most recent call last):
  File "/usr/bin/https", line 33, in <module>
    sys.exit(load_entry_point('httpie==2.3.0', 'console_scripts', 'https')())
  File "/usr/lib/python3.8/site-packages/httpie/__main__.py", line 10, in main
    from .core import main

  File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 770, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'requests-toolbelt>=0.9.1' distribution was not found and is required by httpie

After this change:

# apk add -q httpie=2.3.0-r1
# https --version
2.3.0

Merge request reports