Bug 280570

Summary: devel/py-pip: build failed
Product: Ports & Packages Reporter: Sergey A. Osokin <osa>
Component: Individual Port(s)Assignee: freebsd-python (Nobody) <python>
Status: Closed FIXED    
Severity: Affects Only Me CC: hlh, jordan, lists, osa, sunpoet
Priority: --- Flags: bugzilla: maintainer-feedback? (python)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
devel/py-pip failed build none

Description Sergey A. Osokin freebsd_committer freebsd_triage 2024-08-02 14:36:06 UTC
Created attachment 252454 [details]
devel/py-pip failed build

Hi,

I've just found that devel/py-pip build has failed with the recent version of ports. The py311-pip-23.3.2_1.log build log is attached to the build.

Thank you.
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2024-08-02 16:19:38 UTC
Builds OK when DOCS option is off.

May we have to switch it off?
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-08-03 14:23:21 UTC
I noticed the same issue from pkg-fallout [1]. According to the log, I guess the failure is caused by ports 4bd3073300d1a4d245f7cbc06923d6985af7f8a6 (textproc/py-towncrier 24.7.1 update).

[1] https://pkg-status.freebsd.org/package19/data/140amd64-default-build-as-user/39a5c2d0b3e6/logs/py311-pip-23.3.2_1.log
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-08-04 17:25:28 UTC
A commit in branch main references this bug:

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

commit 8108e8538f692ea58f71e6ac6f381e761020177a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 17:11:04 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 17:14:28 +0000

    devel/py-pip: Disable DOCS option to fix the build

    - Bump PORTREVISION for package change

    textproc/py-towncrier has been updated to 24.7.1 in
    4bd3073300d1a4d245f7cbc06923d6985af7f8a6. However towncrier 24.7+ is
    incompatible with sphinxcontrib-towncrier. Therefore, it causes build failure
    when DOCS option is enabled.

    Reference:      https://pkg-status.freebsd.org/package19/data/140amd64-default-build-as-user/39a5c2d0b3e6/logs/py311-pip-23.3.2_1.log
                    https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/92
    PR:             280570

 devel/py-pip/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-08-04 17:52:26 UTC
(In reply to Po-Chuan Hsieh from comment #2)

I could confirm it also breaks devel/py-pyinstaller.
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-08-04 21:20:51 UTC
A commit in branch main references this bug:

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

commit d32a5864f5f0626fb81a527dc3d60a8168b20c7c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-08-04 21:17:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-08-04 21:17:46 +0000

    devel/py-pip: Reenable DOCS option by using py-towncrier23

    - Bump PORTREVISION for package change

    Change py-sphinxcontrib-towncrier and this port from incompatible py-towncrier
    to compatible py-towncrier23. Therefore, DOCS can be enabled again.

    Reference:      https://github.com/sphinx-contrib/sphinxcontrib-towncrier/issues/92
    PR:             280570

 devel/py-pip/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)