- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.2k
 
Support Trio with httpx #3089
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
Support Trio with httpx #3089
Changes from 7 commits
056daa8
              ed3a069
              879cb27
              bb552bc
              7c85a53
              1094d2d
              176968a
              e3cbd6c
              b8aaa1f
              07e4292
              4fe56f0
              f3660d4
              2d85baf
              998a7b2
              e44d3ca
              e41f45b
              06033f5
              File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | 
|---|---|---|
| 
          
            
          
           | 
    @@ -41,11 +41,17 @@ keywords = [ | |
| ] | ||
| dynamic = ["version"] | ||
| dependencies = [ | ||
| "elastic-transport>=9.1.0,<10", | ||
| # TODO revert before merging/releasing | ||
| "elastic-transport @ git+https://github.com/pquentin/elastic-transport-python.git@trio-support", | ||
                
       | 
||
| "python-dateutil", | ||
| "typing-extensions", | ||
| "sniffio", | ||
| ] | ||
| 
     | 
||
| # TODO revert before merging/releasing | ||
| [tool.hatch.metadata] | ||
| allow-direct-references = true | ||
| 
     | 
||
| [project.optional-dependencies] | ||
| async = ["aiohttp>=3,<4"] | ||
| requests = ["requests>=2.4.0, !=2.32.2, <3.0.0"] | ||
| 
        
          
        
         | 
    @@ -56,6 +62,7 @@ vectorstore_mmr = ["numpy>=1", "simsimd>=3"] | |
| dev = [ | ||
| "requests>=2, <3", | ||
| "aiohttp", | ||
| "httpx", | ||
| "pytest", | ||
| "pytest-cov", | ||
| "pytest-mock", | ||
| 
        
          
        
         | 
    @@ -78,6 +85,8 @@ dev = [ | |
| "mapbox-vector-tile", | ||
| "jinja2", | ||
| "tqdm", | ||
| "trio", | ||
| 
         There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This would've been better as  There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right, however, this is a dev dependency only There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, and if Trio makes a backwards incompatible change in a new release, the CI might break as a result. The  There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done in #3139  | 
||
| "anyio", | ||
| "mypy", | ||
| "pyright", | ||
| "types-python-dateutil", | ||
| 
          
            
          
           | 
    ||
Uh oh!
There was an error while loading. Please reload this page.