Path: csiph.com!news.neodome.net!weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Simon Josefsson Newsgroups: linux.debian.maint.python Subject: Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Date: Thu, 26 Dec 2024 13:50:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Thu Dec 26 12:42:50 2024 Old-Return-Path: 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:241226:debian-python@lists.debian.org::YTyBtOdrqmzZH34j:8MJi X-Hashcash: 1:23:241226:wrar@debian.org::YJmtNAfGZ+nH3rKo:lZwB User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Mailing-List: archive/latest/22729 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/87r05uty2j.fsf@kaka.sjd.se Approved: robomod@news.nic.it Lines: 47 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Thu, 26 Dec 2024 13:42:44 +0100 X-Original-Message-ID: <87r05uty2j.fsf@kaka.sjd.se> X-Original-References: <87jzbqsjq4.fsf__16847.3339335591$1734954690$gmane$org@kaka.sjd.se> <87o70zwauh.fsf@kaka.sjd.se> <87jzbmwvs8.fsf@kaka.sjd.se> Xref: csiph.com linux.debian.maint.python:16635 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Andrey Rakhmatullin writes: > On Thu, Dec 26, 2024 at 12:03:51PM +0100, Simon Josefsson wrote: >> Andrey Rakhmatullin writes: >>=20 >> > Wasn't the proposed fix "export PYBUILD_NAME as the docs say"? I see y= ou >> > are not doing this. >>=20 >> 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. Thanks for testing. Yes so maybe the best is if upstream make genson/schema/ installed by default, and maybe that will solve the autopkgtest failure too. Or we can look into reverting back something based on my 'hack' approach, which is pretty much the same as the PYBUILD_BEFORE_TEST command, that made autopkgtest happy. I didn't understand which big fat warning this was? I looked in the build logs. /Simon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIoEARYIADIWIQSjzJyHC50xCrrUzy9RcisI/kdFogUCZ21PRBQcc2ltb25Aam9z ZWZzc29uLm9yZwAKCRBRcisI/kdFomI6AQDnivOz0spPe413EZqWfUZuZAyxG0W7 Js3PwZAjdi6yrgEAuRBA32LVCD0gwJNDRuILL+soxXMyvIaTztj4AQ6OYgE= =6crR -----END PGP SIGNATURE----- --=-=-=--