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
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
groups:
github-actions:
patterns:
- "*"
schedule:
interval: "weekly"
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
python-version: ["3.14"]
toxenv: [black, ruff, mypy]
steps:
- uses: actions/checkout@v6
Expand All @@ -34,28 +34,28 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.14t"]
python-version: ["3.11", "3.12", "3.13", "3.14", "3.14t"]
optional-deps: [true]
with-libs: [true]
include:
- os: macos-latest
python-version: "3.10"
python-version: "3.14"
optional-deps: true
- os: ubuntu-latest
python-version: "3.10"
python-version: "3.14"
with-libs: false
optional-deps: false
- os: ubuntu-latest
python-version: "3.10"
python-version: "3.14"
with-libs: false
optional-deps: true
- os: ubuntu-latest
python-version: "3.10"
python-version: "3.14"
optional-deps: false
with-libs: false
with-zstandard: true
- os: windows-latest
python-version: "3.10"
python-version: "3.14"
steps:
- name: Install optional tools macOS
if: runner.os == 'macOS' && matrix.optional-deps
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.10' && matrix.optional-deps && matrix.with-libs
run: tox run -e lz4
- name: Upload coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v7

deploy:
timeout-minutes: 10
Expand All @@ -102,7 +102,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.10"
python-version: "3.14"
- name: Make distributions
run: |
python -m pip install build
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.3.0
rev: 26.10.0
hooks:
- id: black
9 changes: 9 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,15 @@ the ``compression.zstd`` module in the standard library is used.
Changelog
---------

development version
~~~~~~~~~~~~~~~~~~~

* #181/#168: Added lz4 as supported compression format.
Contributed by @Dev-iL and @gnzsnz.
* PipedCompressionReader no longer has seek/tell methods. This only worked
on Windows before (and only sometimes).
* Dropped support for Python 3.10

v2.1.0 (2026-06-03)
~~~~~~~~~~~~~~~~~~~

Expand Down
9 changes: 7 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ classifiers = [
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3"
]
requires-python = ">=3.10"
requires-python = ">=3.11"
dynamic = ["version"]
dependencies = [
'isal>=1.6.1; platform.machine == "x86_64" or platform.machine == "AMD64" or platform.machine == "aarch64"',
Expand All @@ -35,7 +35,12 @@ zstd = [] # Leave this in here for backwards compatibility (Zstandard support u
write_to = "src/xopen/_version.py"

[tool.ruff.lint]
select = ["E4", "E7", "E9", "F"]
ignore = [
"B008", # Do not perform function call `_ProgramSettings` in argument defaults; instead, perform the call within the function, or read the default from a module-level singleton variable
"C408", # Unnecessary `dict()` call (rewrite as a literal)
"SIM115", # Use a context manager for opening files
"SIM117", # Use a single `with` statement with multiple contexts instead of nested `with` statements
]

[tool.pytest.ini_options]
addopts = "--strict-markers"
Expand Down
Loading
Loading