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 .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.11", "3.12", "3.13", "3.14"]

steps:
- uses: "actions/checkout@v4"
Expand Down
4 changes: 4 additions & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Since we are currently on [an 0.x series](https://semver.org/#spec-item-4) you s

At this point in time, only documented functionality should be considered "Public API".

## Unreleased

* Drop Python 3.10 support. Python 3.11 is now the minimum supported version.

## 0.4

* The server closes quietly when a client disconnects between requests, instead of
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "hip"
version = "0.4"
description = "HTTP, for everyone."
readme = "docs/README.md"
requires-python = ">=3.10"
requires-python = ">=3.11"
authors = [
{ name = "the hip community" },
]
Expand All @@ -22,7 +22,6 @@ dev = [
"pytest==8.3.5",
"pytest-cov==7.1.0",
"ruff",
"typing-extensions>=4.0",
]

[build-system]
Expand Down
3 changes: 1 addition & 2 deletions src/hip/backends/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
import truststore

if typing.TYPE_CHECKING:
# Once we drop 3.10 support, we can use 'typing.Self'.
from typing_extensions import Self
from typing import Self

from ..core.streams import Stream

Expand Down
3 changes: 1 addition & 2 deletions src/hip/client/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import typing

if typing.TYPE_CHECKING:
# Once we drop 3.10 support, we can use 'typing.Self'.
from typing_extensions import Self
from typing import Self

import zlib

Expand Down
3 changes: 1 addition & 2 deletions src/hip/client/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
import typing

if typing.TYPE_CHECKING:
# Once we drop 3.10 support, we can use 'typing.Self'.
from typing_extensions import Self
from typing import Self

from ..backends.sync import NetworkBackend, Semaphore
from ..core.request import Request
Expand Down
2 changes: 1 addition & 1 deletion src/hip/server/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def _send_head(self, response: Response):
status, reason = response.status_code.as_tuple()
self._parser.send_status_line(protocol, status, reason)

now = datetime.datetime.now(datetime.timezone.utc)
now = datetime.datetime.now(datetime.UTC)
date = now.strftime("%a, %d %b %Y, %H:%M:%S GMT")

headers = self._default_headers
Expand Down
64 changes: 1 addition & 63 deletions uv.lock

Large diffs are not rendered by default.

Loading