Control: retitle -1 python-datamodel-code-generator: Document upstream remote 
requirement in debian/README.source

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.)

But I have now also ran into the 'which' problem reported here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1141004

E           TypeError: ExternalFile._load_value() missing 1 required positional 
argument: 'which'

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).

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

Reply via email to