Fix for bookworm build
Some checks failed
Lint / test (push) Waiting to run
CI / test (push) Successful in 52s
CI / test (almalinux, docker.io/library/almalinux:9, python3.11) (push) Failing after 2m15s
CI / test (debian, docker.io/library/debian:13, python3) (push) Failing after 3m11s

This commit is contained in:
Miguel Jacq 2026-07-05 11:21:05 +10:00
parent 7d54696402
commit 9d24ea99e9
Signed by: mig5
GPG key ID: 03906B4110AAD3B8
2 changed files with 22 additions and 1 deletions

View file

@ -1,5 +1,5 @@
[build-system]
requires = ["poetry-core>=2.0.0,<3.0.0"]
requires = ["poetry-core>=1.4.0,<3.0.0"]
build-backend = "poetry.core.masonry.api"
[project]
@ -25,12 +25,32 @@ Repository = "https://git.mig5.net/mig5/enroll"
enroll = "enroll.cli:main"
[tool.poetry]
# Keep this legacy Poetry metadata as a compatibility shim for distro
# build backends such as Debian Bookworm's python3-poetry-core 1.4.x.
# The canonical modern metadata remains in [project] above.
requires-poetry = ">=2.0"
name = "enroll"
version = "0.7.0"
description = "Enroll a server's running state retrospectively into Ansible"
authors = ["Miguel Jacq <mig@mig5.net>"]
readme = "README.md"
license = "GPL-3.0-or-later"
homepage = "https://git.mig5.net/mig5/enroll"
repository = "https://git.mig5.net/mig5/enroll"
packages = [{ include = "enroll" }]
include = [
{ path = "enroll/schema/state.schema.json", format = ["sdist", "wheel"] },
]
[tool.poetry.dependencies]
python = ">=3.10,<4.0"
PyYAML = ">=6,<7"
paramiko = ">=3.5"
jsonschema = ">=4.23,<5"
[tool.poetry.scripts]
enroll = "enroll.cli:main"
[tool.poetry.group.dev]
optional = true