Bug#1009425: prewikka: FTBFS: AttributeError: module 'collections' has no

2022-05-11 Thread Adrian Bunk
Control: reassign -1 python3-lesscpy 0.13.0+ds-2
Control: affects -1 src:prewikka
Control: forwarded -1 
https://github.com/lesscpy/lesscpy/commit/0bbcf058e9ca6715c73$

On Mon, May 09, 2022 at 12:33:01AM +0200, Thomas Andrejak wrote:
> On Sun, 8 May 2022 09:42:13 +0200 s3v  wrote:
> > Dear Maintainer,
> >
> > >   File "/usr/lib/python3/dist-packages/lesscpy/lessc/utility.py", line
> 28, in flatten
> > > if isinstance(elm, collections.Iterable) and not isinstance(elm,
> string_types):
> > > AttributeError: module 'collections' has no attribute 'Iterable'
> >
> > This issue belongs to python3-lesscpy and has been fixed upstream [1]
> 
> So I need to fix something or just wait python3-lesscpy to be fixed ?

You have to fix python3-lesscpy, since you are the maintainer of 
python3-lesscpy.

> Thanks for your help
>...

cu
Adrian



Bug#1009425: prewikka: FTBFS: AttributeError: module 'collections' has no

2022-05-08 Thread Thomas Andrejak
On Sun, 8 May 2022 09:42:13 +0200 s3v  wrote:
> Dear Maintainer,
>
> >   File "/usr/lib/python3/dist-packages/lesscpy/lessc/utility.py", line
28, in flatten
> > if isinstance(elm, collections.Iterable) and not isinstance(elm,
string_types):
> > AttributeError: module 'collections' has no attribute 'Iterable'
>
> This issue belongs to python3-lesscpy and has been fixed upstream [1]

So I need to fix something or just wait python3-lesscpy to be fixed ?

Thanks for your help


>
> Kind Regards
>
> [1]
https://github.com/lesscpy/lesscpy/commit/0bbcf058e9ca6715c73f8e438529a837476978c3
>
>


Bug#1009425: prewikka: FTBFS: AttributeError: module 'collections' has no attribute 'Iterable'

2022-04-12 Thread Lucas Nussbaum
Source: prewikka
Version: 5.2.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20220412 ftbfs-bookworm

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:239: python3.9 setup.py config 
> running config
> I: pybuild base:239: python3.10 setup.py config 
> running config
>dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:239: /usr/bin/python3.9 setup.py build 
> running build
> running compile_catalog
> compiling catalog prewikka/locale/it/LC_MESSAGES/prewikka.po to 
> prewikka/locale/it/LC_MESSAGES/prewikka.mo
> compiling catalog prewikka/locale/en/LC_MESSAGES/prewikka.po to 
> prewikka/locale/en/LC_MESSAGES/prewikka.mo
> error: prewikka/locale/ru/LC_MESSAGES/prewikka.po:168: unknown named 
> placeholder 'version'
> error: prewikka/locale/ru/LC_MESSAGES/prewikka.po:2793: placeholders are 
> incompatible
> compiling catalog prewikka/locale/ru/LC_MESSAGES/prewikka.po to 
> prewikka/locale/ru/LC_MESSAGES/prewikka.mo
> error: prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po:2397: placeholders are 
> incompatible
> error: prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po:2810: placeholders are 
> incompatible
> compiling catalog prewikka/locale/pt_BR/LC_MESSAGES/prewikka.po to 
> prewikka/locale/pt_BR/LC_MESSAGES/prewikka.mo
> error: prewikka/locale/pl/LC_MESSAGES/prewikka.po:2162: placeholders are 
> incompatible
> error: prewikka/locale/pl/LC_MESSAGES/prewikka.po:2854: placeholders are 
> incompatible
> compiling catalog prewikka/locale/pl/LC_MESSAGES/prewikka.po to 
> prewikka/locale/pl/LC_MESSAGES/prewikka.mo
> error: prewikka/locale/es/LC_MESSAGES/prewikka.po:2393: placeholders are 
> incompatible
> error: prewikka/locale/es/LC_MESSAGES/prewikka.po:2807: placeholders are 
> incompatible
> compiling catalog prewikka/locale/es/LC_MESSAGES/prewikka.po to 
> prewikka/locale/es/LC_MESSAGES/prewikka.mo
> compiling catalog prewikka/locale/fr/LC_MESSAGES/prewikka.po to 
> prewikka/locale/fr/LC_MESSAGES/prewikka.mo
> error: prewikka/locale/de/LC_MESSAGES/prewikka.po:2804: placeholders are 
> incompatible
> compiling catalog prewikka/locale/de/LC_MESSAGES/prewikka.po to 
> prewikka/locale/de/LC_MESSAGES/prewikka.mo
> 9 errors encountered.
> running build_custom
> Traceback (most recent call last):
>   File "/usr/bin/lesscpy", line 11, in 
> load_entry_point('lesscpy==0.13.0', 'console_scripts', 'lesscpy')()
>   File "/usr/lib/python3/dist-packages/lesscpy/scripts/compiler.py", line 
> 154, in run
> p.parse(filename=u, debuglevel=args.debug)
>   File "/usr/lib/python3/dist-packages/lesscpy/lessc/parser.py", line 156, in 
> parse
> self.post_parse()
>   File "/usr/lib/python3/dist-packages/lesscpy/lessc/parser.py", line 171, in 
> post_parse
> self.result = list(utility.flatten(out))
>   File "/usr/lib/python3/dist-packages/lesscpy/lessc/utility.py", line 28, in 
> flatten
> if isinstance(elm, collections.Iterable) and not isinstance(elm, 
> string_types):
> AttributeError: module 'collections' has no attribute 'Iterable'
> creating prewikka/htdocs/css/themes
> compiling ['themes/dark.less', 'prewikka/htdocs/css/style.less'] -> 
> prewikka/htdocs/css/themes/dark.css
> Traceback (most recent call last):
>   File "/<>/setup.py", line 218, in 
> setup(
>   File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in 
> setup
> return distutils.core.setup(**attrs)
>   File "/usr/lib/python3.9/distutils/core.py", line 148, in setup
> dist.run_commands()
>   File "/usr/lib/python3.9/distutils/dist.py", line 966, in run_commands
> self.run_command(cmd)
>   File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
> cmd_obj.run()
>   File "/usr/lib/python3.9/distutils/command/build.py", line 135, in run
> self.run_command(cmd_name)
>   File "/usr/lib/python3.9/distutils/cmd.py", line 313, in run_command
> self.distribution.run_command(command)
>   File "/usr/lib/python3.9/distutils/dist.py", line 985, in run_command
> cmd_obj.run()
>   File "/<>/setup.py", line 161, in run
> io.open(css, "wb").write(subprocess.check_output(["lesscpy", "-I", less, 
> style]))
>   File "/usr/lib/python3.9/subprocess.py", line 424, in check_output
> return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
>   File "/usr/lib/python3.9/subprocess.py", line 528, in run
> raise CalledProcessError(retcode, process.args,
> subprocess.CalledProcessError: Command '['lesscpy', '-I', 'themes/dark.less', 
> 'prewikka/htdocs/css/style.less']' returned non-zero exit status 1.
> E: pybuild pybuild:369: build: plugin distutils failed with: exit code=1: 
> /usr/bin/python3.9 setup.py build 
> I: pybuild