Fix for bookworm build
This commit is contained in:
parent
7d54696402
commit
9d24ea99e9
2 changed files with 22 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ RUN set -eux; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
build-essential \
|
build-essential \
|
||||||
devscripts \
|
devscripts \
|
||||||
|
libdistro-info-perl \
|
||||||
debhelper \
|
debhelper \
|
||||||
dh-python \
|
dh-python \
|
||||||
pybuild-plugin-pyproject \
|
pybuild-plugin-pyproject \
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
[build-system]
|
[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"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
|
|
@ -25,12 +25,32 @@ Repository = "https://git.mig5.net/mig5/enroll"
|
||||||
enroll = "enroll.cli:main"
|
enroll = "enroll.cli:main"
|
||||||
|
|
||||||
[tool.poetry]
|
[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"
|
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" }]
|
packages = [{ include = "enroll" }]
|
||||||
include = [
|
include = [
|
||||||
{ path = "enroll/schema/state.schema.json", format = ["sdist", "wheel"] },
|
{ 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]
|
[tool.poetry.group.dev]
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue