Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #352331 > unrolled thread

Bug#1058406: python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp'

Started byLucas Nussbaum <lucas@debian.org>
First post2023-12-12 11:10 +0100
Last post2024-01-02 01:30 +0100
Articles 3 — 2 participants

Back to article view | Back to linux.debian.bugs.rc


Contents

  Bug#1058406: python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp' Lucas Nussbaum <lucas@debian.org> - 2023-12-12 11:10 +0100
    Bug#1058406: marked as done (python-lzstring: FTBFS:  ModuleNotFoundError: No module named 'imp') "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-01-02 01:30 +0100
    Bug#1058406: marked as done (python-lzstring: FTBFS:  ModuleNotFoundError: No module named 'imp') "Debian Bug Tracking System" <owner@bugs.debian.org> - 2024-01-02 01:30 +0100

#352331 — Bug#1058406: python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp'

FromLucas Nussbaum <lucas@debian.org>
Date2023-12-12 11:10 +0100
SubjectBug#1058406: python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp'
Message-ID<HK7Sb-d2tt-19@gated-at.bofh.it>
Source: python-lzstring
Version: 1.0.4-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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):
>  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:310: python3.12 setup.py config 
> running config
> I: pybuild base:310: python3.11 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:310: /usr/bin/python3.12 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lzstring/build/lzstring
> copying lzstring/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lzstring/build/lzstring
> I: pybuild base:310: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lzstring/build/lzstring
> copying lzstring/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lzstring/build/lzstring
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lzstring/build; python3.12 -m unittest discover -v 
> lzstring (unittest.loader._FailedTest.lzstring) ... ERROR
> 
> ======================================================================
> ERROR: lzstring (unittest.loader._FailedTest.lzstring)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: lzstring
> 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>>/.pybuild/cpython3_3.12_lzstring/build/lzstring/__init__.py", line 11, in <module>
>     from future import standard_library
>   File "/usr/lib/python3/dist-packages/future/standard_library/__init__.py", line 65, in <module>
>     import imp
> ModuleNotFoundError: No module named 'imp'
> 
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
> 
> FAILED (errors=1)
> E: pybuild pybuild:395: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_lzstring/build; python3.12 -m unittest discover -v 
> I: pybuild base:310: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_lzstring/build; python3.11 -m unittest discover -v 
> 
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
> 
> 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/python-lzstring_1.0.4-2_unstable.log

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

[toc] | [next] | [standalone]


#353606 — Bug#1058406: marked as done (python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp')

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-01-02 01:30 +0100
SubjectBug#1058406: marked as done (python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp')
Message-ID<HRAPn-9VM-9@gated-at.bofh.it>
In reply to#352331

[Multipart message — attachments visible in raw view] — view raw

Your message dated Tue, 02 Jan 2024 00:20:33 +0000
with message-id <E1rKSWH-00E1H8-DF@fasolo.debian.org>
and subject line Bug#1058085: fixed in python-lzstring 1.0.4-3
has caused the Debian Bug report #1058085,
regarding python-lzstring: 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 owner@bugs.debian.org
immediately.)


-- 
1058085: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058085
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [next] | [standalone]


#353607 — Bug#1058406: marked as done (python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp')

From"Debian Bug Tracking System" <owner@bugs.debian.org>
Date2024-01-02 01:30 +0100
SubjectBug#1058406: marked as done (python-lzstring: FTBFS: ModuleNotFoundError: No module named 'imp')
Message-ID<HRAPn-9VM-17@gated-at.bofh.it>
In reply to#352331

[Multipart message — attachments visible in raw view] — view raw

Your message dated Tue, 02 Jan 2024 00:20:33 +0000
with message-id <E1rKSWH-00E1HB-Ec@fasolo.debian.org>
and subject line Bug#1058406: fixed in python-lzstring 1.0.4-3
has caused the Debian Bug report #1058406,
regarding python-lzstring: 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 owner@bugs.debian.org
immediately.)


-- 
1058406: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058406
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.rc


csiph-web