Coder Social home page Coder Social logo

httpie-aws-auth's Issues

Thoughts of using credentials file?

Have you thought about adding support for the credentials file, which you can control via the AWS_PROFILE environmental variable? I like using the credentials file as all my creds are in one place and I can easily change between them.

httpie dependency not pinned

httpie dependency is defined as

'httpie>=0.9.7',

httpie is now at 2.6.0 and many things have changed since 0.9.7. This causes issues such as #3.

There is another compatibility issue. This import also doesn't exist in 2.6.0

from httpie.compat import bytes

I believe the right way to fix this is to pin the dependency to a specific version (or a range of known good versions).

support Signature Version 4

It seems this library only supports the old AWS signature version 2 protocol, and not version 4. Is that right?

HTTPie compatibility broken

It seems like the plugin is trying to import ExitStatus directly from the outermost httpie namespace while it currently does not support that (probably supported in an older version)

Traceback (most recent call last):
  File "/usr/local/bin/httpie", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.9/site-packages/httpie/manager.py", line 196, in main
    return raw_main(
  File "/usr/local/lib/python3.9/site-packages/httpie/core.py", line 31, in raw_main
    plugin_manager.load_installed_plugins(env.config.plugins_dir)
  File "/usr/local/lib/python3.9/site-packages/httpie/plugins/manager.py", line 72, in load_installed_plugins
    plugin = entry_point.load()
  File "/usr/local/lib/python3.9/site-packages/importlib_metadata/__init__.py", line 194, in load
    module = import_module(match.group('module'))
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/root/.config/httpie/plugins/lib/python3.9/site-packages/httpie_aws_auth.py", line 8, in <module>
    from httpie import ExitStatus
ImportError: cannot import name 'ExitStatus' from 'httpie' (/usr/local/lib/python3.9/site-packages/httpie/__init__.py)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.