Source: straight.plugin
Version: 1.4.1-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20231212 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>>'
> PYBUILD_SYSTEM=custom \
> PYBUILD_TEST_ARGS="{interpreter} setup.py test" \
> dh_auto_test
> I: pybuild base:310: python3.12 setup.py test
> /usr/lib/python3/dist-packages/setuptools/dist.py:946: 
> SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated.
> !!
> 
>         
> ********************************************************************************
>         Please replace its usage with implicit namespaces (PEP 420).
> 
>         See 
> https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
>  for details.
>         
> ********************************************************************************
> 
> !!
>   ep.load()(self, ep.name, value)
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> creating straight.plugin.egg-info
> writing straight.plugin.egg-info/PKG-INFO
> writing dependency_links to straight.plugin.egg-info/dependency_links.txt
> writing namespace_packages to straight.plugin.egg-info/namespace_packages.txt
> writing top-level names to straight.plugin.egg-info/top_level.txt
> writing manifest file 'straight.plugin.egg-info/SOURCES.txt'
> reading manifest file 'straight.plugin.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no directories found matching 'doc'
> adding license file 'LICENSE'
> adding license file 'AUTHORS'
> writing manifest file 'straight.plugin.egg-info/SOURCES.txt'
> running build_ext
> plugin (unittest.loader._FailedTest.plugin) ... ERROR
> straight.plugin (unittest.loader._FailedTest.straight.plugin) ... ERROR
> tests (unittest.loader._FailedTest.tests) ... ERROR
> 
> ======================================================================
> ERROR: plugin (unittest.loader._FailedTest.plugin)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: plugin
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 137, in 
> loadTestsFromName
>     module = __import__(module_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^
>   File "/<<PKGBUILDDIR>>/straight/plugin/__init__.py", line 1, in <module>
>     from straight.plugin import loaders
>   File "/<<PKGBUILDDIR>>/straight/plugin/loaders.py", line 7, in <module>
>     from imp import find_module
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: straight.plugin (unittest.loader._FailedTest.straight.plugin)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: straight.plugin
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 427, in _find_test_path
>     package = self._get_module_from_name(name)
>               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/unittest/loader.py", line 337, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/straight/plugin/__init__.py", line 1, in <module>
>     from straight.plugin import loaders
>   File "/<<PKGBUILDDIR>>/straight/plugin/loaders.py", line 7, in <module>
>     from imp import find_module
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ======================================================================
> ERROR: tests (unittest.loader._FailedTest.tests)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: tests
> Traceback (most recent call last):
>   File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
>     module = self._get_module_from_name(name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.12/unittest/loader.py", line 337, in 
> _get_module_from_name
>     __import__(name)
>   File "/<<PKGBUILDDIR>>/tests.py", line 10, in <module>
>     from straight.plugin import loaders, manager
>   File "/<<PKGBUILDDIR>>/straight/plugin/__init__.py", line 1, in <module>
>     from straight.plugin import loaders
>   File "/<<PKGBUILDDIR>>/straight/plugin/loaders.py", line 7, in <module>
>     from imp import find_module
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ----------------------------------------------------------------------
> Ran 3 tests in 0.000s
> 
> FAILED (errors=3)
> Test failed: <unittest.runner.TextTestResult run=3 errors=3 failures=0>
> error: Test failed: <unittest.runner.TextTestResult run=3 errors=3 failures=0>
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=1: 
> python3.12 setup.py test
> I: pybuild base:310: python3.11 setup.py test
> /usr/lib/python3/dist-packages/setuptools/dist.py:946: 
> SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated.
> !!
> 
>         
> ********************************************************************************
>         Please replace its usage with implicit namespaces (PEP 420).
> 
>         See 
> https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
>  for details.
>         
> ********************************************************************************
> 
> !!
>   ep.load()(self, ep.name, value)
> running test
> WARNING: Testing via this command is deprecated and will be removed in a 
> future version. Users looking for a generic test entry point independent of 
> test runner are encouraged to use tox.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:193: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   ir_d = dist.fetch_build_eggs(dist.install_requires)
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:194: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   tr_d = dist.fetch_build_eggs(dist.tests_require or [])
> WARNING: The wheel package is not available.
> /usr/lib/python3/dist-packages/setuptools/command/test.py:195: 
> _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are 
> deprecated.
> !!
> 
>         
> ********************************************************************************
>         Requirements should be satisfied by a PEP 517 installer.
>         If you are using pip, you can try `pip install --use-pep517`.
>         
> ********************************************************************************
> 
> !!
>   er_d = dist.fetch_build_eggs(
> WARNING: The wheel package is not available.
> running egg_info
> writing straight.plugin.egg-info/PKG-INFO
> writing dependency_links to straight.plugin.egg-info/dependency_links.txt
> writing namespace_packages to straight.plugin.egg-info/namespace_packages.txt
> writing top-level names to straight.plugin.egg-info/top_level.txt
> reading manifest file 'straight.plugin.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no directories found matching 'doc'
> adding license file 'LICENSE'
> adding license file 'AUTHORS'
> writing manifest file 'straight.plugin.egg-info/SOURCES.txt'
> running build_ext
> test_all_classes (tests.ClassLoaderTestCase.test_all_classes) ... ok
> test_subclasses (tests.ClassLoaderTestCase.test_subclasses) ... ok
> test_load (tests.ImpliedNamespaceModuleTestCase.test_load) ... ok
> test_plugin (tests.ImpliedNamespaceModuleTestCase.test_plugin) ... ok
> test_load (tests.ImplyLoaderTestCase.test_load) ... ok
> test_load (tests.ModuleLoaderTestCase.test_load) ... ok
> test_plugin (tests.ModuleLoaderTestCase.test_plugin) ... ok
> test_load_all (tests.ObjectLoaderTestCase.test_load_all) ... ok
> test_find_packages (tests.PackageLoaderTestCase.test_find_packages) ... ok
> test_load_packages (tests.PackageLoaderTestCase.test_load_packages) ... ok
> test_plugin (tests.PackageLoaderTestCase.test_plugin) ... ok
> test_call (tests.PluginManagerTestCase.test_call) ... ok
> test_first (tests.PluginManagerTestCase.test_first) ... ok
> test_pipe (tests.PluginManagerTestCase.test_pipe) ... ok
> test_produce (tests.PluginManagerTestCase.test_produce) ... ok
> test_all_classes (tests.PriorityLoaderTestCase.test_all_classes) ... ok
> test_find_packages (tests.RecursingPackageLoaderTestCase.test_find_packages) 
> ... ok
> test_load_packages (tests.RecursingPackageLoaderTestCase.test_load_packages) 
> ... ok
> test_plugin (tests.RecursingPackageLoaderTestCase.test_plugin) ... ok
> 
> ----------------------------------------------------------------------
> Ran 19 tests in 0.018s
> 
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2023/12/12/straight.plugin_1.4.1-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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.

Reply via email to