Skip to content

fix: ignore artificial python floor when installing barman - #517

Merged
NiccoloFei merged 1 commit into
mainfrom
dev/barman-320-bookworm-python
Sep 22, 2026
Merged

NiccoloFei merged 1 commit into
mainfrom
dev/barman-320-bookworm-python

Conversation

@mnencia

@mnencia mnencia commented Sep 22, 2026

Copy link
Copy Markdown
Member

barman 3.20.0 ships a pure-python wheel but declares Requires-Python >=3.12 with no real technical need for it. On debian:bookworm-slim (python3.11) pip refuses that wheel and falls back to building from sdist, which needs the uv_build backend, unavailable even on trixie.

Pass --ignore-requires-python to pip so it installs the existing universal wheel as-is. Verified barman-cloud-backup imports and barman --version work on both bookworm and trixie builds.

Foundation for #502 (barman 3.20.0 bump): once this merges, rebasing #502 unblocks it.

barman 3.20.0 ships a pure-python wheel but declares
Requires-Python >=3.12 with no real technical need for it. On
debian:bookworm-slim (python3.11) pip refuses that wheel and pip
falls back to building from sdist, which needs the uv_build
backend, unavailable even on trixie.

Pass --ignore-requires-python to pip so it installs the existing
universal wheel as-is. Verified barman-cloud-backup imports and
barman --version work on both bookworm and trixie builds.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@mnencia
mnencia requested a review from a team as a code owner September 22, 2026 09:03
@NiccoloFei
NiccoloFei merged commit 79a54d7 into main Sep 22, 2026
53 checks passed
@NiccoloFei
NiccoloFei deleted the dev/barman-320-bookworm-python branch September 22, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants