Package Details: python-segno 1.6.6-3

Git Clone URL: https://aur.archlinux.org/python-segno.git (read-only, click to copy)
Package Base: python-segno
Description: Python QR Code and Micro QR Code encoder
Upstream URL: https://segno.readthedocs.io/
Licenses: BSD-3-Clause
Submitter: peippo
Maintainer: peippo
Last Packager: peippo
Votes: 2
Popularity: 0.000062
First Submitted: 2020-02-14 19:52 (UTC)
Last Updated: 2026-05-19 08:30 (UTC)

Latest Comments

peippo commented on 2026-05-19 08:40 (UTC)

@bhyoo, thanks for noticing! I uploaded an updated PKGBUILD and also filed an issue upstream: https://github.com/heuer/segno/issues/151

bhyoo commented on 2026-05-18 01:25 (UTC)

Build fails on Arch due to flit_core <4 constraint

The package currently fails to build because pyproject.toml specifies flit_core >=3.2,<4, but Arch ships python-flit-core 4.0.0.

I tested building against flit-core 4.0.0 directly — it works without issues. The <4 upper bound appears to be a precautionary cap rather than a real incompatibility. segno already uses the modern [project] table, so none of flit-core 4's breaking changes apply.

Suggested fix — add a prepare() function to the PKGBUILD:

prepare() {
    cd "${srcdir}"/${_name}-${pkgver}
    sed -i 's/flit_core >=3.2,<4/flit_core >=3.2,<5/' pyproject.toml
}

Alternatively, it would be worth opening an issue upstream at https://github.com/heuer/segno to relax the constraint in the next release, so the patch can eventually be dropped.

peippo commented on 2025-07-05 11:26 (UTC)

What would be your suggestion?

You can already skip the checks on first build, as python-code-artistic is a check dependency, only. On subsequent builds, circular dependencies should resolve fine

ryottmp3 commented on 2025-07-02 21:02 (UTC)

python-qrcode-artistic is a circular dependency, it itself requires python-segno for build