Path: csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Dmitry Shachnev Newsgroups: linux.debian.maint.python Subject: Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator Date: Mon, 27 Jan 2025 15:20:01 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Mon Jan 27 14:16:53 2025 Old-Return-Path: X-Amavis-Spam-Status: No, score=-11.398 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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: -5.5 X-Gm-Message-State: AOJu0YzoOfm8IiNxtpon9c8QCHLhLx3wZjrTEDaJFD5IiHi0KqlcDPyq tKL+scKOBzu0e7OVE/OJHwVg6pTjXGC8xmW1MejMnTlXFhlRX6uQOaCEMCil X-Gm-Gg: ASbGnct9kWiMuGkTh6blypqgyIvrVlNXrfaC7FXrIIk81Xu0EsdXtlvIgQCS5EiCGOj 7+xUzsgXoCS8owh59K2ojtm8/lOmWw6mBY2ZeXSH/Je6sc6Wq/agQX2HhhXfclcCHmF5fhQuZ+w Rx7Tu1+LojQuUa83q3ti6v8GCeGzaP/0kjmK+ulbOz55UfMbqSDjf4TvO6AQU58q55WjPilAMPY d7aO6sgOqQ37OA1h69AAZk2U/i5JM+pTDAbKe9s8UmC1TFOKGo2+cdTmctAR9kVSL+ySdyDdElk Y7+BJrFXF4ZOzRFVwbNqtRn24IvfKFxqFkTP/A== X-Google-SMTP-Source: AGHT+IFxzgnwOtzxS1Tj30FRKMvXyS9xfAPWAuAV5VSUVjqdZEmrggqB513NcMXWDQ0i56yCBKrMtQ== X-Received: by 2002:a05:651c:888:b0:2fb:54d7:71b5 with SMTP id 38308e7fff4ca-3072caa1681mr160729781fa.22.1737987396615; Mon, 27 Jan 2025 06:16:36 -0800 (PST) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="5Ndt8due7zbepZGr" Content-Disposition: inline X-Mailing-List: archive/latest/22796 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/Z5eVgCPCCh-uy9Bd@mitya57.me Approved: robomod@news.nic.it Lines: 59 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: debian-python@lists.debian.org X-Original-Date: Mon, 27 Jan 2025 17:17:36 +0300 X-Original-Message-ID: X-Original-References: <87jzbqsjq4.fsf__16847.3339335591$1734954690$gmane$org@kaka.sjd.se> <87o70zwauh.fsf@kaka.sjd.se> <87jzbmwvs8.fsf@kaka.sjd.se> <877c6gtvkl.fsf@josefsson.org> Xref: csiph.com linux.debian.maint.python:16696 --5Ndt8due7zbepZGr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Simon! On Mon, Jan 27, 2025 at 11:11:54AM +0100, Simon Josefsson wrote: > Hi >=20 > Could someone help me and upstream how to get python setuptools to get > all files installed for this package? >=20 > Please see this thread and upstream bug report: >=20 > https://github.com/wolverdude/GenSON/issues/80 >=20 > I work around the problem in the debian packaging like this: >=20 > export PYBUILD_BEFORE_TEST =3D \ > cp -rv {dir}/genson/schema {build_dir}/$(PYBUILD_NAME) You can also use debian/pybuild.testfiles for that. See pybuild(1) for details. > 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... Debian runs tests before the install phase (but after the build phase). And the tests are run from the build directory, not from the target installation directory. So setuptools does not copy all files there. -- Dmitry Shachnev --5Ndt8due7zbepZGr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEq2sdvrA0LydXHe1qsmYUtFL0RrYFAmeXlXwACgkQsmYUtFL0 RraKPg/9GRP5ZT3qe+vf6gMrKowr6rBxj4m2KXwWwH+dFwe2oX1n83JbfFxvWXeC xsxo71SWr6zUjefGwjpHd9+CTSe/BMOEjyW1aUvuL3KuyEahw4GcRtsV3tLhfQT1 n1GEkCL8RrbSHdVt4i6IYJyEj6A7DAg+IdLoE1y9b18L2geLxuumQte6+BIiuhRM ZERV5+uX/eQdIT+DCcFu8Fmgc29fWbZ7SCuId1NnBvVyngyrV4phslA/zKStekzy +H+rUj3qUQggh/1HN1bhgTjVz5TUv2CBfAzDMnaw/w+31N8tLJO4guLQiRb/i60z ACOgOxm4mmSYkFmGItG0/JbK086avg5YGVPwIWXB2UhmvJGt/5uCZvW+RsXr7oBQ Fs8Dy5vfWenIxAwadz1IgEydMmGKxmUuO2zN90WfwpF3NtWBTVRjAp/z4yGIy1g4 yD09XAtNM3ExSK9g/m0r4A5JS3byjaT1GZR5vsHaAhBoGJVyJdS4tOpHVbVvg0iA Yq6UIBYChQMBUlD3PiHBeV4/75WYqpeamwxaC2VC+TrDylOdH1s+XHeyCoCqrQ3y gRlDy8k4DaYTsQqgUMJUIjABywFhm09iCIo2/7qvgIOlJgiXx9XpOPryXaMWlpi9 tGnxp61BRWce6lvyhpFctTNjpQ6r1LSQV0PFhou0RrPa+O9snYY= =Yr4o -----END PGP SIGNATURE----- --5Ndt8due7zbepZGr--