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

From Dmitry Shachnev <mitya57@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Bug#1091197: ITP: python-genson -- user-friendly JSON Schema generator
Date 2025-01-27 15:20 +0100
Message-ID <K9y81-ciZR-5@gated-at.bofh.it> (permalink)
References (1 earlier) <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>
Organization linux.* mail to news gateway

Show all headers | 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