Your message dated Sun, 14 Jan 2024 21:48:52 +0000
with message-id <e1rp8lc-002bod...@fasolo.debian.org>
and subject line Bug#1058197: fixed in straight.plugin 1.4.1-5
has caused the Debian Bug report #1058197,
regarding straight.plugin: FTBFS: ModuleNotFoundError: No module named 'imp'
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.)


-- 
1058197: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058197
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
Source: straight.plugin
Source-Version: 1.4.1-5
Done: Andreas Tille <ti...@debian.org>

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

Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated straight.plugin 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: Sun, 14 Jan 2024 21:36:47 +0100
Source: straight.plugin
Architecture: source
Version: 1.4.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Closes: 1047731 1058197
Changes:
 straight.plugin (1.4.1-5) unstable; urgency=medium
 .
   [ Yogeswaran Umasankar ]
   * Team upload.
   * Added patch for straight/plugin/loaders.py and tests.py to
     replace deprecated imp with importlib to fix ModuleNotFoundError
     in Python 3.12. (Closes: #1058197)
   * Added d/tests for autopkgtest.
   * Updated Standards-Version to 4.6.2 in d/control.
 .
   [ Andreas Tille ]
   * Fix clean target
     Closes: #1047731
   * debhelper-compat 13 (routine-update)
   * Reorder sequence of d/control fields by cme (routine-update)
   * Remove trailing whitespace in debian/changelog (routine-update)
   * Rules-Requires-Root: no (routine-update)
Checksums-Sha1:
 0cb3d1c7907844b8dc7af0c3f1384ec2b2b002e8 2370 straight.plugin_1.4.1-5.dsc
 7f8d958a36de0d7ba84f9a0de632c1e35c6f7150 4088 
straight.plugin_1.4.1-5.debian.tar.xz
 2d4491d6a841357ae21b80781753dd69fdce300c 8162 
straight.plugin_1.4.1-5_amd64.buildinfo
Checksums-Sha256:
 3849ce4dcda9f2d5d193f14f9dc509fc04b6cc6ebc916c1bc959d665e9b1b99a 2370 
straight.plugin_1.4.1-5.dsc
 0c6106012f2df21de28d0fa8d5176bd7279ed176c2526bf7d6a9b58d8a72af6d 4088 
straight.plugin_1.4.1-5.debian.tar.xz
 c50bfa6cbbe872307b7f589365b6f5128ebc81d6f38ca373becdb140cf2e1ccb 8162 
straight.plugin_1.4.1-5_amd64.buildinfo
Files:
 5d111a60fbec781632194a3cd7a61384 2370 python optional 
straight.plugin_1.4.1-5.dsc
 10ccde14b69110550bccaf3f8d924b3e 4088 python optional 
straight.plugin_1.4.1-5.debian.tar.xz
 3653936b766e4aadb26cf5146813d869 8162 python optional 
straight.plugin_1.4.1-5_amd64.buildinfo

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

iQJFBAEBCAAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmWkRksRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtFV0g//WU3CrLaFB+0iaAVcOV1RxCZnX0LDFWXr
DKEKURTDs5stU0Im88oAfz5adeTMouGFwtk0EDrDTwMNSaOD1R28lQMKNxL4491m
FYZ/xzr+7hJHGsz2YqFCWhdxHZe90DBOO2mIsn+Z7PCh3ZqHO4HlT+I4bUeUlp4s
YTtjg1dYbP7+wRvDXYlGbMo61Wuy8gR0N4b8Sjx8Qstx+hhTTY3Q0vJkQNS/dBQo
8HURnWmbWyARDoEiQqAOlNn4xno+S2Ma/RfVVszMyRb7HdwRPcmBI47ZjPlCEf/o
GhbPDQ3xjY6x1XN/m4yb5EWnnfGIAsqREpad7JM4rrLSg4E4QqO4aIW9pZr+CaL0
/VzaQmzQ2Rp3MEm8CXmAxKyExXDI8qmgzOpGxhN6Qc6a+7e92et00RARJH8E9aQi
/Ty5Anq2dFIjtMyIZGfSnpZ9afThFGjm0LKVz7/va9k5+CSOzDfjTAUWBgdhVhIG
JXiAOhhVv/17rltDmqvDdPcRDnO2Pxb82KjRDFEC3Px2y6IzONz9gXadgStvtxUy
hf2w91aSqPc9EiKfiPXCrSp4njkzyH/eYzmOdTHc+mVkhyNMFrbW2ub79CFcbmzg
k2EIdwgCh1wTR9imikZZgfYCTSu5/xd6UJbVes2IaHmvgqlUIvpM/HMtvj5zCJwo
kCmZhkO68qE=
=OJ+l
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to