Bug 267058 - textproc/py-python-lsp-server: Remove upper limits on versions of more dependencies
Summary: textproc/py-python-lsp-server: Remove upper limits on versions of more depend...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rainer Hurling
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-14 17:44 UTC by Yuri Victorovich
Modified: 2022-10-14 18:23 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (rhurlin)


Attachments
patch to remove version limits for more deps (1.85 KB, patch)
2022-10-14 18:09 UTC, Rainer Hurling
rhurlin: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2022-10-14 17:44:40 UTC
Hi Rainer,

There are 4 more dependencies that also need upper limits on their versions removed:

> pkg_resources.DistributionNotFound: The 'pyflakes<2.5.0,>=2.4.0' distribution was not found and is required by python-lsp-server
> pkg_resources.DistributionNotFound: The 'mccabe<0.7.0,>=0.6.0' distribution was not found and is required by python-lsp-server
> pkg_resources.DistributionNotFound: The 'flake8<4.1.0,>=4.0.0' distribution was not found and is required by python-lsp-server
> pkg_resources.DistributionNotFound: The 'autopep8<1.7.0,>=1.6.0' distribution was not found and is required by python-lsp-server


Sorry that I didn't list them all in my previous bug report.


Yuri
Comment 1 Rainer Hurling freebsd_committer freebsd_triage 2022-10-14 18:09:01 UTC
Created attachment 237305 [details]
patch to remove version limits for more deps

While upper version limit for pyflakes was removed in bug #267027, this patch removes it for autopep8, flake8, mccabe, and also for pycodestyle.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-10-14 18:17:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=168401008d19fa51bb41ea9977f73899c2a78e51

commit 168401008d19fa51bb41ea9977f73899c2a78e51
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-10-14 18:12:05 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-10-14 18:17:10 +0000

    textproc/py-python-lsp-server: Remove more limits

    In a follow up, more version limits for dependencies are removed
    to unbreak the port at runtime.

    PR:             267058
    MFH:            2022Q4

 textproc/py-python-lsp-server/Makefile             |  2 +-
 .../files/patch-pyproject.toml                     | 28 +++++++++++++++++-----
 2 files changed, 23 insertions(+), 7 deletions(-)
Comment 3 commit-hook freebsd_committer freebsd_triage 2022-10-14 18:19:46 UTC
A commit in branch 2022Q4 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fafedb623e9c8dec889245e7aa2793ed86b2c754

commit fafedb623e9c8dec889245e7aa2793ed86b2c754
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2022-10-14 18:12:05 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2022-10-14 18:19:11 +0000

    textproc/py-python-lsp-server: Remove more limits

    In a follow up, more version limits for dependencies are removed
    to unbreak the port at runtime.

    PR:             267058
    MFH:            2022Q4
    (cherry picked from commit 168401008d19fa51bb41ea9977f73899c2a78e51)

 textproc/py-python-lsp-server/Makefile             |  2 +-
 .../files/patch-pyproject.toml                     | 28 +++++++++++++++++-----
 2 files changed, 23 insertions(+), 7 deletions(-)
Comment 4 Rainer Hurling freebsd_committer freebsd_triage 2022-10-14 18:21:21 UTC
Committed. Hope all is fine now ;)
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2022-10-14 18:23:31 UTC
(In reply to Rainer Hurling from comment #4)

Thank you!

devel/py-spyder now works with these changes. But it is still pending updates in other ports,


Yuri