Your message dated Thu, 16 Jun 2022 07:20:15 +0000
with message-id <e1o1jnb-000btv...@fasolo.debian.org>
and subject line Bug#1012784: fixed in python-django 2:4.0.5-2
has caused the Debian Bug report #1012784,
regarding python-django FTBFS : FAIL: test_custom_fields 
(inspectdb.tests.InspectDBTestCase) (again)
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 ow...@bugs.debian.org
immediately.)


-- 
1012784: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1012784
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-django
Version: 2:4.0.5-1
Severity: serious
Tags: ftbfs

Hi,

python-django is currently FTBFSing due to a test failure during build
time:

--8<---------------cut here---------------start------------->8---
======================================================================
FAIL: test_custom_fields (inspectdb.tests.InspectDBTestCase)
Introspection of columns with a custom field (#21090)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.9/unittest/case.py", line 59, in testPartExecutor
    yield
  File "/usr/lib/python3.9/unittest/case.py", line 592, in run
    self._callTestMethod(testMethod)
  File "/usr/lib/python3.9/unittest/case.py", line 550, in _callTestMethod
    method()
  File "/<<PKGBUILDDIR>>/tests/inspectdb/tests.py", line 398, in 
test_custom_fields
    self.assertIn("text_field = myfields.TextField()", output)
  File "/usr/lib/python3.9/unittest/case.py", line 1104, in assertIn
    self.fail(self._formatMessage(msg, standardMsg))
  File "/usr/lib/python3.9/unittest/case.py", line 676, in fail
    raise self.failureException(msg)
AssertionError: 'text_field = myfields.TextField()' not found in "# This is an 
auto-generated Django model module.\n# You'll have to do the following manually 
to clean this up:\n#   * Rearrange models' order\n#   * Make sure each model 
has one field with primary_key=True\n#   * Make sure each ForeignKey and 
OneToOneField has `on_delete` set to the desired behavior\n#   * Remove 
`managed = False` lines if you wish to allow Django to create, modify, and 
delete the table\n# Feel free to rename the models, but don't rename db_table 
values or field names.\nfrom django.db import models\n\n\nclass 
InspectdbColumntypes(models.Model):\n    id = 
models.TextField(primary_key=True)  # This field type is a guess.\n    
big_int_field = models.BigIntegerField()\n    bool_field = models.TextField()  
# This field type is a guess.\n    null_bool_field = 
models.TextField(blank=True, null=True)  # This field type is a guess.\n    
char_field = models.TextField()  # This field type is a guess.\n    
null_char_field = models.TextField(blank=True, null=True)  # This field type is 
a guess.\n    date_field = models.TextField()  # This field type is a guess.\n  
  date_time_field = models.TextField()  # This field type is a guess.\n    
decimal_field = models.TextField()  # This field type is a guess.\n    
email_field = models.TextField()  # This field type is a guess.\n    file_field 
= models.TextField()  # This field type is a guess.\n    file_path_field = 
models.TextField()  # This field type is a guess.\n    float_field = 
models.TextField()  # This field type is a guess.\n    int_field = 
models.TextField()  # This field type is a guess.\n    gen_ip_address_field = 
models.TextField()  # This field type is a guess.\n    pos_big_int_field = 
models.TextField()  # This field type is a guess.\n    pos_int_field = 
models.TextField()  # This field type is a guess.\n    pos_small_int_field = 
models.TextField()  # This field type is a guess.\n    slug_field = 
models.TextField()  # This field type is a guess.\n    small_int_field = 
models.TextField()  # This field type is a guess.\n    text_field = 
models.TextField()  # This field type is a guess.\n    time_field = 
models.TextField()  # This field type is a guess.\n    url_field = 
models.TextField()  # This field type is a guess.\n    uuid_field = 
models.TextField()  # This field type is a guess.\n\n    class Meta:\n        
managed = False\n        db_table = 'inspectdb_columntypes'\n"

----------------------------------------------------------------------
Ran 15363 tests in 160.947s

FAILED (failures=1, skipped=1214, expected failures=4)
--8<---------------cut here---------------end--------------->8---

https://buildd.debian.org/status/fetch.php?pkg=python-django&arch=all&ver=2%3A4.0.5-1&stamp=1654517009&raw=0

I found #1004464 which seems related to this issue, but the patch used
to fix that bug is now part of this release.

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: python-django
Source-Version: 2:4.0.5-2
Done: Chris Lamb <la...@debian.org>

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 1012...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Lamb <la...@debian.org> (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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 16 Jun 2022 08:00:35 +0100
Source: python-django
Built-For-Profiles: nocheck
Architecture: source
Version: 2:4.0.5-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Chris Lamb <la...@debian.org>
Closes: 1012784
Changes:
 python-django (2:4.0.5-2) unstable; urgency=medium
 .
   [ Lena Voytek ]
   * Add updated version of SQLite 3.37+ / test_custom_fields patch.
     (Closes: #1012784)
 .
   [ Chris Lamb ]
   * Add debian/gitlab-ci.yml.
     - Allow some elements of the pipeline to fail.
Checksums-Sha1:
 ae20db3382d1801bc26acc1925cb73679b7db78b 2803 python-django_4.0.5-2.dsc
 3baf52793de969a857a267bd4b2d6755a12417bf 30120 
python-django_4.0.5-2.debian.tar.xz
 3fb4c4f90305f4a718b3553b694f586638c5a674 8224 
python-django_4.0.5-2_amd64.buildinfo
Checksums-Sha256:
 8c58ce7d573948a212d18e714666dbd073163894a7001643099742e93b089216 2803 
python-django_4.0.5-2.dsc
 c80326dd4c450b98048fee9d28a5c13284d3a1738b7ae6fab26d6076d21234f1 30120 
python-django_4.0.5-2.debian.tar.xz
 66d9b8aa94a09ffa4cf90994614e9dec124bf7bc43b0247a559dfdd025f7caad 8224 
python-django_4.0.5-2_amd64.buildinfo
Files:
 326e638f91d7011726c00d6aa3598b65 2803 python optional python-django_4.0.5-2.dsc
 30aa656b732cbb1c29f888f063c1955b 30120 python optional 
python-django_4.0.5-2.debian.tar.xz
 ac8ab4576d26d1c88392173e11478d22 8224 python optional 
python-django_4.0.5-2_amd64.buildinfo

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

iQIzBAEBCAAdFiEEwv5L0nHBObhsUz5GHpU+J9QxHlgFAmKq1isACgkQHpU+J9Qx
Hlib9BAAnGzYO8PHnrB+VtEE0gA8Cv8F8KA3p52uW2t8KLf+WhroidztXY0rr/lL
/q5MXKU4qT4S3iErdy221TBn2L3mGfrXFzEUL2kBsl6ASr2ub7T5LfK1z714lr6r
h36N5hodlDkE9AF6v9eYutlgT5L+UjAkR7tOv+gfDGCiMVt2K1n3JhzH4jef73CZ
NQuDKIy5AANFVOFKOTaWUaVFEUCfwA44wW2e5tzq1VT8XKc6DJ4FoAL/8l+I3jDD
llayyVH6tNbWtdCm0SpmU7FQKtCJHW0mU9hBu69ULgIO/C9bJmu4Ham7MndF1wyJ
1Wg76W3zSUxk2+SxraKn3466rJ3oQrh4psJqre9jshgW/sSDYNRtBKB85QopwIfp
2L88lYJMNzMRr59WNnsSmJxHsqO+N1sf9iW6biZhoHprg3lCLNaLybpnJzMZfmAK
rILuVP1jjg6CrszIoif87N03ncDA7QPaSRVEAQ/hIp40iX64wGJdYNibHN4q4+9i
kcrvddrFDrP6XhK52f2qomkBOXf2Aeno0iLP7P55eYWhGoXFvPy40/dHRPccJZhf
qXez7vf/csPMm4s4t4W4qRDms8Ok+kec9bKeIni6cmVPwpxQxpHxJLJfVgRQTlKQ
/eTv8cWZRd3ESY5s+TmRV5E/TPgonh0Vxx/EPMUItXwTT0S5P88=
=wVoW
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to