Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #16694
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Simon Josefsson <simon@josefsson.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator |
| Date | Mon, 27 Jan 2025 11:20:01 +0100 |
| Message-ID | <K9unL-cewE-7@gated-at.bofh.it> (permalink) |
| References | <JXJVf-2DHD-5@gated-at.bofh.it> <JXJVf-2DHD-3@gated-at.bofh.it> <JXQal-2KYH-3@gated-at.bofh.it> <JXTUB-2OLB-3@gated-at.bofh.it> <JXUGZ-2P3I-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Mon Jan 27 10:11:59 2025 |
| Old-Return-Path | <simon@josefsson.org> |
| X-Amavis-Spam-Status | No, score=-14.4 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -4.6 |
| Openpgp | id=B1D2BD1375BECB784CF4F8C4D73CF638C53C06BE; url=https://josefsson.org/key-20190320.txt |
| X-Hashcash | 1:23:250127:wrar@debian.org::mGgDcdfPxY0jejxI:Fg72 |
| X-Hashcash | 1:23:250127:debian-python@lists.debian.org::Mc8iXIZEiYbWuBR/:hpjP |
| User-Agent | Gnus/5.13 (Gnus v5.13) |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/22794 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/877c6gtvkl.fsf@josefsson.org |
| Approved | robomod@news.nic.it |
| Lines | 76 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Mon, 27 Jan 2025 11:11:54 +0100 |
| X-Original-Message-ID | <877c6gtvkl.fsf@josefsson.org> |
| X-Original-References | <87jzbqsjq4.fsf__16847.3339335591$1734954690$gmane$org@kaka.sjd.se> <87o70zwauh.fsf@kaka.sjd.se> <Z2z_-EMN7eohZe_L@belkar.wrar.name> <87jzbmwvs8.fsf@kaka.sjd.se> <Z21FD82JMqwMEpoC@belkar.wrar.name> |
| Xref | csiph.com linux.debian.maint.python:16694 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi
Could someone help me and upstream how to get python setuptools to get
all files installed for this package?
Please see this thread and upstream bug report:
https://github.com/wolverdude/GenSON/issues/80
I work around the problem in the debian packaging like this:
export PYBUILD_BEFORE_TEST = \
cp -rv {dir}/genson/schema {build_dir}/$(PYBUILD_NAME)
However installing these files should be done by upstream setuptools
magic somehow. Some hint or ideally an upstream merge request to fix
this would be appreciated...
/Simon
Andrey Rakhmatullin <wrar@debian.org> writes:
>> Thanks for reply! I added that but commented out since adding it did
>> not change the pybuild behaviour. The extra genson/schema/ files are
>> not built and installed, only the top-level genson/ directory which is
>> the case even without PYBUILD_NAME.
>
> I've rechecked and the proposed fix also included "also, note the big fat
> warnings about upstream not configuring setuptools correctly".
> As I've just checked, running `python3 -m build` in the upstream repo also
> produces a wheel without the schema subpackage.
Carsten Schoenert <c.schoenert@t-online.de> writes:
>> Why doesn't pybuild do the right thing by default?
>
> on which base pybuild could make the right decision? pybuild is doing
> what it need and should do.
>
> The missing installation of the subfolder looks to me like an upstream
> issue.
> If the folder is needed for later usage it needs to get installed by
> setuptools.
/Simon
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Simon Josefsson <simon@josefsson.org> - 2024-12-26 01:30 +0100
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Andrey Rakhmatullin <wrar@debian.org> - 2024-12-26 08:10 +0100
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Simon Josefsson <simon@josefsson.org> - 2024-12-26 12:10 +0100
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Andrey Rakhmatullin <wrar@debian.org> - 2024-12-26 13:00 +0100
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Simon Josefsson <simon@josefsson.org> - 2024-12-26 13:50 +0100
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Simon Josefsson <simon@josefsson.org> - 2025-01-27 11:20 +0100
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Carsten Schoenert <c.schoenert@t-online.de> - 2025-01-27 15:10 +0100
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Dmitry Shachnev <mitya57@debian.org> - 2025-01-27 15:20 +0100
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Carsten Schoenert <c.schoenert@t-online.de> - 2024-12-26 08:50 +0100
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Carsten Schoenert <c.schoenert@t-online.de> - 2024-12-26 08:50 +0100
Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Simon Josefsson <simon@josefsson.org> - 2024-12-26 12:50 +0100
csiph-web