Migrate project metadata to Poetry 2 format
This commit is contained in:
3 files changed
+18
-14
No files matched your search
@@ -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
@@ -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"
|
||||||
@@ -443,7 +443,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"},
|
||||||
@@ -527,4 +527,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 = "b90604ce6169c72e35550fd278fab34b383e08f72e6db019f3a8ae611c2eae0a"
|
content-hash = "badf81e0c865a7a9aed1f2f3390ff4779cf7c50a5ca1ba95b88305acb56bfecb"
|
||||||
+14
-10
@@ -1,21 +1,25 @@
|
|||||||
[tool.poetry]
|
[project]
|
||||||
name = "mirro"
|
name = "mirro"
|
||||||
version = "0.6.3"
|
version = "0.6.3"
|
||||||
description = "A safe editing wrapper: edits a temp copy, compares, and saves original backup if changed."
|
description = "A safe editing wrapper: edits a temp copy, compares, and saves original backup if changed."
|
||||||
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/mirro"
|
requires-python = ">=3.10,<4.0"
|
||||||
repository = "https://git.sysmd.uk/guardutils/mirro"
|
dependencies = [
|
||||||
packages = [{include = "mirro", from = "src"}]
|
"argcomplete>=2",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[project.urls]
|
||||||
python = ">=3.10,<4.0"
|
Homepage = "https://git.sysmd.uk/guardutils/mirro"
|
||||||
argcomplete = ">=2"
|
Repository = "https://git.sysmd.uk/guardutils/mirro"
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[project.scripts]
|
||||||
mirro = "mirro.main:main"
|
mirro = "mirro.main:main"
|
||||||
|
|
||||||
|
[tool.poetry]
|
||||||
|
packages = [{include = "mirro", 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"
|
||||||
@@ -25,5 +29,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"
|
||||||
Reference in new issue
Block a user