[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1061823: marked as done (python-cliapp ftbfs with Python 3.12 as default)



Your message dated Wed, 07 Feb 2024 02:36:02 +0000
with message-id <E1rXXn8-000fze-JT@fasolo.debian.org>
and subject line Bug#1061823: fixed in python-cliapp 1.20180812.1-6
has caused the Debian Bug report #1061823,
regarding python-cliapp ftbfs with Python 3.12 as default
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 owner@bugs.debian.org
immediately.)


-- 
1061823: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061823
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:python-cliapp
Version: 1.20180812.1-5
Severity: important
Tags: sid trixie ftbfs
User: debian-python@lists.debian.org
Usertags: python3.12

With python3-defaults from experimental, the package fails its autopkg tests:

[...]
======================================================================
ERROR: test_exports_all_config_sections_via_as_cp (cliapp.settings_tests.SettingsTests.test_exports_all_config_sections_via_as_cp)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cliapp/settings_tests.py", line 596, in test_exports_all_config_sections_via_as_cp
    self.settings.load_configs(open_file=mock_open)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 829, in load_configs
    self._read_ini(pathname, f)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 838, in _read_ini
    cp.readfp(f)
    ^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

======================================================================
ERROR: test_handles_defaults_with_ini_files (cliapp.settings_tests.SettingsTests.test_handles_defaults_with_ini_files)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cliapp/settings_tests.py", line 357, in test_handles_defaults_with_ini_files
    self.settings.load_configs(open_file=mock_open)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 829, in load_configs
    self._read_ini(pathname, f)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 838, in _read_ini
    cp.readfp(f)
    ^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

======================================================================
ERROR: test_handles_overridden_defaults_with_ini_files (cliapp.settings_tests.SettingsTests.test_handles_overridden_defaults_with_ini_files)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cliapp/settings_tests.py", line 387, in test_handles_overridden_defaults_with_ini_files
    self.settings.load_configs(open_file=mock_open)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 829, in load_configs
    self._read_ini(pathname, f)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 838, in _read_ini
    cp.readfp(f)
    ^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

======================================================================
ERROR: test_handles_values_from_ini_files_overridden_on_command_line (cliapp.settings_tests.SettingsTests.test_handles_values_from_ini_files_overridden_on_command_line)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cliapp/settings_tests.py", line 419, in test_handles_values_from_ini_files_overridden_on_command_line
    self.settings.load_configs(open_file=mock_open)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 829, in load_configs
    self._read_ini(pathname, f)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 838, in _read_ini
    cp.readfp(f)
    ^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

======================================================================
ERROR: test_load_configs_raises_error_for_unknown_variable_in_ini (cliapp.settings_tests.SettingsTests.test_load_configs_raises_error_for_unknown_variable_in_ini)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cliapp/settings_tests.py", line 451, in test_load_configs_raises_error_for_unknown_variable_in_ini
    self.assertRaises(
  File "/usr/lib/python3.12/unittest/case.py", line 780, in assertRaises
    return context.handle('assertRaises', args, kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/unittest/case.py", line 238, in handle
    callable_obj(*args, **kwargs)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 829, in load_configs
    self._read_ini(pathname, f)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 838, in _read_ini
    cp.readfp(f)
    ^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

======================================================================
ERROR: test_load_configs_remembers_extra_sections_in_ini (cliapp.settings_tests.SettingsTests.test_load_configs_remembers_extra_sections_in_ini)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cliapp/settings_tests.py", line 480, in test_load_configs_remembers_extra_sections_in_ini
    self.settings.load_configs(open_file=mock_open)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 829, in load_configs
    self._read_ini(pathname, f)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 838, in _read_ini
    cp.readfp(f)
    ^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

======================================================================
ERROR: test_loads_ini_files (cliapp.settings_tests.SettingsTests.test_loads_ini_files)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cliapp/settings_tests.py", line 293, in test_loads_ini_files
    self.settings.load_configs(open_file=mock_open)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 829, in load_configs
    self._read_ini(pathname, f)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 838, in _read_ini
    cp.readfp(f)
    ^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

======================================================================
ERROR: test_loads_string_list_from_ini_files (cliapp.settings_tests.SettingsTests.test_loads_string_list_from_ini_files)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cliapp/settings_tests.py", line 323, in test_loads_string_list_from_ini_files
    self.settings.load_configs(open_file=mock_open)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 829, in load_configs
    self._read_ini(pathname, f)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 838, in _read_ini
    cp.readfp(f)
    ^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

======================================================================
ERROR: test_sets_boolean_to_false_from_ini_file (cliapp.settings_tests.SettingsTests.test_sets_boolean_to_false_from_ini_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cliapp/settings_tests.py", line 185, in test_sets_boolean_to_false_from_ini_file
    self.settings.load_configs(open_file=fake_open)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 829, in load_configs
    self._read_ini(pathname, f)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 838, in _read_ini
    cp.readfp(f)
    ^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

======================================================================
ERROR: test_sets_boolean_to_true_from_ini_file (cliapp.settings_tests.SettingsTests.test_sets_boolean_to_true_from_ini_file)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/cliapp/settings_tests.py", line 177, in test_sets_boolean_to_true_from_ini_file
    self.settings.load_configs(open_file=fake_open)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 829, in load_configs
    self._read_ini(pathname, f)
  File "/<<PKGBUILDDIR>>/cliapp/settings.py", line 838, in _read_ini
    cp.readfp(f)
    ^^^^^^^^^
AttributeError: 'ConfigParser' object has no attribute 'readfp'. Did you mean: 'read'?

----------------------------------------------------------------------
Ran 182 tests in 2.082s

FAILED (errors=10)
make[1]: *** [debian/rules:9: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: build] Error 2

--- End Message ---
--- Begin Message ---
Source: python-cliapp
Source-Version: 1.20180812.1-6
Done: Matthias Klose <doko@debian.org>

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

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated python-cliapp 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 07 Feb 2024 01:45:23 +0100
Source: python-cliapp
Built-For-Profiles: noudeb
Architecture: source
Version: 1.20180812.1-6
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 1061750 1061823
Changes:
 python-cliapp (1.20180812.1-6) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with Python 3.12. Closes: #1061750, #1061823.
Checksums-Sha1:
 f9f4ed6374b575f2a872eee6e459acea34ebaaa5 1947 python-cliapp_1.20180812.1-6.dsc
 507696e0a09cf7c6adb8dbdc67a94af66ead26fe 5468 python-cliapp_1.20180812.1-6.debian.tar.xz
 d6784b2f031a921919309e827e64d7af967a1941 7914 python-cliapp_1.20180812.1-6_source.buildinfo
Checksums-Sha256:
 d0bd0b1a5dcfe8c422644445f6cca3d26a1d3183320abeb1e48e46ee1defba19 1947 python-cliapp_1.20180812.1-6.dsc
 e77f8b17a1a30b752fe019403a79dff3c8a2ba4408bced6b8b86306e7f3cd7ca 5468 python-cliapp_1.20180812.1-6.debian.tar.xz
 d0a4741e42ae0658a56d6238c643a9000f5998015ec8d5e7ed55ba482e05d921 7914 python-cliapp_1.20180812.1-6_source.buildinfo
Files:
 68c6d1e8eb13906bd89c87448b099733 1947 python optional python-cliapp_1.20180812.1-6.dsc
 3398cc50d6ccec13d1ddf455101e1128 5468 python optional python-cliapp_1.20180812.1-6.debian.tar.xz
 5d8b9c9d103767b9732e3bccae829a1d 7914 python optional python-cliapp_1.20180812.1-6_source.buildinfo

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

iQJEBAEBCgAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAmXC01cQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9QsvD/0WqMPXk3iOB7xKGttNNPlwjxLJA4m4qugF
+QRHXuquagLQmYpm4u5KzV2wnieyC189vxVc0JJsE/F+URF3Qk7eh3S6qA7rn/bL
x0EUiCItDlVzgb1YXWIrvZPtuZp49oMfCLHTrxwZCemIW9usTZdoWqbCeDpSpOuH
lAIjMmLHc74MnKFmyw8KEK8JHfT0RzyfeyRIu7KovXCDZvvH8VsHJyemwlj6/RGF
a6Q2k+HbnGNPz1Wp1CVo7o0VIaDb9II5M4Vfnsx0/H83cIfA3u7B7XXZ/Fv4+st8
V4ryZx+qgR1gyPphCuYfXX4yZA12YpITBkdQzoYong0u3GVYP/opfhKMliCwpEHl
CZVCM0UuwIM79J60I59MoXodo649C8YrRrBLLUszdva3LUUn0U6nt2ZIR2Tfch0K
mtVpgQdMKEPV6ZjIk6zgKjC4UUmUDS2tH/Norp4zqshOdK5SOnTaQWMTwsR32/IE
DmjCMbp1kSwLj7TR0fzqVUiMCf5XRJtiH4hLcMm0r72wyoOk8Vfk0wfHRFw8N8Cg
3dZ8Cdnj6oMDuE1YCI8t1OjHbfPN7dj3ceH4w3Z+wvkEehQTgV2jBPjti209oBVs
DuCwXYPs+gdnWd6UxcwsaUueh0gHCB738rXzCteWhRA6FA/nzP9TVCvj73DDZkrt
RxG+u3QZsA==
=Mo+G
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: