Bug 277361 - textproc/py-sphinx-autoapi: Fix astroid2 dependency
Summary: textproc/py-sphinx-autoapi: Fix astroid2 dependency
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: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks: 277221
  Show dependency treegraph
 
Reported: 2024-02-27 19:10 UTC by Andreas Bilke
Modified: 2024-03-02 13:58 UTC (History)
2 users (show)

See Also:


Attachments
Limit astroid version to v2 (788 bytes, patch)
2024-02-27 19:10 UTC, Andreas Bilke
andreas: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Bilke 2024-02-27 19:10:41 UTC
Created attachment 248799 [details]
Limit astroid version to v2

Some days ago devel/py-astroid got a major version update which broke  textproc/py-sphinx-autoapi and therefor deskutils/py-khard.

This patch changes to astroid2 as a dependency to limit the version < 3 of astroid.

An direct upgrade to  textproc/py-sphinx-autoapi v3 is not possible since we are missing the needed py-sphinx v6 dependency in the ports tree.
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-03-02 11:24:25 UTC
For next time:
Always bump PORTREVISION when you are changing direct dependencies.
Comment 2 Michael Büker 2024-03-02 11:25:52 UTC
I confirm that this fixes the build of deskutils/py-khard.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-03-02 13:54:44 UTC
A commit in branch main references this bug:

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

commit 117ae8f4c6a8d27b0cc628ef6bb82a58e2ba8b6d
Author:     Andreas Bilke <andreas@bilke.org>
AuthorDate: 2024-03-02 11:25:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-03-02 13:53:13 +0000

    textproc/py-sphinx-autoapi: Fix astroid2 dependency

    This patch changes to astroid2 as a dependency to limit the version < 3
    of astroid.

    A direct upgrade to  textproc/py-sphinx-autoapi v3 is not possible
    since we are missing the needed py-sphinx v6 dependency in the ports
    tree.

    PR:             277361
    Approved by:    submitter is maintainer

 textproc/py-sphinx-autoapi/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)