Repository: sanic-org/sanic-testing (language: python)

Issue:
Conflict between sanic-testing 0.3.1 and strongly recommended 0.18.1 version of httpx.
https://www.python-httpx.org/

> We believe we've got the public API to a stable point now, but would strongly recommend pinning your dependencies to the 0.18.* release, so that you're able to properly review API changes between package updates.

```
The conflict is caused by:
    sanic-testing 0.3.1 depends on httpx<0.18 and >=0.16
```


Discussion / hints:
Thanks. It is wonderful to hear the API is stable. This has been a huge problem the last several years and is one of the driving reasons `sanic-testing` was moved to its own package.
The good news is that I just ran it locally, and all the tests passed :tada: 

Fix patch:
diff --git a/setup.py b/setup.py
index c554fda..7df2a72 100644
--- a/setup.py
+++ b/setup.py
@@ -46,9 +46,12 @@ def open_local(paths, mode="r", encoding="utf8"):
         "Programming Language :: Python :: 3.8",
     ],
 }
-requirements = ["httpx>=0.16, <0.18", "websockets==8.1", "httpcore==0.12.*"]
+requirements = [
+    "httpx==0.18.*",
+    "websockets==8.1",
+]
 
-tests_require = ["pytest", "sanic==20.12", "pytest-asyncio"]
+tests_require = ["pytest", "sanic==21.3", "pytest-asyncio"]
 
 setup_kwargs["install_requires"] = requirements
 setup_kwargs["tests_require"] = tests_require


Test patch:
diff --git a/requirements.testing.txt b/requirements.testing.txt
index 5f2dc3a..6a80576 100644
--- a/requirements.testing.txt
+++ b/requirements.testing.txt
@@ -1,3 +1,3 @@
-git+git://github.com/sanic-org/sanic.git@main#egg=sanic
+sanic>=21.3
 pytest
 pytest-asyncio