Your message dated Wed, 22 Oct 2025 09:38:10 +0000
with message-id <[email protected]>
and subject line Bug#1117647: fixed in python-django 3:4.2.25-2
has caused the Debian Bug report #1117647,
regarding python-django-postgres-extra: autopkgtest failure with 
postgresql-common (284) / postgresql-18
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.)


-- 
1117647: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1117647
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-django-postgres-extra
Version: 2.0.9-1
Severity: serious
Justification: autopkgtest failure

Dear Maintainer,

The autopkgtest of your package is failing with postgresql-common (284) which 
depends on postgresql-18:

 77s =================================== FAILURES 
===================================
 77s ___________________ test_schema_editor_clone_model_to_schema 
___________________
 77s 
 77s fake_model = <class 'tests.fake_model.D51210B1'>
 77s fake_model_fk_target_1 = <class 'tests.fake_model.2886Ea25'>
 77s fake_model_fk_target_2 = <class 'tests.fake_model.7Fb4D0D9'>
 77s 
 77s     @pytest.mark.skipif(
 77s         django.VERSION < (3, 2),
 77s         reason=django_32_skip_reason,
 77s     )
 77s     @pytest.mark.django_db(transaction=True)
 77s     def test_schema_editor_clone_model_to_schema(
 77s         fake_model, fake_model_fk_target_1, fake_model_fk_target_2
 77s     ):
 77s         """Tests that cloning a model into a separate schema without 
obtaining
 77s         AccessExclusiveLock on the source table works as expected."""
 77s     
 77s         schema_editor = PostgresSchemaEditor(connection)
 77s     
 77s         with schema_editor:
 77s             schema_editor.alter_table_storage_setting(
 77s                 fake_model._meta.db_table, "autovacuum_enabled", "false"
 77s             )
 77s     
 77s         table_name = fake_model._meta.db_table
 77s         source_schema_name = "public"
 77s         target_schema_name = _create_schema()
 77s     
 77s         with schema_editor:
 77s             schema_editor.clone_model_structure_to_schema(
 77s                 fake_model, schema_name=target_schema_name
 77s             )
 77s     
 77s             assert _list_lock_modes_in_schema(source_schema_name) == {
 77s                 "AccessShareLock"
 77s             }
 77s     
 77s >       _assert_cloned_table_is_same(
 77s             (source_schema_name, table_name),
 77s             (target_schema_name, table_name),
 77s             excluding_constraints_and_indexes=True,
 77s         )
 77s 
 77s tests/test_schema_editor_clone_model_to_schema.py:236: 
 77s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 77s /usr/lib/python3.13/contextlib.py:85: in inner
 77s     return func(*args, **kwds)
 77s            ^^^^^^^^^^^^^^^^^^^
 77s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
_ _ _ 
 77s 
 77s source_table_fqn = ('public', 'tests_d51210b1')
 77s target_table_fqn = ('06e2d136', 'tests_d51210b1')
 77s excluding_constraints_and_indexes = True
 77s 
 77s     @transaction.atomic
 77s     def _assert_cloned_table_is_same(
 77s         source_table_fqn: Tuple[str, str],
 77s         target_table_fqn: Tuple[str, str],
 77s         excluding_constraints_and_indexes: bool = False,
 77s     ):
 77s         source_schema_name, source_table_name = source_table_fqn
 77s         target_schema_name, target_table_name = target_table_fqn
 77s     
 77s         source_columns = db_introspection.get_columns(
 77s             source_table_name, schema_name=source_schema_name
 77s         )
 77s         target_columns = db_introspection.get_columns(
 77s             target_table_name, schema_name=target_schema_name
 77s         )
 77s         assert source_columns == target_columns
 77s     
 77s         source_relations = db_introspection.get_relations(
 77s             source_table_name, schema_name=source_schema_name
 77s         )
 77s         target_relations = db_introspection.get_relations(
 77s             target_table_name, schema_name=target_schema_name
 77s         )
 77s         if excluding_constraints_and_indexes:
 77s             assert target_relations == {}
 77s         else:
 77s             assert source_relations == target_relations
 77s     
 77s         source_constraints = db_introspection.get_constraints(
 77s             source_table_name, schema_name=source_schema_name
 77s         )
 77s         target_constraints = db_introspection.get_constraints(
 77s             target_table_name, schema_name=target_schema_name
 77s         )
 77s         if excluding_constraints_and_indexes:
 77s >           assert target_constraints == {}
 77s E           AssertionError: assert {'tests_d5121...ne, ...}, ...} == {}
 77s E             
 77s E             Left contains 7 more items:
 77s E             {'tests_d51210b1_age_not_null': {'check': False,
 77s E                                              'columns': ['age'],
 77s E                                              'definition': None,
 77s E                                              'foreign_key': None,
 77s E                                              'index': False,...
 77s E             
 77s E             ...Full output truncated (52 lines hidden), use '-vv' to show
 77s 
 77s tests/test_schema_editor_clone_model_to_schema.py:72: AssertionError

https://ci.debian.net/packages/p/python-django-postgres-extra/testing/amd64/65001064/

--- End Message ---
--- Begin Message ---
Source: python-django
Source-Version: 3:4.2.25-2
Done: Colin Watson <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-django, 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.
Colin Watson <[email protected]> (supplier of updated python-django 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: Wed, 22 Oct 2025 10:05:23 +0100
Source: python-django
Architecture: source
Version: 3:4.2.25-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Colin Watson <[email protected]>
Closes: 1117647
Changes:
 python-django (3:4.2.25-2) unstable; urgency=medium
 .
   * Team upload.
   * Skip NOT NULL constraints on PostgreSQL 18+ (closes: #1117647).
Checksums-Sha1:
 d96a64de21a4e6c32fb2d5b1bb5ae9988ef63d3d 3067 python-django_4.2.25-2.dsc
 9112921d22e485b6904d31edd92d55fa78cd4825 34628 
python-django_4.2.25-2.debian.tar.xz
 799e17045b438be2afcac0f5edebb2fb30d0bd18 15658320 
python-django_4.2.25-2.git.tar.xz
 67f3b30729756d9762cc8ef7860494f255e26008 18248 
python-django_4.2.25-2_source.buildinfo
Checksums-Sha256:
 4228a5eb7fdf2dcbeb311568bf032c221ed98ca40ccd79e0a880aa3e137138d0 3067 
python-django_4.2.25-2.dsc
 f7c299c1c5827a8590bda9037679a003af96b163ceb9c1de6ba44556985685d9 34628 
python-django_4.2.25-2.debian.tar.xz
 fac915bfb1b85c4a95f1a22a2c20f2a76b621a175acdd0d76ba678d186058d3a 15658320 
python-django_4.2.25-2.git.tar.xz
 a28a7faaa5539ac4632fdfef501439644520134649787014b0bdf247aa86f507 18248 
python-django_4.2.25-2_source.buildinfo
Files:
 f8dfb7bdff1e883dde9270e49c43d8a7 3067 python optional 
python-django_4.2.25-2.dsc
 96ea27594d557fd794e4b0c40290d41f 34628 python optional 
python-django_4.2.25-2.debian.tar.xz
 b87010be2a53de42d6e680e2e1aa6ae7 15658320 python optional 
python-django_4.2.25-2.git.tar.xz
 099012d095d748159a797c385559b4b2 18248 python optional 
python-django_4.2.25-2_source.buildinfo
Git-Tag-Info: tag=c8877b3645cae304a1d1ca93bebd14bccbf89ea9 
fp=ac0a4ff12611b6fccf01c111393587d97d86500b
Git-Tag-Tagger: Colin Watson <[email protected]>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmj4nskACgkQYG0ITkaD
wHlvOA/7BnBweipE/JdUGCyUJF9wsXY+8RCvoEv/uxspDZV2DS6guvt5MXufMmQ7
K2RKPrK01PlggMy6CfvR1F+/lwFugAGQ4wbjmDzfbinx7Eo43E0ceeGIB3wuQbGy
PJ8UDbQOpRLxnOEWZtBSd54+KhWo/mT6CycVHmfMv42lGiltBngGwsE3KoIZEXCW
mcyCwsmcDp1vbIS+gPvt0fmzQBtNMTdhJ1tJ7p4lK2w7HJRT3XbWlkC1vuI8lVcH
cpxqiDaNjq2cZ2IXfcb00lKkXJ1yyUZwEwdPyAeGUObPJyE17h9jaeu+70qORWuW
TynIulbWq57/910P8wscCGg/j0PG8XjqisNzExjc+zQn/oTm9NdfFq6JcWfh0erV
HN380yVAL7gL6s4Np2Fzk9ClJgmhoqmR3TuRQ3bDBAS/TrqcvdZJFPoFvATgOgC3
DzDNd5OgxbMwNyyRhSWOUfynQDY01A2u5DYwqlhrEWhY1OzxIE1M4FAiy4lwktOp
Ikg1lnDxZXKJAW++JzgfF5b23LLZmwhVBPcPQaGWEoRrFIEt6sztqJYub3BtHdLN
W7vv5tc+O6UYr8uq7Q0ua82cpw8dg7CXuKYKqaitBXEcnoZdwgu132m+FGD3RTw7
zQgu909j0eVlYecABv4a1d5mq5RNlCD/DA07FdOKGj0+xfPLf/U=
=4VfO
-----END PGP SIGNATURE-----

Attachment: pgpyf6arH3eky.pgp
Description: PGP signature


--- End Message ---

Reply via email to