tags 1116866 patch
thanks
Hello. The attached patch would solve this issue.
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.
Thanks.
-------------------------------------------------------------------------------
$ debcheckout -a python-odmantic
declared git repository at
[email protected]:python-team/packages/python-odmantic.git
git clone https://salsa.debian.org/python-team/packages/python-odmantic.git
python-odmantic ...
Cloning into 'python-odmantic'...
remote: Enumerating objects: 331, done.
remote: Counting objects: 100% (331/331), done.
remote: Compressing objects: 100% (273/273), done.
remote: Total 331 (delta 61), reused 285 (delta 35), pack-reused 0 (from 0)
Receiving objects: 100% (331/331), 185.99 KiB | 300.00 KiB/s, done.
Resolving deltas: 100% (61/61), done.
Downloading docs/img/usage_fastapi_swagger.png (75 KB)
Error downloading object: docs/img/usage_fastapi_swagger.png (8b4ce24): Smudge
error: Error downloading docs/img/usage_fastapi_swagger.png
(8b4ce248fa26e05f17accc3bbadf995f5afb973fd0e6b50c2140fbcd49fec1d6):
[8b4ce248fa26e05f17accc3bbadf995f5afb973fd0e6b50c2140fbcd49fec1d6] Object does
not exist on the server or you don't have permissions to access it: [404]
Object does not exist on the server or you don't have permissions to access it
Errors logged to
'/tmp/tmp/python-odmantic/.git/lfs/logs/20251013T124014.427877425.log'.
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: docs/img/usage_fastapi_swagger.png: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
checkout failed (the command above returned a non-zero exit code)
-------------------------------------------------------------------------------
commit 264559ff892dd5364fa6e4e2b5a06fe3ea2cf17e
Author: Santiago Vila <[email protected]>
Date: Sun Oct 12 16:37:00 2025 +0200
d/control: Drop <!nocheck> from python3-pydantic. Closes: #1116866.
diff --git a/debian/control b/debian/control
index d615ef5..8935a2f 100644
--- a/debian/control
+++ b/debian/control
@@ -22,7 +22,7 @@ Build-Depends-Indep:
python3-httpx <!nocheck>,
python3-inline-snapshot <!nocheck>,
python3-motor <!nocheck>,
- python3-pydantic <!nocheck>,
+ python3-pydantic,
python3-pymongo <!nocheck>,
python3-pytest <!nocheck>,
python3-pytest-asyncio <!nocheck>,