From ecacadef7d4cd8ac97af5f222fa9b9894c8da644 Mon Sep 17 00:00:00 2001 From: mxmlnkn Date: Sun, 15 Jun 2025 09:54:44 +0200 Subject: [PATCH 1/6] Relax Python requirement to 3.9 --- .github/workflows/build.yaml | 2 ++ pyproject.toml | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 4261980..4bb8aff 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -20,6 +20,8 @@ jobs: - windows-latest - macos-latest python: + - '3.9' + - '3.10' - '3.11' - '3.12' - '3.13' diff --git a/pyproject.toml b/pyproject.toml index dd386c7..c1eb470 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ authors = [ { name="Eeems", email="eeems@eeems.email" }, ] description = "Library for read only interactions with an ext4 filesystem" -requires-python = ">=3.11" +requires-python = ">=3.9" classifiers = [ "Development Status :: 4 - Beta", "Environment :: Console", @@ -16,6 +16,8 @@ classifiers = [ "Operating System :: Microsoft :: Windows", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", From 09ea75c244923b875e62f0600b9b63782c84034b Mon Sep 17 00:00:00 2001 From: mxmlnkn Date: Sun, 15 Jun 2025 10:06:55 +0200 Subject: [PATCH 2/6] Relax dependency requirements There is no reason to pin an exact bugfix or minor version. The ~= x.y will bin to >= x.y and < x+1. --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 9eebdf0..ef48ba7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -cachetools==5.3.2 -crcmod==1.7 +cachetools~=5.3 +crcmod~=1.7 From 50ba6d5ba8136c09e2eb05f3e7f281f8c5ddf54b Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Sun, 15 Jun 2025 22:25:39 -0600 Subject: [PATCH 3/6] Bump version number --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index c1eb470..ab55fbb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "ext4" -version = "1.0.7" +version = "1.1.0" authors = [ { name="Eeems", email="eeems@eeems.email" }, ] From f89ef3e4eb16a7a6aa14f451af22c9ad31a4679d Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Sun, 15 Jun 2025 22:28:24 -0600 Subject: [PATCH 4/6] 3.9 compat --- ext4/inode.py | 2 ++ ext4/volume.py | 2 ++ test.py | 2 ++ 3 files changed, 6 insertions(+) diff --git a/ext4/inode.py b/ext4/inode.py index ea8fc4d..ceb5cad 100644 --- a/ext4/inode.py +++ b/ext4/inode.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import io import warnings diff --git a/ext4/volume.py b/ext4/volume.py index 1ad4e34..65d1344 100644 --- a/ext4/volume.py +++ b/ext4/volume.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import io import os import errno diff --git a/test.py b/test.py index 59a8102..ff3d6cf 100644 --- a/test.py +++ b/test.py @@ -1,3 +1,5 @@ +from __future__ import annotations + import sys import ext4 From 7cf5b0690643c8864c50835ec447eaac5071da08 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Sun, 15 Jun 2025 22:34:33 -0600 Subject: [PATCH 5/6] Revert dependency change, I do not currently trust upstream to be following semantic versioning properly --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index ef48ba7..9eebdf0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -cachetools~=5.3 -crcmod~=1.7 +cachetools==5.3.2 +crcmod==1.7 From 38971d446244d3cd0e69ba6494a14aaed60568db Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Sun, 15 Jun 2025 22:37:52 -0600 Subject: [PATCH 6/6] Update to latest cachetools --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 9eebdf0..0e67294 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -cachetools==5.3.2 +cachetools==6.0.0 crcmod==1.7