Your message dated Sun, 21 Jan 2024 20:49:33 +0000
with message-id <[email protected]>
and subject line Bug#1059662: fixed in python-django-pgschemas 0.15.1-2
has caused the Debian Bug report #1059662,
regarding python-django-pgschemas: autopkgtest failure with Python 3.12
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.)
--
1059662: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1059662
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: python-django-pgschemas
Version: 0.15.1-1
Severity: serious
User: [email protected]
Usertags: python3.12
Hi Maintainer
python-django-pgschemas' autopkgtests fail with Python 3.12 [1]. I've
copied what I hope is the relevant part of the log below.
Regards
Graham
[1] https://ci.debian.net/packages/p/python-django-pgschemas/testing/amd64/
66s =================================== FAILURES
===================================
66s ______________ TenantFileSystemStorageTestCase.test_base_location
______________
66s
66s self = <dpgs_sandbox.tests.test_file_storage.TenantFileSystemStorageTestCase
testMethod=test_base_location>
66s
66s def test_base_location(self):
66s with SchemaDescriptor.create(schema_name=""):
66s > self.assertEquals(self.storage.base_location, self.temp_dir + "/")
66s E AttributeError: 'TenantFileSystemStorageTestCase' object has no
attribute 'assertEquals'. Did you mean: 'assertEqual'?
66s
66s dpgs_sandbox/tests/test_file_storage.py:62: AttributeError
66s ________________ TenantFileSystemStorageTestCase.test_base_url
_________________
66s
66s self = <dpgs_sandbox.tests.test_file_storage.TenantFileSystemStorageTestCase
testMethod=test_base_url>
66s
66s def test_base_url(self):
66s with SchemaDescriptor.create(schema_name=""):
66s > self.assertEquals(self.storage.base_url, "/base-url/")
66s E AttributeError: 'TenantFileSystemStorageTestCase' object has no
attribute 'assertEquals'. Did you mean: 'assertEqual'?
66s
66s dpgs_sandbox/tests/test_file_storage.py:73: AttributeError
66s __________ TenantFileSystemStorageTestCase.test_path_identifier_basic
__________
66s
66s self = <dpgs_sandbox.tests.test_file_storage.TenantFileSystemStorageTestCase
testMethod=test_path_identifier_basic>
66s
66s def test_path_identifier_basic(self):
66s with SchemaDescriptor.create(schema_name=""):
66s > self.assertEquals(self.storage.get_schema_path_identifier(), "")
66s E AttributeError: 'TenantFileSystemStorageTestCase' object has no
attribute 'assertEquals'. Did you mean: 'assertEqual'?
66s
66s dpgs_sandbox/tests/test_file_storage.py:34: AttributeError
66s __ TenantFileSystemStorageTestCase.test_path_identifier_function_in_settings
___
66s
66s self = <dpgs_sandbox.tests.test_file_storage.TenantFileSystemStorageTestCase
testMethod=test_path_identifier_function_in_settings>
66s
66s def test_path_identifier_function_in_settings(self):
66s if TenantModel is not None:
66s with override_settings(
66s PGSCHEMAS_PATHNAME_FUNCTION=lambda tenant: tenant.schema_name +
"-custom-pathname"
66s ):
66s with TenantModel(schema_name="tenant"):
66s > self.assertEquals(
66s self.storage.get_schema_path_identifier(), "tenant-custom-pathname"
66s )
66s E AttributeError: 'TenantFileSystemStorageTestCase' object has no
attribute 'assertEquals'. Did you mean: 'assertEqual'?
66s
66s dpgs_sandbox/tests/test_file_storage.py:56: AttributeError
66s ____ TenantFileSystemStorageTestCase.test_path_identifier_method_in_tenant
_____
66s
66s self = <dpgs_sandbox.tests.test_file_storage.TenantFileSystemStorageTestCase
testMethod=test_path_identifier_method_in_tenant>
66s
66s def test_path_identifier_method_in_tenant(self):
66s if TenantModel is not None:
66s TenantModel.schema_pathname = lambda x: "custom-pathname"
66s with TenantModel(schema_name="tenant"):
66s > self.assertEquals(self.storage.get_schema_path_identifier(),
"custom-pathname")
66s E AttributeError: 'TenantFileSystemStorageTestCase' object has no
attribute 'assertEquals'. Did you mean: 'assertEqual'?
66s
66s dpgs_sandbox/tests/test_file_storage.py:47: AttributeError
--- End Message ---
--- Begin Message ---
Source: python-django-pgschemas
Source-Version: 0.15.1-2
Done: Michael Fladischer <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-django-pgschemas, 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.
Michael Fladischer <[email protected]> (supplier of updated
python-django-pgschemas 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: Sun, 21 Jan 2024 20:15:38 +0000
Source: python-django-pgschemas
Architecture: source
Version: 0.15.1-2
Distribution: unstable
Urgency: low
Maintainer: Debian Python Team <[email protected]>
Changed-By: Michael Fladischer <[email protected]>
Closes: 1059662
Changes:
python-django-pgschemas (0.15.1-2) unstable; urgency=low
.
* Add patch to replace assertEquals with assertEqual (Closes: #1059662).
* Add patch to remove distutils code in preparation for Python 3.12.
Checksums-Sha1:
f5ccd7f553147c15c219076070eb12eb28983c08 2104
python-django-pgschemas_0.15.1-2.dsc
4e93e3f1d55fae14f1dd21de3030b80e0f5f6033 5488
python-django-pgschemas_0.15.1-2.debian.tar.xz
a82c472f0ebecf881383f60c06df95e39d994f63 9935
python-django-pgschemas_0.15.1-2_arm64.buildinfo
Checksums-Sha256:
a5293f80e6af1e645e530b1da02007543eb0116f6999b889d3a4a09e141025a1 2104
python-django-pgschemas_0.15.1-2.dsc
ffd645e9bc289cad6f8ac214fb611db2fd2d360956c4118fc399a27bbfe21ea6 5488
python-django-pgschemas_0.15.1-2.debian.tar.xz
783194d9db3d29190af8aa4f11097efdddb2598698e206d5deda4a1566764928 9935
python-django-pgschemas_0.15.1-2_arm64.buildinfo
Files:
bbbb4983e230f2ded620294f30ea9407 2104 python optional
python-django-pgschemas_0.15.1-2.dsc
909c9319af3f53b5a680f19e44dce962 5488 python optional
python-django-pgschemas_0.15.1-2.debian.tar.xz
aeadf8ce629c4bc4c736271142a9d4e5 9935 python optional
python-django-pgschemas_0.15.1-2_arm64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAmWtfQ8ACgkQ/9PIi5l9
0WrXdwgAqMByWPzTnJDcQgFTMtuxEI5YNJ7YwJGa/UqqKrUszC2NkPL0lNoNgUUa
T7Nj9RiJcj6N1kxrWKfcUnAD2vgI4Y2GYhjdQuluX9trx7k3bvehWMjXP2WhwrPW
PUOCaDLjtjOg6NOeXTw/+2fwE4/fynbI1nT6pexDBwssZ6OHBaK6o5vpWF0tYG3v
kyFL9Hzw0eM0QqyuydI8FWJNj9Y376jnP3e3wGUHxiRJGp6H6TlKnwrXNEfAc/9y
3T+9vhkVV8Y76LN7mzj+9a+huQWkfwUfJK9+Ntf388aJWJ+uLHORZh6eOx82jYel
RzsyV9vCEkToHZv9quPrTbsuMa0BBA==
=nTgA
-----END PGP SIGNATURE-----
--- End Message ---