Carsten Schoenert <[email protected]> writes:

> Source: python-datamodel-code-generator
> Version: 0.57.0-1
> Severity: wishlist
>
> 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.

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to