Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1265905

Bug#1116866: python-odmantic: FTBFS with the nocheck build profile

From Colin Watson <cjwatson@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1116866: python-odmantic: FTBFS with the nocheck build profile
Date 2025-10-13 14:40 +0200
Message-ID <LFq0h-4SWU-3@gated-at.bofh.it> (permalink)
References <LAJZF-1Jrz-61@gated-at.bofh.it> <LForv-4ROG-5@gated-at.bofh.it> <LAJZF-1Jrz-61@gated-at.bofh.it> <LForv-4ROG-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Oct 13, 2025 at 12:54:00PM +0200, Santiago Vila wrote:
>Hello. The attached patch would solve this issue.

Applied and uploaded, thanks.

>I would fix it myself via team upload, but I can't even clone the
>repository (see below).
>
>I think the underlying problem is that docs/img/usage_fastapi_swagger.png
>is not a real file but an external reference using GIT-LFS which still
>points to github, probably because the salsa repo was created as a
>filesystem snapshot of a lfs-enabled checkout.
>
>I'm not sure this is even DFSG-compliant. Our source code is supposed
>to be self-contained. I guess the right fix would involve dowloading
>the released tar.gz from github:
>
>https://github.com/art049/odmantic/archive/refs/tags/v1.0.2.tar.gz
>
>where "usage_fastapi_swagger.png" is the real file, and then use
>some +ds suffix for the new orig.tar.gz.

Yes, I ran into this with my previous upload and worked around it in 
some horrible way involving adding an upstream remote, but it's clearly 
unacceptable.  I did as you suggest.

A fresh clone now _almost_ works, but you may have to argue with 
.gitattributes; I couldn't think of anything I could do about that.  I 
found that the following procedure worked, though:

   $ git clone https://salsa.debian.org/python-team/packages/python-odmantic.git
   Cloning into 'python-odmantic'...
   remote: Enumerating objects: 360, done.
   remote: Counting objects: 100% (360/360), done.
   remote: Compressing objects: 100% (292/292), done.
   remote: Total 360 (delta 76), reused 306 (delta 44), pack-reused 0 (from 0)
   Receiving objects: 100% (360/360), 259.07 KiB | 470.00 KiB/s, done.
   Resolving deltas: 100% (76/76), done.
   Encountered 1 file that should have been a pointer, but wasn't:
           docs/img/usage_fastapi_swagger.png
   $ cd python-odmantic/
   $ dgit setup-gitattributes
   $ git restore .

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1116866: python-odmantic: FTBFS with the nocheck build profile Santiago Vila <sanvila@debian.org> - 2025-09-30 17:00 +0200
  Bug#1116866: python-odmantic: FTBFS with the nocheck build profile Santiago Vila <sanvila@debian.org> - 2025-10-13 13:00 +0200
    Bug#1116866: python-odmantic: FTBFS with the nocheck build profile Colin Watson <cjwatson@debian.org> - 2025-10-13 14:40 +0200
  Bug#1116866: python-odmantic: FTBFS with the nocheck build profile Colin Watson <cjwatson@debian.org> - 2025-10-13 17:10 +0200
    Bug#1116866: python-odmantic: FTBFS with the nocheck build profile Santiago Vila <sanvila@debian.org> - 2025-10-13 17:20 +0200

csiph-web