Package: src:pygls
Version: 1.3.0-3
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202510/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:pygls, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean -S pybuild
   dh_testdir -O-Spybuild
   dh_auto_clean -O-Spybuild
   dh_autoreconf_clean -O-Spybuild
   dh_clean -O-Spybuild
 debian/rules binary
dh binary -S pybuild
   dh_testdir -O-Spybuild
   dh_update_autotools_config -O-Spybuild
   dh_autoreconf -O-Spybuild
   dh_auto_configure -O-Spybuild
   dh_auto_build -O-Spybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" 
module
I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13  
* Building wheel...
Successfully built pygls-1.3.0-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -O-Spybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.8, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build
configfile: pyproject.toml
plugins: asyncio-1.1.0
asyncio: mode=Mode.AUTO, asyncio_default_fixture_loop_scope=None, 
asyncio_default_test_loop_scope=function
collected 249 items

tests/lsp/semantic_tokens/test_delta_missing_legend.py .F.               [  1%]
tests/lsp/semantic_tokens/test_delta_missing_legend_none.py .            [  1%]
tests/lsp/semantic_tokens/test_full_missing_legend.py .                  [  2%]
tests/lsp/semantic_tokens/test_range.py .F.                              [  3%]
tests/lsp/semantic_tokens/test_range_missing_legends.py .                [  3%]
tests/lsp/semantic_tokens/test_semantic_tokens_full.py .F.               [  4%]
tests/lsp/test_call_hierarchy.py .....                                   [  6%]
tests/lsp/test_code_action.py s                                          [  7%]
tests/lsp/test_code_lens.py ...                                          [  8%]
tests/lsp/test_color_presentation.py .                                   [  8%]
tests/lsp/test_completion.py s                                           [  9%]
tests/lsp/test_declaration.py .....                                      [ 11%]
tests/lsp/test_definition.py .....                                       [ 13%]
tests/lsp/test_diagnostics.py s                                          [ 13%]
tests/lsp/test_document_color.py ..                                      [ 14%]
tests/lsp/test_document_highlight.py ...                                 [ 15%]
tests/lsp/test_document_link.py ...                                      [ 16%]
tests/lsp/test_document_symbol.py ...                                    [ 18%]
tests/lsp/test_errors.py .....                                           [ 20%]
tests/lsp/test_folding_range.py ...                                      [ 21%]
tests/lsp/test_formatting.py ...                                         [ 22%]
tests/lsp/test_hover.py ....                                             [ 24%]
tests/lsp/test_implementation.py .....                                   [ 26%]
tests/lsp/test_inlay_hints.py s                                          [ 26%]
tests/lsp/test_inline_value.py s                                         [ 26%]
tests/lsp/test_linked_editing_range.py ...                               [ 28%]
tests/lsp/test_moniker.py ...                                            [ 29%]
tests/lsp/test_on_type_formatting.py ...                                 [ 30%]
tests/lsp/test_prepare_rename.py ....                                    [ 32%]
tests/lsp/test_progress.py .......                                       [ 34%]
tests/lsp/test_range_formatting.py ...                                   [ 36%]
tests/lsp/test_references.py ...                                         [ 37%]
tests/lsp/test_rename.py ...                                             [ 38%]
tests/lsp/test_selection_range.py ...                                    [ 39%]
tests/lsp/test_signature_help.py .ss                                     [ 40%]
tests/lsp/test_type_definition.py .....                                  [ 42%]
tests/lsp/test_type_hierarchy.py .....                                   [ 44%]
tests/test_client.py ...                                                 [ 46%]
tests/test_document.py .......................                           [ 55%]
tests/test_feature_manager.py .........................................  [ 71%]
tests/test_language_server.py .......                                    [ 74%]
tests/test_protocol.py ..........................                        [ 85%]
tests/test_server_connection.py ..s                                      [ 86%]
tests/test_types.py ...                                                  [ 87%]
tests/test_uris.py .......sssss                                          [ 92%]
tests/test_workspace.py ...................                              [100%]

=================================== FAILURES ===================================
_________ test_semantic_tokens_full_delta_return_tokens[ConfiguredLS] __________

client_server = (<pygls.server.LanguageServer object at 0x7fcb7aa63950>, 
<pygls.server.LanguageServer object at 0x7fcb7ad0bd90>)

    @ConfiguredLS.decorate()
    def test_semantic_tokens_full_delta_return_tokens(client_server):
        client, _ = client_server
        response = client.lsp.send_request(
            TEXT_DOCUMENT_SEMANTIC_TOKENS_FULL_DELTA,
            SemanticTokensDeltaParams(
                
text_document=TextDocumentIdentifier(uri="file://return.tokens"),
                previous_result_id="id",
            ),
        ).result()
    
        assert response
    
>       assert response.data == [0, 0, 3, 0, 0]
E       assert (0, 0, 3, 0, 0) == [0, 0, 3, 0, 0]
E         
E         Use -v to get more diff

tests/lsp/semantic_tokens/test_delta_missing_legend.py:82: AssertionError
____________ test_semantic_tokens_range_return_tokens[ConfiguredLS] ____________

client_server = (<pygls.server.LanguageServer object at 0x7fcb78fc4c90>, 
<pygls.server.LanguageServer object at 0x7fcb78fc4590>)

    @ConfiguredLS.decorate()
    def test_semantic_tokens_range_return_tokens(client_server):
        client, _ = client_server
        response = client.lsp.send_request(
            TEXT_DOCUMENT_SEMANTIC_TOKENS_RANGE,
            SemanticTokensRangeParams(
                
text_document=TextDocumentIdentifier(uri="file://return.tokens"),
                range=Range(
                    start=Position(line=0, character=0),
                    end=Position(line=10, character=80),
                ),
            ),
        ).result()
    
        assert response
    
>       assert response.data == [0, 0, 3, 0, 0]
E       assert (0, 0, 3, 0, 0) == [0, 0, 3, 0, 0]
E         
E         Use -v to get more diff

tests/lsp/semantic_tokens/test_range.py:86: AssertionError
____________ test_semantic_tokens_full_return_tokens[ConfiguredLS] _____________

client_server = (<pygls.server.LanguageServer object at 0x7fcb7a864fc0>, 
<pygls.server.LanguageServer object at 0x7fcb7a867520>)

    @ConfiguredLS.decorate()
    def test_semantic_tokens_full_return_tokens(client_server):
        client, _ = client_server
        response = client.lsp.send_request(
            TEXT_DOCUMENT_SEMANTIC_TOKENS_FULL,
            SemanticTokensParams(
                text_document=TextDocumentIdentifier(uri="file://return.tokens")
            ),
        ).result()
    
        assert response
    
>       assert response.data == [0, 0, 3, 0, 0]
E       assert (0, 0, 3, 0, 0) == [0, 0, 3, 0, 0]
E         
E         Use -v to get more diff

tests/lsp/semantic_tokens/test_semantic_tokens_full.py:80: AssertionError
=========================== short test summary info ============================
FAILED 
tests/lsp/semantic_tokens/test_delta_missing_legend.py::test_semantic_tokens_full_delta_return_tokens[ConfiguredLS]
FAILED 
tests/lsp/semantic_tokens/test_range.py::test_semantic_tokens_range_return_tokens[ConfiguredLS]
FAILED 
tests/lsp/semantic_tokens/test_semantic_tokens_full.py::test_semantic_tokens_full_return_tokens[ConfiguredLS]
================== 3 failed, 233 passed, 13 skipped in 12.74s ==================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest tests
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to