Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943312 - dev-python/python-lsp-server-1.12.0 fails tests: FAILED test_completion.py::test_jedi_completion_with_fuzzy_enabled - AssertionError: assert isabs(s) == commonprefix(m)
Summary: dev-python/python-lsp-server-1.12.0 fails tests: FAILED test_completion.py::t...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nowa Ammerlaan
URL: https://github.com/python-lsp/python-...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2024-11-12 08:57 UTC by Agostino Sarubbo
Modified: 2025-01-02 15:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,172.31 KB, text/plain)
2024-11-12 08:57 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-12 08:57:04 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/python-lsp-server-1.12.0 fails tests.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-12 08:57:05 UTC
Created attachment 908568 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-12 08:57:06 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


2024-11-12 04:07:39,289 UTC - INFO - pylsp.config.config - Failed to load pylsp entry point 'pydocstyle': No module named 'pydocstyle'
2024-11-12 04:07:39,316 UTC - INFO - pylsp.config.config - Failed to load pylsp entry point 'pydocstyle': No module named 'pydocstyle'
E       AssertionError: assert 'isabs(s)' == 'commonprefix(m)'
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED test/plugins/test_completion.py::test_jedi_completion_with_fuzzy_enabled - AssertionError: assert 'isabs(s)' == 'commonprefix(m)'
INFO     pylsp.config.config:config.py:82 Failed to load pylsp entry point 'pydocstyle': No module named 'pydocstyle'
test/plugins/test_completion.py::test_jedi_completion_with_fuzzy_enabled FAILED [ 17/168]
Comment 3 Larry the Git Cow gentoo-dev 2025-01-02 15:20:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=340bf29453b14d83a7c869a189fa05e0209f5e89

commit 340bf29453b14d83a7c869a189fa05e0209f5e89
Author:     Nowa Ammerlaan <nowa@gentoo.org>
AuthorDate: 2025-01-02 14:38:23 +0000
Commit:     Nowa Ammerlaan <nowa@gentoo.org>
CommitDate: 2025-01-02 15:19:53 +0000

    dev-python/python-lsp-server: patch and enable python 3.13
    
    Closes: https://bugs.gentoo.org/943312
    Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>

 .../python-lsp-server-1.12.0-jedi19-compat.patch   | 16 ++++
 .../python-lsp-server-1.12.0-r1.ebuild             | 95 ++++++++++++++++++++++
 2 files changed, 111 insertions(+)