On Fri, Jul 03, 2026 at 06:24:05PM +0200, Simon Josefsson wrote:
Colin Watson <[email protected]> writes:
On Tue, Jun 30, 2026 at 11:11:41AM +0200, Simon Josefsson wrote:
Carsten Schoenert <[email protected]> writes:
could you please describe in debian/README.source how the workflow is to
update the package python-datamodel-code-generator.

The visible branch layout shows it's uses some upstream branch to import
newer versions. But currently I've no clue how to import a newer version.

Hi Carsten!  I use normal 'gbp import-orig --uscan' and nothing special.

The undocumented missing piece is that you need something like this
first:

  git remote add upstreamvcs 
https://github.com/koxudaxi/datamodel-code-generator

(Note that this is a deviation from the Debian Python team's policy:
https://salsa.debian.org/python-team/tools/python-modules/blob/master/policy.rst#git-procedures.)

Oh, that was unintentional and just my old habbit.  I don't understand
how my approach differs from that policy though, it doesn't seem
terribly clear exactly how package updates must work?  I'm happy to
adapt here.

The practice in pretty much all our other packages is not to use `upstream-vcs-tag` in `debian/gbp.conf`, so that `gbp import-orig` commits the new tarball as a single commit. I understand that there are traceability issues, of course; the tradeoff is that it makes it easier for team members to work on a large number of packages with minimal setup.

(But I don't want to argue about it right now.  Other priorities!)

The latest upstream release fixes this.  Simon, do you need help with
getting this packaged?  This bug is tied up with some pretty
significant dependency graphs (including the current pytest 9.1 mess).

Yes, please!  I've packaged a later upstream, but I got the same build
error, and there is some other issues too.  My python knowledge is too
weak here, could you start with

https://salsa.debian.org/jas/python-datamodel-code-generator

and see if you can get it to work?  Feel free to push to the main python
Salsa project as you wish, please don't wait for me before commits and
upload.

OK, will do. I'm just about out of time for this working week, but I should be able to start having a look at it on Sunday evening.

--
Colin Watson (he/him)                              [[email protected]]

Reply via email to