Bug 2148622

Summary: python-lsp-server: FTBFS in Fedora Rawhide (F38) and F37
Product: [Fedora] Fedora Reporter: Ben Beasley <code>
Component: python-lsp-serverAssignee: Orphan Owner <extras-orphan>
Status: NEW --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/python-lsp-server
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ben Beasley 2022-11-26 14:26:09 UTC
Description of problem:
Package python-lsp-server fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
1.4.1-3.fc37

Steps to Reproduce:
koji build --scratch f38 python-lsp-server-1.4.1-3.fc37.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-lsp-server

This also applies to F37.

> Error: 
>  Problem 1: nothing provides requested (python3dist(flake8) < 4.1~~ with python3dist(flake8) >= 4)
>  Problem 2: nothing provides requested (python3dist(mccabe) < 0.7~~ with python3dist(mccabe) >= 0.6)
>  Problem 3: nothing provides requested (python3dist(pycodestyle) < 2.9~~ with python3dist(pycodestyle) >= 2.8)
>  Problem 4: nothing provides requested (python3dist(pyflakes) < 2.5~~ with python3dist(pyflakes) >= 2.4)

The extras tightly bound the versions of a number of dependencies:

> all = 
>         autopep8>=1.6.0,<1.7.0
>         flake8>=4.0.0,<4.1.0
>         mccabe>=0.6.0,<0.7.0
>         pycodestyle>=2.8.0,<2.9.0
>         pydocstyle>=2.0.0
>         pyflakes>=2.4.0,<2.5.0
>         pylint>=2.5.0
>         rope>=0.10.5
>         yapf
> autopep8 = autopep8>=1.6.0,<1.7.0
> flake8 = flake8>=4.0.0,<4.1.0
> mccabe = mccabe>=0.6.0,<0.7.0
> pycodestyle = pycodestyle>=2.8.0,<2.9.0
> pydocstyle = pydocstyle>=2.0.0
> pyflakes = pyflakes>=2.4.0,<2.5.0
> pylint = pylint>=2.5.0
> rope = rope>0.10.5
> yapf = yapf
> test = 
>         pylint>=2.5.0
>         pytest
>         pytest-cov
>         coverage
>         numpy
>         pandas
>         matplotlib
>         pyqt5
>         flaky

These appear to be “preemptive” SemVer version pins rather than ones reflecting actual incompatibilities. For RPM packaging, I would suggest removing the upper bounds on these dependency versions, as breakage is much more likely to arise from these bounds than from any actual incompatibility.

(Ideally packagers should be checking for bounds like this in dependent packages before building an update, but that doesn’t always happen.)

Comment 1 Ben Cotton 2023-02-07 14:59:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 2 Fedora Admin user for bugzilla script actions 2023-08-16 12:55:25 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.