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
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.4.0

Replace "httpx" with "httpx2".

## 1.3.1

Update all dependencies to resolve vulnerabilities in "idna" and "pymdown-extensions".
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ icon: lucide/tv-minimal-play

A simple *unofficial* JustWatch Python API which uses [`GraphQL`](https://graphql.org/)
to access [JustWatch](https://www.justwatch.com/) data, built with
[`httpx`](https://www.python-httpx.org/) and available for Python `3.11+`.
[`httpx2`](https://github.com/pydantic/httpx2) and available for Python `3.11+`.

This library is published as a
[Python package on PyPi](https://pypi.org/project/simple-justwatch-python-api/).
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "simple-justwatch-python-api"
authors = [
{ name = "Electronic Mango", email = "78230210+Electronic-Mango@users.noreply.github.com" },
]
version = "1.3.1"
version = "1.4.0"
description = "A simple JustWatch Python API"
readme = "README.md"
license = "MIT"
Expand All @@ -23,7 +23,7 @@ classifiers = [
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"httpx>=0.28.1",
"httpx2>=2.13.0",
]

[dependency-groups]
Expand Down
2 changes: 1 addition & 1 deletion src/simplejustwatchapi/justwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
country code. |
"""

from httpx import HTTPError, HTTPStatusError, post
from httpx2 import HTTPError, HTTPStatusError, post

from simplejustwatchapi.exceptions import JustWatchHttpError
from simplejustwatchapi.query import (
Expand Down
2 changes: 1 addition & 1 deletion test/simplejustwatchapi/test_justwatch.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from unittest.mock import MagicMock, patch

from httpx import Request, RequestError, Response
from httpx2 import Request, RequestError, Response
from pytest import fixture, mark, raises

from simplejustwatchapi.exceptions import JustWatchHttpError
Expand Down
63 changes: 39 additions & 24 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading