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: 0 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,10 @@ jobs:
strategy:
matrix:
python:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
- "pypy-3.10"
- "pypy-3.11"
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file.

## Unreleased

- End of Python 3.10 support
- Necessary code changes following dev dependency update: `mypy`, `ruff`

## 0.19.1 (December 13, 2025)
Expand Down
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ classifiers = [
"Intended Audience :: Developers",
"Topic :: System :: Archiving :: Compression",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = ">=3.10"
requires-python = ">=3.11"
dependencies = [
"backports.zstd>=1.0.0 ; python_version<'3.14'",
"typing-extensions>=4.13.2 ; python_version<'3.13'",
Expand Down Expand Up @@ -108,7 +107,7 @@ warn_unused_configs = true

[tool.ruff]
src = ["src"]
target-version = "py310"
target-version = "py311"
extend-exclude = ["tests"]

[tool.ruff.lint]
Expand Down
8 changes: 1 addition & 7 deletions src/pyzstd/_seekable_zstdfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from os.path import isfile
from struct import Struct
import sys
from typing import BinaryIO, ClassVar, Literal, cast
from typing import BinaryIO, ClassVar, Literal, Self, cast
import warnings

from pyzstd import (
Expand All @@ -23,12 +23,6 @@
from typing_extensions import Buffer
else:
from collections.abc import Buffer

if sys.version_info < (3, 11):
from typing_extensions import Self
else:
from typing import Self

__all__ = ("SeekableFormatError", "SeekableZstdFile")

_MODE_CLOSED = 0
Expand Down
Loading