Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 948929 - [guru] dev-python/python-lsp-isort-0.2.0 fails tests: FAILED test_plugin.py::test_pylsp_format_document - TypeError: pylsp_format_document() missing 1 required positional argument: document
Summary: [guru] dev-python/python-lsp-isort-0.2.0 fails tests: FAILED test_plugin.py::...
Status: CONFIRMED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Moritz Brunner
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2025-01-28 08:01 UTC by Agostino Sarubbo
Modified: 2025-01-28 09:37 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,67.86 KB, text/plain)
2025-01-28 08:01 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 2025-01-28 08:01:50 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/python-lsp-isort-0.2.0 fails tests.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0015
Comment 1 Agostino Sarubbo gentoo-dev 2025-01-28 08:01:52 UTC
Created attachment 917693 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2025-01-28 08:01:53 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       TypeError: pylsp_format_document() missing 1 required positional argument: 'document'
E       TypeError: pylsp_format_range() missing 1 required positional argument: 'range'
ERROR setuptools_scm._file_finders.git listing git files failed - pretending there aren't any
FAILED tests/test_plugin.py::test_pylsp_format_document - TypeError: pylsp_format_document() missing 1 required positional argument: 'document'
FAILED tests/test_plugin.py::test_pylsp_format_range - TypeError: pylsp_format_range() missing 1 required positional argument: 'range'
tests/test_plugin.py::test_pylsp_format_document FAILED                 [11/12]
tests/test_plugin.py::test_pylsp_format_range FAILED                    [12/12]
Comment 3 Moritz Brunner 2025-01-28 09:37:37 UTC
The test failure has already been reported upstream. The unit tests haven't kept up with recent upstream code changes, so the test suite fails every time.