Package Details: python-pyhanko 0.35.1-2

Git Clone URL: https://aur.archlinux.org/python-pyhanko.git (read-only, click to copy)
Package Base: python-pyhanko
Description: sign and stamp PDF files
Upstream URL: https://github.com/MatthiasValvekens/pyhanko
Keywords: pdf python
Licenses: MIT
Submitter: micwoj92
Maintainer: Xeonacid (lilac, lapsus)
Last Packager: lilac
Votes: 0
Popularity: 0.000000
First Submitted: 2022-04-10 22:12 (UTC)
Last Updated: 2026-06-07 06:04 (UTC)

Latest Comments

Xeonacid commented on 2026-06-07 06:05 (UTC)

I got it. It's monorepo now. Fixed, please have a try!

Xeonacid commented on 2026-06-07 04:09 (UTC)

@lapsus I added the lines because it otherwise fails with: ==> Starting build()... * Getting build dependencies for wheel... error: Multiple top-level packages discovered in a flat-layout: ['dev', 'pkgs', 'internal'].

To avoid accidental inclusion of unwanted files or directories, setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple packages on purpose, you should not rely on automatic discovery. Instead, consider the following options:

  1. set up custom discovery (find directive with include or exclude)
  2. use a src-layout
  3. explicitly set py_modules or packages with a list of names

To find more information, look for "package discovery" on setuptools docs.

ERROR Backend subprocess exited when trying to invoke get_requires_for_build_wheel

I've not investigated much yet. Do you know what's the correct approach? I added you as co-maintainer. Thanks for looking into this!

lapsus commented on 2026-06-06 23:19 (UTC)

the package appears to be packaged incorrectly since 2025-11-05 The PKGBUILD appends:

[tool.setuptools] packages = ["pkgs", "internal"]

This causes the built package to omit the actual pyhanko module I can take over or co-maintain if helpful

j_4321 commented on 2025-11-05 13:25 (UTC)

I don't know if this is an upstream issue or an issue with the prepare instructions of the PKGBUILD, but when I try to compile python-pyhanko for any version > 0.27.1, the folder pyhanko is somehow missing from usr/lib/python3.13/site-packages and the whole zst package seems to only contain metadata and documentation.

micwoj92 commented on 2022-08-05 11:44 (UTC)

Added.

leuko commented on 2022-08-05 10:01 (UTC) (edited on 2022-08-05 10:07 (UTC) by leuko)

I noticed that python-uharfbuzz is required if an OTF font is specified in pyhanko.yml.

It could be a good idea to include this package in optional deps.


Error message:

ImportError: ('pyhanko.pdf_utils.font.opentype requires pyHanko to be installed with the [opentype] option. You can install missing dependencies by running "pip install \'pyHanko[opentype]\'".', ModuleNotFoundError("No module named 'uharfbuzz'"))