Your message dated Thu, 15 Oct 2026 10:35:00 +0000
with message-id <[email protected]>
and subject line Bug#1150528: fixed in ormar 0.26.0-1
has caused the Debian Bug report #1150528,
regarding ormar: FTBFS: E AssertionError: assert {'id': 1, 'au...
'year': 2021} == {'author': {'... 'year': 2021}
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1150528: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1150528
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:ormar
Version: 0.24.0-2
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202610/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ormar, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
},
"id": 1,
"title": "Bug caused by default value",
"year": 2021,
}
E AssertionError: assert {'id': 1, 'au... 'year': 2021} == {'author':
{'... 'year': 2021}
E
E Omitting 3 identical items, use -vv to show
E Differing items:
E {'author': {'id': 1}} != {'author': {'books': [{'author': {'id':
1}, 'id': 1, 'title': 'Bug caused by default value', 'year': 2021}], 'id': 1}}
E Use -v to get more diff
tests/test_fastapi/test_relations_with_nested_defaults.py:73: AssertionError
=============================== warnings summary ===============================
ormar/fields/foreign_key.py:439: 16 warnings
tests/test_relations/test_m2m_through_fields.py: 1 warning
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ormar/fields/foreign_key.py:439:
DeprecationWarning: Failing to pass a value to the 'type_params' parameter of
'typing.ForwardRef._evaluate' is deprecated, as it leads to incorrect behaviour
when calling typing.ForwardRef._evaluate on a stringified annotation that
references a PEP 695 type parameter. It will be disallowed in Python 3.15.
evaluated = target_obj._evaluate(globalns, localns, recursive_guard=set())
ormar/fields/foreign_key.py:439: 16 warnings
tests/test_relations/test_m2m_through_fields.py: 1 warning
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/ormar/fields/foreign_key.py:439:
DeprecationWarning: ForwardRef._evaluate is a private API and is retained for
compatibility, but will be removed in Python 3.16. Use ForwardRef.evaluate() or
typing.evaluate_forward_ref() instead.
evaluated = target_obj._evaluate(globalns, localns, recursive_guard=set())
tests/test_exclude_include_dict/test_complex_relation_tree_performance.py:167
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_exclude_include_dict/test_complex_relation_tree_performance.py:167:
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for
removal in a future version. Use timezone-aware objects to represent datetimes
in UTC: datetime.datetime.now(datetime.UTC).
created_date: datetime = orm.DateTime(default=datetime.utcnow())
tests/test_inheritance_and_pydantic_generation/test_inheritance_with_default.py:19
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_inheritance_and_pydantic_generation/test_inheritance_with_default.py:19:
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for
removal in a future version. Use timezone-aware objects to represent datetimes
in UTC: datetime.datetime.now(datetime.UTC).
created_at: datetime.datetime =
ormar.DateTime(default=datetime.datetime.utcnow())
tests/test_inheritance_and_pydantic_generation/test_inheritance_with_default.py:20
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_inheritance_and_pydantic_generation/test_inheritance_with_default.py:20:
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for
removal in a future version. Use timezone-aware objects to represent datetimes
in UTC: datetime.datetime.now(datetime.UTC).
updated_at: datetime.datetime =
ormar.DateTime(default=datetime.datetime.utcnow())
tests/test_queries/test_quoting_table_names_in_on_join_clause.py:21
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/test_queries/test_quoting_table_names_in_on_join_clause.py:21:
DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for
removal in a future version. Use timezone-aware objects to represent datetimes
in UTC: datetime.datetime.now(datetime.UTC).
created_on = ormar.DateTime(timezone=True,
default=datetime.datetime.utcnow())
tests/test_deferred/test_forward_cross_refs.py::test_auto_through_model
tests/test_fastapi/test_m2m_forwardref.py::test_payload
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/lifespan.py:35:
SAWarning: Can't sort tables for DROP; an unresolvable foreign key dependency
exists between tables: cities, countries; and backend does not support ALTER.
To restore at least a partial sort, apply use_alter=True to ForeignKey and
ForeignKeyConstraint objects involved in the cycle to mark these as known
cycles that will be ignored.
config.metadata.drop_all(connection)
tests/test_inheritance_and_pydantic_generation/test_geting_pydantic_models.py::test_getting_pydantic_model_mutual_rels_exclude
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build/tests/lifespan.py:35:
SAWarning: Can't sort tables for DROP; an unresolvable foreign key dependency
exists between tables: mutual_a, mutual_b; and backend does not support ALTER.
To restore at least a partial sort, apply use_alter=True to ForeignKey and
ForeignKeyConstraint objects involved in the cycle to mark these as known
cycles that will be ignored.
config.metadata.drop_all(connection)
tests/test_model_methods/test_populate_onupdate_values.py::test_onupdate_bulk_update
tests/test_model_methods/test_populate_onupdate_values.py::test_onupdate_bulk_update
/usr/lib/python3/dist-packages/aiosqlite/core.py:105: DeprecationWarning: The
default datetime adapter is deprecated as of Python 3.12; see the sqlite3
documentation for suggested replacement recipes
result = function()
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_fastapi/test_fastapi_docs.py::test_schema_modification - Ke...
FAILED tests/test_fastapi/test_fastapi_usage.py::test_read_main - AssertionEr...
FAILED tests/test_fastapi/test_nested_saving.py::test_saving_related_in_fastapi
FAILED
tests/test_fastapi/test_relations_with_nested_defaults.py::test_related_with_defaults
========== 4 failed, 485 passed, 1 deselected, 43 warnings in 16.25s ===========
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14/build; python3.14 -m pytest -k "not
test_weakref_init" --ignore=tests/test_databases/test_transaction_as_fixture.py
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.14
--parallel=1 returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit
status 2
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: ormar
Source-Version: 0.26.0-1
Done: Edward Betts <[email protected]>
We believe that the bug you reported is fixed in the latest version of
ormar, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Edward Betts <[email protected]> (supplier of updated ormar package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 13 Jun 2026 21:51:35 +0100
Source: ormar
Architecture: source
Version: 0.26.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Edward Betts <[email protected]>
Closes: 1150528
Changes:
ormar (0.26.0-1) unstable; urgency=medium
.
* New upstream release. (Closes: #1150528)
* Upstream added python3-orjson dependency.
* Needs new python3-ormar-utils package.
* Refresh fix failing tests patch.
* Replace the upstreamed Pydantic patch with a fix for deferred schema
construction and compatibility with Pydantic 2.14.
* Update Standards-Version.
* Update to debhelper compatibility level 14.
* Add dh-sequence-single-binary.
* Remove debhelper compat 14 auto-applied substvars.
* Prefix debhelper files with the binary package name.
Checksums-Sha1:
788ef1ead403a974fed13d97c9a9de2b589e8456 2901 ormar_0.26.0-1.dsc
95b1036653df8319d3fa1c314fbc792de7ddf7d3 473364 ormar_0.26.0.orig.tar.gz
adc3cfd431ea54f38365c5cc7365eb92f1c966ba 5296 ormar_0.26.0-1.debian.tar.xz
13541f7049973474b2c31e2bb24b4aeb57dd04b4 1024672 ormar_0.26.0-1.git.tar.xz
c3fe144ab1c5b5ab1beea535f7cb963e23d257d8 17720 ormar_0.26.0-1_source.buildinfo
Checksums-Sha256:
294416f0bd0b11074063daf77b384caf35e19108614e4f4d4db1201115679847 2901
ormar_0.26.0-1.dsc
bc8a653b16d896787da45441aa4bdb66901bd87b6259a8a9337549f38a6ad12f 473364
ormar_0.26.0.orig.tar.gz
a54e77fa13584a61281deefdbbdc713058f384ba29737c0d89872235683d6679 5296
ormar_0.26.0-1.debian.tar.xz
ac9095ccd5ec704821693cbd112ce8bff4655de74da774a4b6f239cec76ddcf9 1024672
ormar_0.26.0-1.git.tar.xz
e6f6be47beb6d52e7dcee6adf96de18c30736a5b553feb13ef4f5a4b5eef118c 17720
ormar_0.26.0-1_source.buildinfo
Files:
f5b912990c819489588c5c068c5262b3 2901 python optional ormar_0.26.0-1.dsc
51515b0f92bdc1ac6162531fffff49fc 473364 python optional
ormar_0.26.0.orig.tar.gz
483897e38dfeca3ccc52c2a1a4497789 5296 python optional
ormar_0.26.0-1.debian.tar.xz
d50099b8d6697363ea868ede6998db4b 1024672 python None ormar_0.26.0-1.git.tar.xz
929248a4273029fc4895a0a51e50afc6 17720 python optional
ormar_0.26.0-1_source.buildinfo
Git-Tag-Info: tag=8f96ed9946b75df6679c08405c180fe5e3f43c86
fp=fb8acfa78c726089c38ad0269605a1098c63b92a
Git-Tag-Tagger: Edward Betts <[email protected]>
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmrQp7gACgkQYG0ITkaD
wHlmehAAhr/yWwkVRZ2658IMlfviHMD6h97dIY7XfX3ILrdktwvcgvjfsTzGjUgc
jl/5gWD7hfVXK7YmSBbSdHoUF39HL4jg8Y1ornrOhC/+uev7nxCTKvCwc833SYvA
AlEA3hKKQutgNZ7M2kLLIebWgWo8DG0+PKCISIJ9nmCIK9E1GuxbK/P4nZp0Azh7
HtsO5Jjm22kOo448WtbJFVdxjxGQK2llb2hh+k51dVwstfNo9RxfST/nRtLC007+
YHLg8+6QxYxHS4ah6TIETrX4j9dw+SupVDNNAY6csxA7bXAGQHdMgI32b/HHpAop
oD+jfahoUXf/5UmlctMm+ZVgryXK2rr9xJZBUsHYYH8HvSKf4NQpBVt3C9gVdLwg
SkrXZTDceyxF1JqMDFu9jwWzISvjzHuLiJlVYUV+kST0fmWBWdW2euYpnQw4/ZXt
O486iDTuoKRF+sqNQumToYdFUiQbqSukDscTemEOKrLE9hFuZ1Dw/B0FhGs/mT6M
SldmP3nwmff4gEYs+AnH60ik+EtivlqEaDyBj2IabV0bRM14a0oI4ZGbQ0caMPaS
lp45GoelTBqzpyQCixjfj54mptRupxB+D7mvcd0ayV3FdmfxVV4aZEBzDEFQ1Dx5
t4RiQDG/SUwGKB5YmnjYfZRZsH1MA3IlCqOZJN++QpcesZ5OcqY=
=1RHa
-----END PGP SIGNATURE-----
pgpEoqATEjyUs.pgp
Description: PGP signature
--- End Message ---