Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #17391
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ole Streicher <olebole@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | asdf-coordinates-schemas: Including package data in pybuild |
| Date | Sun, 08 Feb 2026 18:50:01 +0100 |
| Message-ID | <Mmh4Z-gInF-9@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sun Feb 8 17:48:11 2026 |
| Old-Return-Path | <news@h3002930.stratoserver.net> |
| X-Amavis-Spam-Status | No, score=-6.997 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -5.5 |
| X-Greylist | delayed 608 seconds by postgrey-1.36 at bendel; Sun, 08 Feb 2026 17:31:29 UTC |
| User-Agent | Gnus/5.13 (Gnus v5.13) |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| Lines | 38 |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/23650 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/87ecmvjgmp.fsf@donar.aip.de |
| Approved | robomod@news.nic.it |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sun, 08 Feb 2026 18:21:18 +0100 |
| X-Original-Message-ID | <87ecmvjgmp.fsf@donar.aip.de> |
| Xref | csiph.com linux.debian.maint.python:17391 |
Show key headers only | View raw
Hi, I am trying to package version 0.5.1 of the asdf-coordinates-schema package and somehow fail to include the required package data. https://salsa.debian.org/debian-astro-team/asdf-coordinates-schemas The package consists of a few lines Python source in src/asdf_coordinates_schemas/, but mainly a number of resource files in the resources subdir. They are included by pyproject.toml: ----------------------------8<------------------------------- [tool.setuptools.package-data] "asdf_coordinates_schemas.resources" = ["resources/**/*.yaml"] [tool.setuptools.package-dir] '' = "src" "asdf_coordinates_schemas.resources" = "resources" ----------------------------8<------------------------------- This works find upstream, and also when I build it manually with python3 -m build --wheel --skip-dependency-check --no-isolation --outdir foo And it works if I run a plain "debuild" as ordinary user -- all resource files are included in the .deb. When I build it as root, or f.e. "sudo debuild", or in cowbuilder (or on Gitlab), the data files are not included in the .deb. "sudo python3 -m build..." however includes them, as well as "sudo make -f debian/rules build-indep" Why (and how) does debuild exclude the resources if run as root and how can I enforce them in the package? Cheers Ole
Back to linux.debian.maint.python | Previous | Next | Find similar
asdf-coordinates-schemas: Including package data in pybuild Ole Streicher <olebole@debian.org> - 2026-02-08 18:50 +0100
csiph-web