Skip to content

Replicate and newer httpx #457

Description

@moenk

It seems the use of proxies chamges with newer httpx.
File "C:\Python313\Lib\site-packages\replicate\_types.py", line 34, in <module> from httpx import URL, Proxy, Timeout, Response, BaseTransport, AsyncBaseTransport ImportError: cannot import name 'Proxy' from 'httpx' (C:\Python313\Lib\site-packages\httpx\__init__.py)
Switching back to httpx 0.28.1 seems to be a workaround, but 1.0 is upcoming and should be usable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions