Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Supports both [`requests`](https://docs.python-requests.org/en/latest/index.html
Install from PyPI:

```sh
pip install retryhttp # Supports both HTTPX and requests
pip install retryhttp[all] # Supports both HTTPX and requests
```

You can also install support for only HTTPX or requests, if you would rather not install unnecessary dependencies:
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@

@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"], tags=["test"])
def test(session: nox.Session) -> None:
session.install(".", ".[dev]")
session.install(".[all,dev]")
session.run("pytest", "-n", "4")
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,23 +28,23 @@ classifiers = [
"Topic :: Utilities",
]
dependencies = [
"httpx",
"pydantic",
"requests",
"types-requests",
"tenacity"
]


[project.optional-dependencies]
httpx = [
"httpx",
"tenacity",
]
requests = [
"requests",
"types-requests",
"tenacity",
]
all = [
"httpx",
"requests",
"types-requests",
]
dev = [
"pytest",
Expand Down