Your message dated Fri, 03 Nov 2023 19:25:58 +0000
with message-id <e1qyznq-00ezsk...@fasolo.debian.org>
and subject line Bug#1052821: fixed in python-phx-class-registry 4.1.0-1
has caused the Debian Bug report #1052821,
regarding python-phx-class-registry: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p 3.11 returned exit code 13
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.)


-- 
1052821: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1052821
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: python-phx-class-registry
Version: 3.0.5-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build
> I: pybuild base:291: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_phx-class-registry/build/class_registry
> copying class_registry/cache.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_phx-class-registry/build/class_registry
> copying class_registry/entry_points.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_phx-class-registry/build/class_registry
> copying class_registry/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_phx-class-registry/build/class_registry
> copying class_registry/auto_register.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_phx-class-registry/build/class_registry
> copying class_registry/patcher.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_phx-class-registry/build/class_registry
> copying class_registry/registry.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_phx-class-registry/build/class_registry
> PYTHONPATH=. http_proxy='127.0.0.1:9' python3 -m sphinx -N -bhtml docs 
> build/html
> Running Sphinx v5.3.0
> WARNING: Invalid configuration value found: 'language = None'. Update your 
> configuration to a valid language code. Falling back to 'en' (English).
> making output directory... done
> WARNING: html_static_path entry '_static' does not exist
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 6 source files that are out of date
> updating environment: [new config] 6 added, 0 changed, 0 removed
> reading sources... [ 16%] advanced_topics
> reading sources... [ 33%] entry_points
> reading sources... [ 50%] factories_vs_registries
> reading sources... [ 66%] getting_started
> reading sources... [ 83%] index
> reading sources... [100%] iterating_over_registries
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 16%] advanced_topics
> writing output... [ 33%] entry_points
> writing output... [ 50%] factories_vs_registries
> writing output... [ 66%] getting_started
> writing output... [ 83%] index
> writing output... [100%] iterating_over_registries
> 
> generating indices... genindex done
> writing additional pages... search done
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 2 warnings.
> 
> The HTML pages are in build/html.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:291: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_phx-class-registry/build; python3.11 
> -m pytest test
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0
> rootdir: /<<PKGBUILDDIR>>
> collected 24 items
> 
> test/auto_register_test.py ...                                           [ 
> 12%]
> test/cache_test.py ...                                                   [ 
> 25%]
> test/entry_points_test.py F.FF                                           [ 
> 41%]
> test/patcher_test.py ..                                                  [ 
> 50%]
> test/registry_test.py ............                                       
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ________________ EntryPointClassRegistryTestCase.test_branding 
> _________________
> 
> self = <test.entry_points_test.EntryPointClassRegistryTestCase 
> testMethod=test_branding>
> 
>     def test_branding(self):
>         """
>         Configuring the registry to "brand" each class/instance with its
>         corresponding key.
>         """
>         registry = EntryPointClassRegistry('pokemon', attr_name='poke_type')
>         try:
>             # Branding is applied immediately to each registered class.
> >           self.assertEqual(getattr(Charmander, 'poke_type'), 'fire')
> E           AttributeError: type object 'Charmander' has no attribute 
> 'poke_type'
> 
> test/entry_points_test.py:57: AttributeError
> _______________ EntryPointClassRegistryTestCase.test_happy_path 
> ________________
> 
> self = EntryPointClassRegistry(group='pokemon'), key = 'fire'
> 
>     def get_class(self, key):
>         try:
> >           cls = self._get_cache()[key]
> E           KeyError: 'fire'
> 
> class_registry/entry_points.py:74: KeyError
> 
> During handling of the above exception, another exception occurred:
> 
> self = <test.entry_points_test.EntryPointClassRegistryTestCase 
> testMethod=test_happy_path>
> 
>     def test_happy_path(self):
>         """
>         Loading classes automatically via entry points.
>     
>         See ``dummy_package.egg-info/entry_points.txt`` for more info.
>         """
>         registry = EntryPointClassRegistry('pokemon')
>     
> >       fire = registry['fire']
> 
> test/entry_points_test.py:31: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> class_registry/registry.py:52: in __getitem__
>     return self.get(key)
> class_registry/entry_points.py:62: in get
>     super(EntryPointClassRegistry, self).get(key, *args, **kwargs)
> class_registry/registry.py:106: in get
>     return self.create_instance(self.get_class(key), *args, **kwargs)
> class_registry/entry_points.py:76: in get_class
>     cls = self.__missing__(key)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> _ 
> 
> self = EntryPointClassRegistry(group='pokemon'), key = 'fire'
> 
>     def __missing__(self, key):
>         """
>         Returns the result (or raises an exception) when the requested
>         key can't be found in the registry.
>         """
> >       raise RegistryKeyError(key)
> E       class_registry.registry.RegistryKeyError: 'fire'
> 
> class_registry/registry.py:75: RegistryKeyError
> ___________________ EntryPointClassRegistryTestCase.test_len 
> ___________________
> 
> self = <test.entry_points_test.EntryPointClassRegistryTestCase 
> testMethod=test_len>
> 
>     def test_len(self):
>         """
>         Getting the length of an entry point class registry.
>         """
>         # Just in case some other package defines pokémon entry
>         # points (:
>         expected = len(list(iter_entry_points('pokemon')))
>     
>         # Quick sanity check, to make sure our test pokémon are
>         # registered correctly.
> >       self.assertGreaterEqual(expected, 4)
> E       AssertionError: 0 not greater than or equal to 4
> 
> test/entry_points_test.py:92: AssertionError
> =============================== warnings summary 
> ===============================
> class_registry/entry_points.py:3
>   
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_phx-class-registry/build/class_registry/entry_points.py:3:
>  DeprecationWarning: pkg_resources is deprecated as an API. See 
> https://setuptools.pypa.io/en/latest/pkg_resources.html
>     from pkg_resources import iter_entry_points
> 
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info 
> ============================
> FAILED 
> test/entry_points_test.py::EntryPointClassRegistryTestCase::test_branding
> FAILED 
> test/entry_points_test.py::EntryPointClassRegistryTestCase::test_happy_path
> FAILED test/entry_points_test.py::EntryPointClassRegistryTestCase::test_len
> =================== 3 failed, 21 passed, 1 warning in 0.16s 
> ====================
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_phx-class-registry/build; python3.11 
> -m pytest test
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/python-phx-class-registry_3.0.5-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: python-phx-class-registry
Source-Version: 4.1.0-1
Done: Nilesh Patra <nil...@debian.org>

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

Debian distribution maintenance software
pp.
Nilesh Patra <nil...@debian.org> (supplier of updated python-phx-class-registry 
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: Fri, 03 Nov 2023 23:34:10 +0530
Source: python-phx-class-registry
Architecture: source
Version: 4.1.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Nilesh Patra <nil...@debian.org>
Closes: 1052821
Changes:
 python-phx-class-registry (4.1.0-1) unstable; urgency=medium
 .
   * Team Upload.
   * New upstream version 4.1.0
   * Bump Standards-Version to 4.6.2 (no changes needed)
   * Add B-D on python3-sphinx-rtd-theme
   * Move back and forth egg-info test directory to prevent
     pybuild from removing it (Closes: #1052821)
   * Remove pytest from B-D
Checksums-Sha1:
 2af873b83accf1217bf4336ea97d85591924864c 1757 
python-phx-class-registry_4.1.0-1.dsc
 260dbbd8d7785321e95b80fe29b7dc433e64f2bd 26415 
python-phx-class-registry_4.1.0.orig.tar.gz
 e34843da207bf3ffdedbf8e4129201276b0a369e 3476 
python-phx-class-registry_4.1.0-1.debian.tar.xz
 9ac3ee3cb6789f8dd94e296629aa26d2783f36b1 7425 
python-phx-class-registry_4.1.0-1_amd64.buildinfo
Checksums-Sha256:
 48ed644946ae178e9fab5847ec0bad65a61e628cfa9d08aa91d28efe5d785b86 1757 
python-phx-class-registry_4.1.0-1.dsc
 7ce31f233d96bd94f342811d9996b04f2f9f69cb082642dd4c810b4bc1b4ae1b 26415 
python-phx-class-registry_4.1.0.orig.tar.gz
 9c535f9f6cb0ea4eaf96b642986220a9292073b3880de2d0e5b739a62991d761 3476 
python-phx-class-registry_4.1.0-1.debian.tar.xz
 3e13211ba860c5f611e32ed14c44faa431d7b17843249555368001b62d8182ad 7425 
python-phx-class-registry_4.1.0-1_amd64.buildinfo
Files:
 36d2870fb38f883d6554184fdf7db72d 1757 python optional 
python-phx-class-registry_4.1.0-1.dsc
 6c2512e4a18be577887a98a7cef99900 26415 python optional 
python-phx-class-registry_4.1.0.orig.tar.gz
 5fdf7118da6b495a34677f1fd0733c17 3476 python optional 
python-phx-class-registry_4.1.0-1.debian.tar.xz
 0115f7b1e3c7d1eb8c5712e01be91671 7425 python optional 
python-phx-class-registry_4.1.0-1_amd64.buildinfo

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

iIgEARYIADAWIQSglbZu4JAkvuai8HIqJ5BL1yQ+2gUCZUU9DBIcbmlsZXNoQGRl
Ymlhbi5vcmcACgkQKieQS9ckPtp/PQD+OsVGjGB0p499z+XlWdAuEuqeqNeG1SWJ
hlo9YxHV0ioBANB4rPknL119aDVEzzne8box5hKzJaq1fkPw5lnlFnoF
=03Nn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to