Migrate project metadata to Poetry 2 format

This commit is contained in:
mdaleo404 committed 2026-09-27 15:41:26 +01:00
1 parent a51a41392e
commit 92e6d8cfde
3 files changed
+17 -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
+2 -2
View File
@@ -1,4 +1,4 @@
# This file is automatically @generated by Poetry 2.4.0 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"
@@ -459,4 +459,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 = "e2c2d57a74d31e7a59cc63daae9511890c9e21db043df7a5c8d9ac33e967e393" content-hash = "9cdd17377277900f5cb132fa000030ec980678f09d5e413d5e8f7e66058d571c"
+14 -12
View File
@@ -1,21 +1,23 @@
[tool.poetry] [project]
name = "chguard" name = "chguard"
version = "0.5.0" version = "0.5.0"
description = "Safety-first tool to snapshot and restore filesystem ownership and permissions." description = "Safety-first tool to snapshot and restore filesystem ownership and permissions."
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/chguard" requires-python = ">=3.10,<4.0"
repository = "https://git.sysmd.uk/guardutils/chguard" dependencies = [
"rich>=12",
"argcomplete>=2",
"platformdirs>=4.2.2",
"filelock>=3.15.4",
]
[tool.poetry.dependencies] [project.urls]
python = ">=3.10,<4.0" Homepage = "https://git.sysmd.uk/guardutils/chguard"
rich = ">=12" Repository = "https://git.sysmd.uk/guardutils/chguard"
argcomplete = ">=2"
platformdirs = ">=4.2.2"
filelock = ">=3.15.4"
[tool.poetry.scripts] [project.scripts]
chguard = "chguard.cli:main" chguard = "chguard.cli:main"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
@@ -29,5 +31,5 @@ line-length = 79
testpaths = ["tests"] testpaths = ["tests"]
[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"