From ced34b4b2066226424e7fe20cd41aec20a06d32a Mon Sep 17 00:00:00 2001 From: Miauwkeru Date: Fri, 19 Sep 2025 14:12:11 +0000 Subject: [PATCH 1/5] Change the minimum python version to 3.10 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0c11ea2..99ae7e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "dissect" description = "Dissect is a digital forensics & incident response framework and toolset that allows you to quickly access and analyse forensic artefacts from various disk and file formats, developed by Fox-IT (part of NCC Group)" readme = "README.md" -requires-python = "~=3.9" +requires-python = ">=3.10" license.text = "Affero General Public License v3" authors = [ {name = "Dissect Team", email = "dissect@fox-it.com"} From 1cea081555dc4251835c3cf245b684a6736d0300 Mon Sep 17 00:00:00 2001 From: Miauwkeru Date: Fri, 19 Sep 2025 14:48:15 +0000 Subject: [PATCH 2/5] Update deprecated license settings --- pyproject.toml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 99ae7e6..6e27c8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=65.5.0", "setuptools_scm[toml]>=6.4.0"] +requires = ["setuptools>=77.0.0", "setuptools_scm[toml]>=6.4.0"] build-backend = "setuptools.build_meta" [project] @@ -7,7 +7,8 @@ name = "dissect" description = "Dissect is a digital forensics & incident response framework and toolset that allows you to quickly access and analyse forensic artefacts from various disk and file formats, developed by Fox-IT (part of NCC Group)" readme = "README.md" requires-python = ">=3.10" -license.text = "Affero General Public License v3" +license = "AGPL-3.0-or-later" +license-files = ["LICENSE", "COPYRIGHT"] authors = [ {name = "Dissect Team", email = "dissect@fox-it.com"} ] @@ -70,9 +71,6 @@ line-length = 120 profile = "black" known_first_party = ["dissect"] -[tool.setuptools] -license-files = ["LICENSE", "COPYRIGHT"] - [tool.setuptools.packages.find] include = ["dissect.*"] From c7759faeff4821be632f4d5e7c91aa084699197f Mon Sep 17 00:00:00 2001 From: Miauwkeru Date: Fri, 19 Sep 2025 15:38:51 +0000 Subject: [PATCH 3/5] remove 'License :: OSI approved' from specifiers --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 6e27c8e..0ce0f6c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,6 @@ classifiers = [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", - "License :: OSI Approved", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Internet :: Log Analysis", From 43710bfdc1af8d9ca2b87809b97363d8dbb953a3 Mon Sep 17 00:00:00 2001 From: Miauwkeru Date: Tue, 23 Sep 2025 13:43:44 +0000 Subject: [PATCH 4/5] Update project to use dependency groups --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index edbb142..45c1d6d 100644 --- a/tox.ini +++ b/tox.ini @@ -4,7 +4,7 @@ envlist = build # requires if they are not available on the host system. This requires the # locally installed tox to have a minimum version 3.3.0. This means the names # of the configuration options are still according to the tox 3.x syntax. -minversion = 4.4.3 +minversion = 4.27.0 # This version of virtualenv will install setuptools version 68.2.2 and pip # 23.3.1. These versions fully support python projects defined only through a # pyproject.toml file (PEP-517/PEP-518/PEP-621). This pip version also support From 68cc93c9349682caf593578b8ea2f84eb4e146d3 Mon Sep 17 00:00:00 2001 From: Miauwkeru Date: Wed, 24 Sep 2025 13:00:33 +0000 Subject: [PATCH 5/5] Remove old linting config --- pyproject.toml | 7 ------- tox.ini | 6 ------ 2 files changed, 13 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0ce0f6c..0a82665 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -63,13 +63,6 @@ homepage = "https://dissect.tools" documentation = "https://docs.dissect.tools" repository = "https://github.com/fox-it/dissect" -[tool.black] -line-length = 120 - -[tool.isort] -profile = "black" -known_first_party = ["dissect"] - [tool.setuptools.packages.find] include = ["dissect.*"] diff --git a/tox.ini b/tox.ini index 45c1d6d..a9a6dc5 100644 --- a/tox.ini +++ b/tox.ini @@ -28,9 +28,3 @@ deps = commands = pyproject-build -[flake8] -max-line-length = 120 -extend-ignore = - # See https://github.com/PyCQA/pycodestyle/issues/373 - E203, -statistics = True