Skip to content
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

Install httpie-edgegrid plugins fails #1608

Closed
2 tasks done
glenthomas opened this issue Nov 4, 2024 · 2 comments
Closed
2 tasks done

Install httpie-edgegrid plugins fails #1608

glenthomas opened this issue Nov 4, 2024 · 2 comments
Labels
bug Something isn't working new Needs triage. Comments are welcome!

Comments

@glenthomas
Copy link

Checklist

  • I've searched for similar issues.
  • I'm using the latest version of HTTPie.

Minimal reproduction code and steps

  1. Execute httpie cli plugins install httpie-edgegrid

Current result

Installing httpie-edgegrid...
Collecting httpie-edgegrid
  Using cached httpie_edgegrid-2.1.4-py3-none-any.whl.metadata (3.5 kB)
Collecting httpie==3.2.2 (from httpie-edgegrid)
  Using cached httpie-3.2.2-py3-none-any.whl.metadata (7.6 kB)
Collecting edgegrid-python==1.3.1 (from httpie-edgegrid)
  Using cached edgegrid_python-1.3.1-py3-none-any.whl.metadata (754 bytes)
Collecting pyOpenSSL==24.1.0 (from httpie-edgegrid)
  Using cached pyOpenSSL-24.1.0-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: urllib3<3.0.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie-edgegrid) (2.2.3)
Requirement already satisfied: requests>=2.3.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from edgegrid-python==1.3.1->httpie-edgegrid) (2.32.3)
Requirement already satisfied: requests-toolbelt>=0.9.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from edgegrid-python==1.3.1->httpie-edgegrid) (1.0.0)
Collecting ndg-httpsclient (from edgegrid-python==1.3.1->httpie-edgegrid)
  Using cached ndg_httpsclient-0.5.1-py3-none-any.whl.metadata (6.2 kB)
Collecting pyasn1 (from edgegrid-python==1.3.1->httpie-edgegrid)
  Using cached pyasn1-0.6.1-py3-none-any.whl.metadata (8.4 kB)
Requirement already satisfied: pip in /opt/homebrew/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (24.2)
Requirement already satisfied: charset-normalizer>=2.0.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (3.4.0)
Requirement already satisfied: defusedxml>=0.6.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (0.7.1)
Requirement already satisfied: Pygments>=2.5.2 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (2.18.0)
Requirement already satisfied: multidict>=4.7.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (6.1.0)
Requirement already satisfied: setuptools in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (75.3.0)
Requirement already satisfied: rich>=9.10.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (13.9.4)
Collecting cryptography<43,>=41.0.5 (from pyOpenSSL==24.1.0->httpie-edgegrid)
  Using cached cryptography-42.0.8-cp39-abi3-macosx_10_12_universal2.whl.metadata (5.3 kB)
Collecting cffi>=1.12 (from cryptography<43,>=41.0.5->pyOpenSSL==24.1.0->httpie-edgegrid)
  Using cached cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (1.5 kB)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from requests>=2.3.0->edgegrid-python==1.3.1->httpie-edgegrid) (3.10)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/opt/certifi/lib/python3.13/site-packages (from requests>=2.3.0->edgegrid-python==1.3.1->httpie-edgegrid) (2024.8.30)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from requests[socks]>=2.22.0->httpie==3.2.2->httpie-edgegrid) (1.7.1)
Requirement already satisfied: markdown-it-py>=2.2.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from rich>=9.10.0->httpie==3.2.2->httpie-edgegrid) (3.0.0)
Collecting pycparser (from cffi>=1.12->cryptography<43,>=41.0.5->pyOpenSSL==24.1.0->httpie-edgegrid)
  Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Requirement already satisfied: mdurl~=0.1 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from markdown-it-py>=2.2.0->rich>=9.10.0->httpie==3.2.2->httpie-edgegrid) (0.1.2)
Using cached httpie_edgegrid-2.1.4-py3-none-any.whl (9.2 kB)
Using cached edgegrid_python-1.3.1-py3-none-any.whl (17 kB)
Using cached httpie-3.2.2-py3-none-any.whl (127 kB)
Using cached pyOpenSSL-24.1.0-py3-none-any.whl (56 kB)
Using cached cryptography-42.0.8-cp39-abi3-macosx_10_12_universal2.whl (5.9 MB)
Using cached ndg_httpsclient-0.5.1-py3-none-any.whl (34 kB)
Using cached pyasn1-0.6.1-py3-none-any.whl (83 kB)
Using cached cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl (178 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: pycparser, pyasn1, cffi, httpie, cryptography, pyOpenSSL, ndg-httpsclient, edgegrid-python, httpie-edgegrid
  Attempting uninstall: httpie
    Found existing installation: httpie 3.2.4
Can't install 'httpie-edgegrid'

Expected result

Successful installation


Debug output

Please re-run the command with --debug, then copy the entire command & output and paste both below:

Command: httpie cli plugins install httpie-edgegrid --debug

Output:

HTTPie 3.2.4
Requests 2.32.3
Pygments 2.18.0
Python 3.13.0 (main, Oct  7 2024, 05:02:14) [Clang 15.0.0 (clang-1500.3.9.4)]
/opt/homebrew/Cellar/httpie/3.2.4/libexec/bin/python
Darwin 23.5.0

<Environment {'apply_warnings_filter': <function Environment.apply_warnings_filter at 0x1019dcc20>,
 'args': Namespace(),
 'as_silent': <function Environment.as_silent at 0x1019dcae0>,
 'colors': 256,
 'config': {'default_options': []},
 'config_dir': PosixPath('/Users/glen.thomas/.config/httpie'),
 'devnull': <property object at 0x1019cd260>,
 'is_windows': False,
 'log_error': <function Environment.log_error at 0x1019dcb80>,
 'program_name': 'httpie',
 'quiet': 0,
 'rich_console': <functools.cached_property object at 0x10196d350>,
 'rich_error_console': <functools.cached_property object at 0x1019d03b0>,
 'show_displays': True,
 'stderr': <_io.TextIOWrapper name='<stderr>' mode='w' encoding='utf-8'>,
 'stderr_isatty': True,
 'stdin': <_io.TextIOWrapper name='<stdin>' mode='r' encoding='utf-8'>,
 'stdin_encoding': 'utf-8',
 'stdin_isatty': True,
 'stdout': <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>,
 'stdout_encoding': 'utf-8',
 'stdout_isatty': True}>

<PluginManager {'adapters': [],
 'auth': [<class 'httpie.plugins.builtin.BasicAuthPlugin'>,
          <class 'httpie.plugins.builtin.DigestAuthPlugin'>,
          <class 'httpie.plugins.builtin.BearerAuthPlugin'>],
 'converters': [],
 'formatters': [<class 'httpie.output.formatters.headers.HeadersFormatter'>,
                <class 'httpie.output.formatters.json.JSONFormatter'>,
                <class 'httpie.output.formatters.xml.XMLFormatter'>,
                <class 'httpie.output.formatters.colors.ColorFormatter'>]}>
Installing httpie-edgegrid...
Collecting httpie-edgegrid
  Using cached httpie_edgegrid-2.1.4-py3-none-any.whl.metadata (3.5 kB)
Collecting httpie==3.2.2 (from httpie-edgegrid)
  Using cached httpie-3.2.2-py3-none-any.whl.metadata (7.6 kB)
Collecting edgegrid-python==1.3.1 (from httpie-edgegrid)
  Using cached edgegrid_python-1.3.1-py3-none-any.whl.metadata (754 bytes)
Collecting pyOpenSSL==24.1.0 (from httpie-edgegrid)
  Using cached pyOpenSSL-24.1.0-py3-none-any.whl.metadata (12 kB)
Requirement already satisfied: urllib3<3.0.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie-edgegrid) (2.2.3)
Requirement already satisfied: requests>=2.3.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from edgegrid-python==1.3.1->httpie-edgegrid) (2.32.3)
Requirement already satisfied: requests-toolbelt>=0.9.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from edgegrid-python==1.3.1->httpie-edgegrid) (1.0.0)
Collecting ndg-httpsclient (from edgegrid-python==1.3.1->httpie-edgegrid)
  Using cached ndg_httpsclient-0.5.1-py3-none-any.whl.metadata (6.2 kB)
Collecting pyasn1 (from edgegrid-python==1.3.1->httpie-edgegrid)
  Using cached pyasn1-0.6.1-py3-none-any.whl.metadata (8.4 kB)
Requirement already satisfied: pip in /opt/homebrew/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (24.2)
Requirement already satisfied: charset-normalizer>=2.0.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (3.4.0)
Requirement already satisfied: defusedxml>=0.6.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (0.7.1)
Requirement already satisfied: Pygments>=2.5.2 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (2.18.0)
Requirement already satisfied: multidict>=4.7.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (6.1.0)
Requirement already satisfied: setuptools in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (75.3.0)
Requirement already satisfied: rich>=9.10.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from httpie==3.2.2->httpie-edgegrid) (13.9.4)
Collecting cryptography<43,>=41.0.5 (from pyOpenSSL==24.1.0->httpie-edgegrid)
  Using cached cryptography-42.0.8-cp39-abi3-macosx_10_12_universal2.whl.metadata (5.3 kB)
Collecting cffi>=1.12 (from cryptography<43,>=41.0.5->pyOpenSSL==24.1.0->httpie-edgegrid)
  Using cached cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl.metadata (1.5 kB)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from requests>=2.3.0->edgegrid-python==1.3.1->httpie-edgegrid) (3.10)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/opt/certifi/lib/python3.13/site-packages (from requests>=2.3.0->edgegrid-python==1.3.1->httpie-edgegrid) (2024.8.30)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from requests[socks]>=2.22.0->httpie==3.2.2->httpie-edgegrid) (1.7.1)
Requirement already satisfied: markdown-it-py>=2.2.0 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from rich>=9.10.0->httpie==3.2.2->httpie-edgegrid) (3.0.0)
Collecting pycparser (from cffi>=1.12->cryptography<43,>=41.0.5->pyOpenSSL==24.1.0->httpie-edgegrid)
  Using cached pycparser-2.22-py3-none-any.whl.metadata (943 bytes)
Requirement already satisfied: mdurl~=0.1 in /opt/homebrew/Cellar/httpie/3.2.4/libexec/lib/python3.13/site-packages (from markdown-it-py>=2.2.0->rich>=9.10.0->httpie==3.2.2->httpie-edgegrid) (0.1.2)
Using cached httpie_edgegrid-2.1.4-py3-none-any.whl (9.2 kB)
Using cached edgegrid_python-1.3.1-py3-none-any.whl (17 kB)
Using cached httpie-3.2.2-py3-none-any.whl (127 kB)
Using cached pyOpenSSL-24.1.0-py3-none-any.whl (56 kB)
Using cached cryptography-42.0.8-cp39-abi3-macosx_10_12_universal2.whl (5.9 MB)
Using cached ndg_httpsclient-0.5.1-py3-none-any.whl (34 kB)
Using cached pyasn1-0.6.1-py3-none-any.whl (83 kB)
Using cached cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl (178 kB)
Using cached pycparser-2.22-py3-none-any.whl (117 kB)
Installing collected packages: pycparser, pyasn1, cffi, httpie, cryptography, pyOpenSSL, ndg-httpsclient, edgegrid-python, httpie-edgegrid
  Attempting uninstall: httpie
    Found existing installation: httpie 3.2.4
Can't install 'httpie-edgegrid'

Additional information, screenshots, or code examples

@glenthomas glenthomas added bug Something isn't working new Needs triage. Comments are welcome! labels Nov 4, 2024
@jkbrzt
Copy link
Member

jkbrzt commented Nov 4, 2024

@glenthomas
Copy link
Author

Looks like the issue needs to be resolved on the plugin’s side:

I think you're right. Unfortunately Akamai are terrible at maintaining their open source projects 😢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working new Needs triage. Comments are welcome!
Projects
None yet
Development

No branches or pull requests

2 participants