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


Groups > linux.debian.bugs.dist > #1130902 > unrolled thread

Bug#1027417: hunspell-dict-ko: missing test dependecy: python3

Started byRene Engelhard <rene@debian.org>
First post2022-12-31 09:30 +0100
Last post2023-01-02 06:50 +0100
Articles 3 — 2 participants

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


Contents

  Bug#1027417: hunspell-dict-ko: missing test dependecy: python3 Rene Engelhard <rene@debian.org> - 2022-12-31 09:30 +0100
    Bug#1027417: hunspell-dict-ko: missing test dependecy: python3 Changwoo Ryu <cwryu@debian.org> - 2023-01-02 05:10 +0100
      Bug#1027417: hunspell-dict-ko: missing test dependecy: python3 Rene Engelhard <rene@debian.org> - 2023-01-02 06:50 +0100

#1130902 — Bug#1027417: hunspell-dict-ko: missing test dependecy: python3

FromRene Engelhard <rene@debian.org>
Date2022-12-31 09:30 +0100
SubjectBug#1027417: hunspell-dict-ko: missing test dependecy: python3
Message-ID<FIFpD-eyij-1@gated-at.bofh.it>
Source: hunspell-dict-ko
Version: 0.7.92-1
Severity: important

Dear Maintainer,

I tried to look after the hunspell-dict-ko failure and created a minimal 
chroot + installing the test
dependencies for that.

I got:

rene@frodo:~/hunspell-dict-ko-0.7.92$ make hosttest 
HOST_DICT_PATH=/usr/share/hunspell/ko
make: python3: No such file or directory
make -C tests test DICT=/usr/share/hunspell/ko
make[1]: Entering directory '/home/rene/hunspell-dict-ko-0.7.92/tests'
echo | hunspell -d /usr/share/hunspell/ko | head -1
Hunspell 1.7.1 - hunspell-dict-ko 0.7.92 (requires Hunspell 1.3.1) 
https://spellcheck-ko.github.io/
python3 checkhunspellversion.py
make[1]: python3: No such file or directory
make[1]: *** [Makefile:8: test] Error 127
make[1]: Leaving directory '/home/rene/hunspell-dict-ko-0.7.92/tests'
make: *** [Makefile:53: hosttest] Error 2

I think python3 should be there. It is probably already installed by
autopkgtest, but anyways.

Regards,

Rene

[toc] | [next] | [standalone]


#1131200

FromChangwoo Ryu <cwryu@debian.org>
Date2023-01-02 05:10 +0100
Message-ID<FJkj7-eYNA-1@gated-at.bofh.it>
In reply to#1130902
Control: severity -1 normal

2022년 12월 31일 (토) 오후 5:21, Rene Engelhard <rene@debian.org>님이 작성:
>
> Source: hunspell-dict-ko
> Version: 0.7.92-1
> Severity: important
>
> Dear Maintainer,
>
> I tried to look after the hunspell-dict-ko failure and created a minimal
> chroot + installing the test
> dependencies for that.
>
> I got:
>
> rene@frodo:~/hunspell-dict-ko-0.7.92$ make hosttest
> HOST_DICT_PATH=/usr/share/hunspell/ko
> make: python3: No such file or directory
> make -C tests test DICT=/usr/share/hunspell/ko
> make[1]: Entering directory '/home/rene/hunspell-dict-ko-0.7.92/tests'
> echo | hunspell -d /usr/share/hunspell/ko | head -1
> Hunspell 1.7.1 - hunspell-dict-ko 0.7.92 (requires Hunspell 1.3.1)
> https://spellcheck-ko.github.io/
> python3 checkhunspellversion.py
> make[1]: python3: No such file or directory
> make[1]: *** [Makefile:8: test] Error 127
> make[1]: Leaving directory '/home/rene/hunspell-dict-ko-0.7.92/tests'
> make: *** [Makefile:53: hosttest] Error 2
>
> I think python3 should be there. It is probably already installed by
> autopkgtest, but anyways.

It's correct that the minimal system installed by autopkgtest has
always python3. Isn't the test supposed to be run by autopkgtest?

There seems to be no documentation on the default installed packages,
so adding python3 would be safe for the possible future autopkgtest
change.

But in practice, missing python3 in Depends doesn't break anything.

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


#1131201

FromRene Engelhard <rene@debian.org>
Date2023-01-02 06:50 +0100
Message-ID<FJlRT-eZES-1@gated-at.bofh.it>
In reply to#1131200
Hi,

Am 02.01.23 um 05:05 schrieb Changwoo Ryu:
> It's correct that the minimal system installed by autopkgtest has
> always python3. Isn't the test supposed to be run by autopkgtest?

You can also just run it manually if it was a script (by running 
./tests/foo), also you can just copy the command line for a Command: 
test into the terminal and it shouldn't break. All that of course with 
the test depends installed.

This (almost) is equivalent to "null" virtualization. Nothing mandates a 
test in  tests/* is supposed to be *only* ran by autopkgtest :)


Regards,


Reme

[toc] | [prev] | [standalone]


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


csiph-web