Bug#1013889: rpmlint: autopkgtest regression: No module named 'zstandard'

2022-06-27 Thread Boyuan Yang
Hi,

在 2022-06-26星期日的 22:12 +0200,Paul Gevers写道:
> Source: rpmlint
> Version: 2.3.0+ds1-0.1
> Severity: serious
> X-Debbugs-CC: Boyuan Yang 
> User: debian...@lists.debian.org
> Usertags: regression
> 
> Dear maintainer(s), Boyuan,
> 
> With a recent upload of rpmlint the autopkgtest of rpmlint fails in 
> testing when that autopkgtest is run with the binary packages of rpmlint 
> from unstable. It passes when run with only packages from testing. In 
> tabular form:
> 
>     pass    fail
> rpmlint    from testing    2.3.0+ds1-0.1
> all others from testing    from testing
> 
> I copied some of the output at the bottom of this report.
> 
> Currently this regression is blocking the migration to testing [1]. Can 
> you please investigate the situation and fix it?
> 
> More information about this bug and the reason for filing it can be found
> on
> https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation
> 
> Paul
> 
> [1] https://qa.debian.org/excuses.php?package=rpmlint
> 
> https://ci.debian.net/data/autopkgtest/testing/amd64/r/rpmlint/23083611/log.gz
> 
>  ERRORS 
> 
> __ ERROR collecting test/test_cli.py 
> ___
> ImportError while importing test module 
> '/tmp/autopkgtest-lxc.i2hlbh7a/downtmp/build.cyC/src/test/test_cli.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3/dist-packages/_pytest/python.py:578: in _importtestmodule
>  mod = import_path(self.fspath, mode=importmode)
> /usr/lib/python3/dist-packages/_pytest/pathlib.py:524: in import_path
>  importlib.import_module(module_name)
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
>  return _bootstrap._gcd_import(name[level:], package, level)
> :1050: in _gcd_import
>  ???
> :1027: in _find_and_load
>  ???
> :1006: in _find_and_load_unlocked
>  ???
> :688: in _load_unlocked
>  ???
> /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:170: in 
> exec_module
>  exec(co, module.__dict__)
> test/test_cli.py:4: in 
>  from rpmlint.cli import process_lint_args
> rpmlint/cli.py:6: in 
>  from rpmlint.lint import Lint
> rpmlint/lint.py:14: in 
>  from rpmlint.pkg import FakePkg, get_installed_pkgs, Pkg
> rpmlint/pkg.py:27: in 
>  import zstandard as zstd
> E   ModuleNotFoundError: No module named 'zstandard'

A new test dependency python-zstandard (
https://salsa.debian.org/python-team/packages/python-zstandard , not python-
zstd) is needed. This is now prepared and put into the NEW queue.

Thanks,
Boyuan Yang


signature.asc
Description: This is a digitally signed message part


Bug#1013889: rpmlint: autopkgtest regression: No module named 'zstandard'

2022-06-26 Thread Paul Gevers

Source: rpmlint
Version: 2.3.0+ds1-0.1
Severity: serious
X-Debbugs-CC: Boyuan Yang 
User: debian...@lists.debian.org
Usertags: regression

Dear maintainer(s), Boyuan,

With a recent upload of rpmlint the autopkgtest of rpmlint fails in 
testing when that autopkgtest is run with the binary packages of rpmlint 
from unstable. It passes when run with only packages from testing. In 
tabular form:


   passfail
rpmlintfrom testing2.3.0+ds1-0.1
all others from testingfrom testing

I copied some of the output at the bottom of this report.

Currently this regression is blocking the migration to testing [1]. Can 
you please investigate the situation and fix it?


More information about this bug and the reason for filing it can be found on
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://qa.debian.org/excuses.php?package=rpmlint

https://ci.debian.net/data/autopkgtest/testing/amd64/r/rpmlint/23083611/log.gz

 ERRORS 

__ ERROR collecting test/test_cli.py 
___
ImportError while importing test module 
'/tmp/autopkgtest-lxc.i2hlbh7a/downtmp/build.cyC/src/test/test_cli.py'.

Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3/dist-packages/_pytest/python.py:578: in _importtestmodule
mod = import_path(self.fspath, mode=importmode)
/usr/lib/python3/dist-packages/_pytest/pathlib.py:524: in import_path
importlib.import_module(module_name)
/usr/lib/python3.10/importlib/__init__.py:126: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
:1050: in _gcd_import
???
:1027: in _find_and_load
???
:1006: in _find_and_load_unlocked
???
:688: in _load_unlocked
???
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:170: in 
exec_module

exec(co, module.__dict__)
test/test_cli.py:4: in 
from rpmlint.cli import process_lint_args
rpmlint/cli.py:6: in 
from rpmlint.lint import Lint
rpmlint/lint.py:14: in 
from rpmlint.pkg import FakePkg, get_installed_pkgs, Pkg
rpmlint/pkg.py:27: in 
import zstandard as zstd
E   ModuleNotFoundError: No module named 'zstandard'


OpenPGP_signature
Description: OpenPGP digital signature