Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #16696

Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator

Path csiph.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Dmitry Shachnev <mitya57@debian.org>
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 <K9y81-ciZR-5@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> <K9unL-cewE-7@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Mon Jan 27 14:16:53 2025
Old-Return-Path <mitya57@gmail.com>
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 <debian-python@lists.debian.org> archive/latest/22796
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
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 <Z5eVgCPCCh-uy9Bd@mitya57.me>
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> <877c6gtvkl.fsf@josefsson.org>
Xref csiph.com linux.debian.maint.python:16696

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Simon!

On Mon, Jan 27, 2025 at 11:11:54AM +0100, Simon Josefsson wrote:
> 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)

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

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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