diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4baa6f3..0e1fd5e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,7 +22,7 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', 'pypy3.10'] env: # Configure a constant location for the uv cache UV_CACHE_DIR: /tmp/.uv-cache diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9eb1eca..239f9a0 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,7 +15,7 @@ repos: exclude: helm/ args: [ --unsafe ] - repo: https://github.com/charliermarsh/ruff-pre-commit - rev: "v0.12.10" + rev: "v0.14.0" hooks: - id: ruff args: [--fix, --exit-non-zero-on-fix] diff --git a/mocket/__init__.py b/mocket/__init__.py index 8d30556..857ed2e 100644 --- a/mocket/__init__.py +++ b/mocket/__init__.py @@ -31,4 +31,4 @@ "FakeSSLContext", ) -__version__ = "3.13.11" +__version__ = "3.14.0" diff --git a/mocket/mocket.py b/mocket/mocket.py index 2a21a0c..a8dc799 100644 --- a/mocket/mocket.py +++ b/mocket/mocket.py @@ -19,7 +19,7 @@ class Mocket: _socket_pairs: ClassVar[dict[Address, tuple[int, int]]] = {} - _address: ClassVar[Address] = (None, None) + _address: ClassVar[Address | tuple[None, None]] = (None, None) _entries: ClassVar[dict[Address, list[MocketEntry]]] = collections.defaultdict(list) _requests: ClassVar[list] = [] _record_storage: ClassVar[MocketRecordStorage | None] = None diff --git a/pyproject.toml b/pyproject.toml index a921e22..66b429d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,7 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3.14", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development",