Migrate project metadata to Poetry 2 format

This commit is contained in:
mdaleo404 committed 2026-09-27 15:41:50 +01:00
1 parent 460cc02253
commit cf6cea21f8
3 files changed
+19 -15

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ jobs:
- name: Install Poetry - name: Install Poetry
run: | run: |
pip install poetry pip install "poetry>=2,<3"
poetry self add poetry-plugin-export poetry self add poetry-plugin-export
- name: Install pip-audit - name: Install pip-audit
Generated
+3 -3
View File
@@ -1,4 +1,4 @@
# This file is automatically @generated by Poetry 2.3.3 and should not be changed by hand. # This file is automatically @generated by Poetry 2.5.0 and should not be changed by hand.
[[package]] [[package]]
name = "argcomplete" name = "argcomplete"
@@ -499,7 +499,7 @@ description = "A lil' TOML parser"
optional = false optional = false
python-versions = ">=3.8" python-versions = ">=3.8"
groups = ["dev"] groups = ["dev"]
markers = "python_full_version <= \"3.11.0a6\"" markers = "python_version == \"3.10\""
files = [ files = [
{file = "tomli-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:88bd15eb972f3664f5ed4b57c1634a97153b4bac4479dcb6a495f41921eb7f45"}, {file = "tomli-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:88bd15eb972f3664f5ed4b57c1634a97153b4bac4479dcb6a495f41921eb7f45"},
{file = "tomli-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:883b1c0d6398a6a9d29b508c331fa56adbcdff647f6ace4dfca0f50e90dfd0ba"}, {file = "tomli-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:883b1c0d6398a6a9d29b508c331fa56adbcdff647f6ace4dfca0f50e90dfd0ba"},
@@ -583,4 +583,4 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess
[metadata] [metadata]
lock-version = "2.1" lock-version = "2.1"
python-versions = ">=3.10,<4.0" python-versions = ">=3.10,<4.0"
content-hash = "45b6935eff03de6a71792d1a2ea6c4d5ffa5f2d55046647a47268e798c22bb51" content-hash = "f044628069923498edb2a675ac7fa8f2e70213963d9a29b9c7b4940894930b04"
+15 -11
View File
@@ -1,22 +1,26 @@
[tool.poetry] [project]
name = "filedust" name = "filedust"
version = "0.4.3" version = "0.4.3"
description = "Opinionated junk cleaner for dev machines (caches, build artifacts, editor backups)." description = "Opinionated junk cleaner for dev machines (caches, build artifacts, editor backups)."
authors = ["Marco D'Aleo <marco@marcodaleo.com>"] authors = [{ name = "Marco D'Aleo", email = "marco@marcodaleo.com" }]
license = "GPL-3.0-or-later" license = "GPL-3.0-or-later"
readme = "README.md" readme = "README.md"
homepage = "https://git.sysmd.uk/guardutils/filedust" requires-python = ">=3.10,<4.0"
repository = "https://git.sysmd.uk/guardutils/filedust" dependencies = [
packages = [{ include = "filedust", from = "src" }] "rich>=12",
"argcomplete>=2",
]
[tool.poetry.dependencies] [project.urls]
python = ">=3.10,<4.0" Homepage = "https://git.sysmd.uk/guardutils/filedust"
rich = ">=12" Repository = "https://git.sysmd.uk/guardutils/filedust"
argcomplete = ">=2"
[tool.poetry.scripts] [project.scripts]
filedust = "filedust.cli:main" filedust = "filedust.cli:main"
[tool.poetry]
packages = [{ include = "filedust", from = "src" }]
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
pytest = "^9.0.1" pytest = "^9.0.1"
pytest-cov = "^7.0.0" pytest-cov = "^7.0.0"
@@ -26,5 +30,5 @@ pre-commit = "^3.8"
line-length = 79 line-length = 79
[build-system] [build-system]
requires = ["poetry-core"] requires = ["poetry-core>=2.0.0,<3.0.0"]
build-backend = "poetry.core.masonry.api" build-backend = "poetry.core.masonry.api"