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

Unexpected keywork argument #189

Open
ixotecu opened this issue Jan 23, 2024 · 1 comment
Open

Unexpected keywork argument #189

ixotecu opened this issue Jan 23, 2024 · 1 comment

Comments

@ixotecu
Copy link

ixotecu commented Jan 23, 2024

Describe the bug
Error while trying to run a simple holehe command like holehe -h or holehe [email protected]

Error Message
Traceback (most recent call last): File "/usr/local/bin/holehe", line 8, in <module> sys.exit(main()) ^^^^^^ File "/usr/local/lib/python3.11/dist-packages/holehe/core.py", line 226, in main trio.run(maincore) File "/usr/local/lib/python3.11/dist-packages/trio-0.22.2-py3.11.egg/trio/_core/_run.py", line 2093, in run raise runner.main_task_outcome.error File "/usr/local/lib/python3.11/dist-packages/holehe/core.py", line 190, in maincore check_update() File "/usr/local/lib/python3.11/dist-packages/holehe/core.py", line 67, in check_update check_version = httpx.get("https://pypi.org/pypi/holehe/json") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/httpx/_api.py", line 196, in get return request( ^^^^^^^^ File "/usr/lib/python3/dist-packages/httpx/_api.py", line 95, in request with Client( ^^^^^^^ File "/usr/lib/python3/dist-packages/httpx/_client.py", line 686, in __init__ self._transport = self._init_transport( ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/httpx/_client.py", line 734, in _init_transport return HTTPTransport( ^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/httpx/_transports/default.py", line 138, in __init__ self._pool = httpcore.ConnectionPool( ^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: ConnectionPool.__init__() got an unexpected keyword argument 'socket_options'

Desktop

  • python 3.11.7
  • holehe 1.61

Additional context
Worked fine until I ran an update. Tried to uninstall and reinstall but no effect.

@man00ka
Copy link

man00ka commented Feb 12, 2024

I've got the same issue when connecting to OpenAI via client = OpenAI() for example.

  • Python 3.10.13
  • openai 1.12.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants