Your message dated Fri, 19 Jan 2024 17:04:27 +0100
with message-id <7df9c5244c1140426702f0986cdc5a767d67cafc.ca...@debian.org>
and subject line Re: Bug#1060937: ionit: FTBFS: AttributeError: module 
'astroid.nodes' has no attribute 'TryExcept'
has caused the Debian Bug report #1060937,
regarding ionit: FTBFS: AttributeError: module 'astroid.nodes' has no attribute 
'TryExcept'
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.)


-- 
1060937: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060937
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ionit
Version: 0.5.0-1.1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240115 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>>'
> dh_auto_build
> I: pybuild base:305: /usr/bin/python3 setup.py build 
> running build
> running build_py
> copying ionit_plugin.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build
> running build_scripts
> creating build
> creating build/scripts-3.11
> copying and adjusting ionit -> build/scripts-3.11
> changing mode of build/scripts-3.11/ionit from 644 to 755
> pandoc -s -t man ionit.1.md -o ionit.1
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:305: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; 
> python3.11 -m unittest discover -v -s /<<PKGBUILDDIR>>
> test_black (tests.test_black.BlackTestCase.test_black)
> Test: Run black code formatter on Python source code. ... Running following 
> command:
> black --check --diff -l 99 /<<PKGBUILDDIR>>/ionit tests ionit_plugin.py 
> /<<PKGBUILDDIR>>/setup.py
> ok
> test_flake8 (tests.test_flake8.Flake8TestCase.test_flake8)
> Test: Run flake8 on Python source code. ... Running following command:
> /usr/bin/python3.11 -m flake8 --max-line-length=99 /<<PKGBUILDDIR>>/ionit 
> tests ionit_plugin.py /<<PKGBUILDDIR>>/setup.py
> ok
> test_collect_function 
> (tests.test_ionit.TestCollectContext.test_collect_function)
> Test: Run collect_context(["tests/config/function"]) ... ok
> test_collect_static_context 
> (tests.test_ionit.TestCollectContext.test_collect_static_context)
> Test: Run collect_context(["tests/config/static"]) ... ok
> test_configuration_file 
> (tests.test_ionit.TestCollectContext.test_configuration_file)
> Test: Run collect_context(["tests/config/static/second.yaml"]) ... ok
> test_context_stacking 
> (tests.test_ionit.TestCollectContext.test_context_stacking)
> Test: Run collect_context(["tests/config/stacking"]) ... ok
> test_empty_context (tests.test_ionit.TestCollectContext.test_empty_context)
> Test: Run collect_context(["tests/config/empty-context"]) ... ok
> test_empty_python_file 
> (tests.test_ionit.TestCollectContext.test_empty_python_file)
> Test: Run collect_context(["tests/config/empty"]) ... ok
> test_ignoring_additional_files 
> (tests.test_ionit.TestCollectContext.test_ignoring_additional_files)
> Test: Run collect_context(["tests/config/additional-file"]) ... ok
> test_invalid_json (tests.test_ionit.TestCollectContext.test_invalid_json)
> Test: Run collect_context(["tests/config/invalid-json"]) ... ok
> test_invalid_python (tests.test_ionit.TestCollectContext.test_invalid_python)
> Test: Run collect_context(["tests/config/invalid-python"]) ... ok
> test_invalid_yaml (tests.test_ionit.TestCollectContext.test_invalid_yaml)
> Test: Run collect_context(["tests/config/invalid-yaml"]) ... ok
> test_missing_directory 
> (tests.test_ionit.TestCollectContext.test_missing_directory)
> Test: Non-existing context directory ... ok
> test_non_dict_context 
> (tests.test_ionit.TestCollectContext.test_non_dict_context)
> Test failure for collect_context(["tests/config/non-dict"]) ... ok
> test_python_module (tests.test_ionit.TestCollectContext.test_python_module)
> Test: Run collect_context(["tests/config/python"]) ... ok
> test_raise_exception 
> (tests.test_ionit.TestCollectContext.test_raise_exception)
> Test failure for collect_context(["tests/config/exception"]) ... ok
> test_main_append_templates 
> (tests.test_ionit.TestMain.test_main_append_templates)
> Test main() with static context and multiple template directories ... 
> 2024-01-15 20:28:28,536 ionit INFO: Reading configuration file 
> '/<<PKGBUILDDIR>>/tests/config/static/first.json'...
> 2024-01-15 20:28:28,536 ionit INFO: Reading configuration file 
> '/<<PKGBUILDDIR>>/tests/config/static/second.yaml'...
> 2024-01-15 20:28:28,539 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/static/counting.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/static/counting'.
> 2024-01-15 20:28:28,540 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/static2/counting.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/static2/counting'.
> ok
> test_main_default_config (tests.test_ionit.TestMain.test_main_default_config)
> Test main() with default config ... 2024-01-15 20:28:28,542 ionit INFO: 
> Loading Python module 'function' from 
> '/<<PKGBUILDDIR>>/tests/config/function/function.py'...
> 2024-01-15 20:28:28,544 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/function/Document.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/function/Document'.
> ok
> test_main_default_templates_directory 
> (tests.test_ionit.TestMain.test_main_default_templates_directory)
> Test main() with default templates directory ... 2024-01-15 20:28:28,546 
> ionit INFO: Reading configuration file 
> '/<<PKGBUILDDIR>>/tests/config/static/first.json'...
> 2024-01-15 20:28:28,546 ionit INFO: Reading configuration file 
> '/<<PKGBUILDDIR>>/tests/config/static/second.yaml'...
> 2024-01-15 20:28:28,548 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/static/counting.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/static/counting'.
> ok
> test_main_static (tests.test_ionit.TestMain.test_main_static)
> Test main() with static context ... 2024-01-15 20:28:28,549 ionit INFO: 
> Reading configuration file 
> '/<<PKGBUILDDIR>>/tests/config/static/first.json'...
> 2024-01-15 20:28:28,549 ionit INFO: Reading configuration file 
> '/<<PKGBUILDDIR>>/tests/config/static/second.yaml'...
> 2024-01-15 20:28:28,551 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/static/counting.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/static/counting'.
> ok
> test_attribution_error (tests.test_ionit.TestRendering.test_attribution_error)
> Test: Run render_templates("tests/template/attribution-error") ... ok
> test_missing_context (tests.test_ionit.TestRendering.test_missing_context)
> Test: Missing context for render_templates("tests/template/static") ... ok
> test_render_function (tests.test_ionit.TestRendering.test_render_function)
> Test: Run render_templates("tests/template/function") ... 2024-01-15 
> 20:28:28,558 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/function/Document.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/function/Document'.
> ok
> test_render_invalid (tests.test_ionit.TestRendering.test_render_invalid)
> Test: Run render_templates("tests/template/invalid") ... ok
> test_render_static (tests.test_ionit.TestRendering.test_render_static)
> Test: Run render_templates("tests/template/static") ... 2024-01-15 
> 20:28:28,561 ionit INFO: Rendered 
> '/<<PKGBUILDDIR>>/tests/template/static/counting.jinja' to 
> '/<<PKGBUILDDIR>>/tests/template/static/counting'.
> ok
> test_render_write_protected 
> (tests.test_ionit.TestRendering.test_render_write_protected)
> Test: Run render_templates("tests/template/static"), but write protected ... 
> ok
> test_isort (tests.test_isort.IsortTestCase.test_isort)
> Test: Run isort on Python source code. ... Running following command:
> isort --check-only --diff -l 99 -p ionit_plugin /<<PKGBUILDDIR>>/ionit tests 
> ionit_plugin.py /<<PKGBUILDDIR>>/setup.py
> ok
> test_file_not_open_mocked 
> (tests.test_mock_open.MockTest.test_file_not_open_mocked)
> Test not opening the mocked file ... ok
> test_file_open_not_mocked 
> (tests.test_mock_open.MockTest.test_file_open_not_mocked)
> Test opening a not mocked file ... ok
> test_open_same_file_twice 
> (tests.test_mock_open.MockTest.test_open_same_file_twice)
> Test opening the same mocked file twice ... ok
> test_raise_exception (tests.test_mock_open.MockTest.test_raise_exception)
> Test raising an exception on mocked open() ... ok
> test_pylint (tests.test_pylint.PylintTestCase.test_pylint)
> Test: Run pylint on Python source code. ... Running following command:
> /usr/bin/python3.11 -m pylint --rcfile=/<<PKGBUILDDIR>>/tests/pylint.conf -- 
> /<<PKGBUILDDIR>>/ionit tests ionit_plugin.py /<<PKGBUILDDIR>>/setup.py
> FAIL
> 
> ======================================================================
> FAIL: test_pylint (tests.test_pylint.PylintTestCase.test_pylint)
> Test: Run pylint on Python source code.
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/<<PKGBUILDDIR>>/tests/test_pylint.py", line 74, in test_pylint
>     self.fail("\n".join(msgs))
> AssertionError: pylint exited with code 1 and has unexpected output on stderr:
> Traceback (most recent call last):
>   File "<frozen runpy>", line 198, in _run_module_as_main
>   File "<frozen runpy>", line 88, in _run_code
>   File "/usr/lib/python3/dist-packages/pylint/__main__.py", line 10, in 
> <module>
>     pylint.run_pylint()
>   File "/usr/lib/python3/dist-packages/pylint/__init__.py", line 36, in 
> run_pylint
>     PylintRun(argv or sys.argv[1:])
>   File "/usr/lib/python3/dist-packages/pylint/lint/run.py", line 157, in 
> __init__
>     linter.load_default_plugins()
>   File "/usr/lib/python3/dist-packages/pylint/lint/pylinter.py", line 369, in 
> load_default_plugins
>     checkers.initialize(self)
>   File "/usr/lib/python3/dist-packages/pylint/checkers/__init__.py", line 
> 136, in initialize
>     register_plugins(linter, __path__[0])
>   File "/usr/lib/python3/dist-packages/pylint/utils/utils.py", line 204, in 
> register_plugins
>     module = modutils.load_module_from_file(
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 235, in 
> load_module_from_file
>     return load_module_from_modpath(modpath)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 220, in 
> load_module_from_modpath
>     return load_module_from_name(".".join(parts))
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3/dist-packages/astroid/modutils.py", line 194, in 
> load_module_from_name
>     module = importlib.import_module(dotted_name)
>              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "/usr/lib/python3.11/importlib/__init__.py", line 126, in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
>            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>   File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
>   File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
>   File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
>   File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
>   File "<frozen importlib._bootstrap_external>", line 940, in exec_module
>   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
>   File 
> "/usr/lib/python3/dist-packages/pylint/checkers/refactoring/__init__.py", 
> line 16, in <module>
>     from pylint.checkers.refactoring.refactoring_checker import 
> RefactoringChecker
>   File 
> "/usr/lib/python3/dist-packages/pylint/checkers/refactoring/refactoring_checker.py",
>  line 36, in <module>
>     nodes.TryExcept, nodes.TryFinally, nodes.While, nodes.For, nodes.If
>     ^^^^^^^^^^^^^^^
> AttributeError: module 'astroid.nodes' has no attribute 'TryExcept'
> 
> ----------------------------------------------------------------------
> Ran 32 tests in 1.301s
> 
> FAILED (failures=1)
> E: pybuild pybuild:391: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11/build; python3.11 -m unittest 
> discover -v -s /<<PKGBUILDDIR>>
> dh_auto_test: error: pybuild --test -i python{version} -p 3.11 returned exit 
> code 13


The full build log is available from:
http://qa-logs.debian.net/2024/01/15/ionit_0.5.0-1.1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240115;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240115&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 ---
On Tue, 2024-01-16 at 20:40 +0100, Lucas Nussbaum wrote:
> Source: ionit
> Version: 0.5.0-1.1
> Severity: serious
> Justification: FTBFS
> Tags: trixie sid ftbfs
> User: lu...@debian.org
> Usertags: ftbfs-20240115 ftbfs-trixie
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build
> on amd64.

> I think this was bug 1056439 and is already fixed.

-- 
Benjamin Drung
Debian & Ubuntu Developer

--- End Message ---

Reply via email to