Your message dated Tue, 12 Nov 2024 14:43:40 +0000
with message-id <e1tas7i-006his...@fasolo.debian.org>
and subject line Bug#1080131: fixed in python-isc-dhcp-leases 0.10.0-2
has caused the Debian Bug report #1080131,
regarding python-isc-dhcp-leases: FTBFS: ERROR: test_gzip_handling 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_gzip_handling)
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.)


-- 
1080131: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1080131
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-isc-dhcp-leases
Version: 0.10.0-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:311: python3.12 setup.py config
/usr/lib/python3/dist-packages/setuptools/dist.py:450: 
SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        
********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in 
future
        versions. Please use the underscore name 'description_file' instead.

        By 2024-Sep-26, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
details.
        
********************************************************************************

!!
  opt = self.warn_dash_deprecation(opt, section)
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /usr/bin/python3 setup.py build
/usr/lib/python3/dist-packages/setuptools/dist.py:450: 
SetuptoolsDeprecationWarning: Invalid dash-separated options
!!

        
********************************************************************************
        Usage of dash-separated 'description-file' will not be supported in 
future
        versions. Please use the underscore name 'description_file' instead.

        By 2024-Sep-26, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for 
details.
        
********************************************************************************

!!
  opt = self.warn_dash_deprecation(opt, section)
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build; python3.12 -m 
unittest discover -v
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py:91:
 SyntaxWarning: invalid escape sequence '\s'
  """
test_backup_leases 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_backup_leases) ... 
ERROR
test_epoch_leases 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_epoch_leases) ... 
ERROR
test_get_current 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_get_current) ... 
ERROR
test_get_current_ipv6 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_get_current_ipv6) 
... ERROR
test_get_frozen 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_get_frozen) ... ERROR
test_get_historical 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_get_historical) ... 
ERROR
test_gzip_handling 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_gzip_handling) ... 
ERROR
test_naive_time 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_naive_time) ... ok
test_eq (isc_dhcp_leases.test_lease.TestLease.test_eq) ... ok
test_init (isc_dhcp_leases.test_lease.TestLease.test_init) ... 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py:240:
 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).
  return datetime.datetime.utcnow().replace(tzinfo=utc)
ok
test_init_no_starts_property 
(isc_dhcp_leases.test_lease.TestLease.test_init_no_starts_property) ... ok
test_naive_time (isc_dhcp_leases.test_lease.TestLease.test_naive_time) ... ok
test_repr (isc_dhcp_leases.test_lease.TestLease.test_repr) ... ok
test_valid_frozen (isc_dhcp_leases.test_lease.TestLease.test_valid_frozen) ... 
ok
test_valid_historical 
(isc_dhcp_leases.test_lease.TestLease.test_valid_historical) ... ok
test_valid_no_starts_property 
(isc_dhcp_leases.test_lease.TestLease.test_valid_no_starts_property) ... ok
test_eq (isc_dhcp_leases.test_lease6.TestLease6.test_eq) ... ok
test_init (isc_dhcp_leases.test_lease6.TestLease6.test_init) ... ok
test_naive_time (isc_dhcp_leases.test_lease6.TestLease6.test_naive_time) ... ok
test_repr (isc_dhcp_leases.test_lease6.TestLease6.test_repr) ... ok
test_valid_frozen (isc_dhcp_leases.test_lease6.TestLease6.test_valid_frozen) 
... ok
test_valid_historical 
(isc_dhcp_leases.test_lease6.TestLease6.test_valid_historical) ... ok

======================================================================
ERROR: test_backup_leases 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_backup_leases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/freezegun/api.py", line 885, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/test_iscDhcpLeases.py",
 line 161, in test_backup_leases
    result = leases.get()
             ^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py",
 line 148, in get
    with open(self.filename) if not self.gzip else gzip.open(self.filename) as 
lease_file:
         ^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'isc_dhcp_leases/test_files/backup.leases'

======================================================================
ERROR: test_epoch_leases 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_epoch_leases)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/freezegun/api.py", line 885, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/test_iscDhcpLeases.py",
 line 191, in test_epoch_leases
    result = leases.get()
             ^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py",
 line 148, in get
    with open(self.filename) if not self.gzip else gzip.open(self.filename) as 
lease_file:
         ^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'isc_dhcp_leases/test_files/epoch.leases'

======================================================================
ERROR: test_get_current 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_get_current)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/freezegun/api.py", line 885, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/test_iscDhcpLeases.py",
 line 213, in test_get_current
    result = leases.get_current()
             ^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py",
 line 186, in get_current
    all_leases = self.get()
                 ^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py",
 line 148, in get
    with open(self.filename) if not self.gzip else gzip.open(self.filename) as 
lease_file:
         ^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'isc_dhcp_leases/test_files/debian7.leases'

======================================================================
ERROR: test_get_current_ipv6 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_get_current_ipv6)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/test_iscDhcpLeases.py",
 line 228, in test_get_current_ipv6
    result = leases.get_current()
             ^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py",
 line 186, in get_current
    all_leases = self.get()
                 ^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py",
 line 148, in get
    with open(self.filename) if not self.gzip else gzip.open(self.filename) as 
lease_file:
         ^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'isc_dhcp_leases/test_files/dhcpd6-4.2.4.leases'

======================================================================
ERROR: test_get_frozen 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_get_frozen)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/freezegun/api.py", line 885, in wrapper
    result = func(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/test_iscDhcpLeases.py",
 line 144, in test_get_frozen
    self._test_get()
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/test_iscDhcpLeases.py",
 line 14, in _test_get
    result = leases.get()
             ^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py",
 line 148, in get
    with open(self.filename) if not self.gzip else gzip.open(self.filename) as 
lease_file:
         ^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'isc_dhcp_leases/test_files/debian7.leases'

======================================================================
ERROR: test_get_historical 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_get_historical)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/test_iscDhcpLeases.py",
 line 147, in test_get_historical
    self._test_get(
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/test_iscDhcpLeases.py",
 line 14, in _test_get
    result = leases.get()
             ^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py",
 line 148, in get
    with open(self.filename) if not self.gzip else gzip.open(self.filename) as 
lease_file:
         ^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'isc_dhcp_leases/test_files/debian7.leases'

======================================================================
ERROR: test_gzip_handling 
(isc_dhcp_leases.test_iscDhcpLeases.TestIscDhcpLeases.test_gzip_handling)
----------------------------------------------------------------------
Traceback (most recent call last):
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/test_iscDhcpLeases.py",
 line 245, in test_gzip_handling
    result = leases.get()
             ^^^^^^^^^^^^
  File 
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build/isc_dhcp_leases/iscdhcpleases.py",
 line 148, in get
    with open(self.filename) if not self.gzip else gzip.open(self.filename) as 
lease_file:
                                                   ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/gzip.py", line 61, in open
    binary_file = GzipFile(filename, gz_mode, compresslevel)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/gzip.py", line 192, in __init__
    fileobj = self.myfileobj = builtins.open(filename, mode or 'rb')
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 
'isc_dhcp_leases/test_files/debian7.leases.gz'

----------------------------------------------------------------------
Ran 22 tests in 0.031s

FAILED (errors=7)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_isc-dhcp-leases/build; python3.12 -m 
unittest discover -v
dh_auto_test: error: pybuild --test -i python{version} -p 3.12 returned exit 
code 13
make: *** [debian/rules:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202408/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: python-isc-dhcp-leases
Source-Version: 0.10.0-2
Done: IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-isc-dhcp-leases, 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 1080...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org> (supplier of updated 
python-isc-dhcp-leases 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: Tue, 12 Nov 2024 14:42:17 +0100
Source: python-isc-dhcp-leases
Architecture: source
Version: 0.10.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: IOhannes m zmölnig (Debian/GNU) <umlae...@debian.org>
Closes: 1080131 1085925
Changes:
 python-isc-dhcp-leases (0.10.0-2) unstable; urgency=medium
 .
   * Patch to pass testdata directory to unittests (Closes: #1080131)
   * Patch to fix SyntaxWarning (Closes: #1085925)
   * Patch to fix deprecated use of UTC-aware datetime methods
   * Replace dashes with underscores in setup.cfg keywords
   * Drop use of undefined python3:Recommends/Suggests stanzas
   * Refresh patches with 'gbp pq'
   * Bump standards version to 4.7.0
Checksums-Sha1:
 bc9bbf81b12e645bc2c40bc340b2a3fe789f0c9d 2391 
python-isc-dhcp-leases_0.10.0-2.dsc
 1e768588839d000112de230e71d37e2a0f7df27a 5664 
python-isc-dhcp-leases_0.10.0-2.debian.tar.xz
Checksums-Sha256:
 a6606c08b701186b5aa0d144f9b2d82da6e3e09e216ec4df354e9d131b3c7082 2391 
python-isc-dhcp-leases_0.10.0-2.dsc
 2c43d1dc8cb383151c0858d75b483b978d77366c0f8b2e97dad074268ce43700 5664 
python-isc-dhcp-leases_0.10.0-2.debian.tar.xz
Files:
 e8e5b7db451fc5b686f70374e9d14017 2391 python optional 
python-isc-dhcp-leases_0.10.0-2.dsc
 a01579222d3c740c93a6b37624a6e8cc 5664 python optional 
python-isc-dhcp-leases_0.10.0-2.debian.tar.xz

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

iQJKBAEBCAA0FiEEdAXnRVdICXNIABVttlAZxH96NvgFAmczW+UWHGZvcnVtQHVt
bGFldXRlLm11ci5hdAAKCRC2UBnEf3o2+FYiD/wN7hIr68yApFCGmqSn7pC8H9v1
hiOiICjmXsImpV6TBubNEauZ2mCs+0P0zWDQeFVsisbkC4UHAvCDww50coMZrajf
qnDtuUKNYqFdE1QOntW2a4/3OdDZ3NC4Z+JVPjTh74wEtBFeYJb5cuZ29svBqRLu
mBEkmQ51jah/xHKy89YxZiSZhYezO5I/XJ68KVpQQEPV65uXa5/5iogTXpdW2Dbx
dYhaNIwFQTsWOsaWMl5+9MegXkW4Z2WXyrPk5V2RvtwwccgBnSxjUKrOcbrYY3zK
CCo/E5R1e7jwMX85VIK0J/n5+tGO1fxbJZ1z62cpsINKOSfh3D3EQXujPKhLpmkW
8tAgBYj0Qia5iyK/RNrgzmbjj2EYpEV/uiXnjIiCT9kNLw1lV6krRSoS/vIPT61a
lgUJKHbTCiF2Wp774bT6RUN5MQ4tyI8T5kdTSqNR/YdMZ2kgjqRANHpl3kbJs3X3
BY9FIVZoNpoRvGQZ/tL0g4bq52AnlMsJ9Ijx9sPaVKR321W+UjuBc8zVXT8Fijtx
5OboGESWferTIB2UFwe8Gx2YrMu0s8n102diCKadxWyBwZfq25Vwuzm/i9JvJaAA
onExPhIGfoFphMkEfz7L7g9D9Hm8BoHZygSkpHOeutoNUQmS4WV+poQB1QqmNaNe
im/Og9+egih6MruE1A==
=0WjI
-----END PGP SIGNATURE-----

Attachment: pgp2WC54Skt4Q.pgp
Description: PGP signature


--- End Message ---

Reply via email to