#1140578#5
Date:
2026-06-23 06:59:26 UTC
From:
To:
Hello Simon,

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.

Regards
Carsten

#1140578#10
Date:
2026-06-30 09:11:41 UTC
From:
To:
Carsten Schoenert <c.schoenert@t-online.de> writes:

I have been trying to get latest upstream packaged (help appreciated)
and have been experimenting with using upstream git directly to get all
files (pypi doesn't seem complete) with the following debian/watch:

Version: 5
Source: https://github.com/koxudaxi/datamodel-code-generator.git
Matching-Pattern: refs/tags/@ANY_VERSION@
Mode: git
Uversionmangle: auto

Some new build dependencies are needed, and I've managed to get
python3-hypothesis-jsonschema into Debian.  I've pushed packaging of
v0.66 here:

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

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'

Pipeline is here:

https://salsa.debian.org/jas/python-datamodel-code-generator/-/pipelines/1119388
https://salsa.debian.org/jas/python-datamodel-code-generator/-/jobs/9875950

Do you have any idea?  I fear it is some build dependency out of date,
but I'm new to Debian Python packaging so my debug skills are weak.  I
was hoping latest upstream would solve this, but alas no luck so far.

/Simon