Bug 289598 - devel/py-python-semantic-release: Add support for py-click 8.3.0
Summary: devel/py-python-semantic-release: Add support for py-click 8.3.0
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: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks: 289445
  Show dependency tree / graph
 
Reported: 2025-09-14 14:28 UTC by Thibault Payet
Modified: 2026-05-07 06:17 UTC (History)
4 users (show)

See Also:
sunpoet: maintainer-feedback+


Attachments
[PATCH] devel/py-python-semantic-release: bring in upstream patch to update click to 8.3.0 (4.35 KB, patch)
2026-03-03 21:12 UTC, Siva Mahadevan
no flags Details | Diff
[PATCH v2] devel/py-python-semantic-release: bring in upstream patch to update click to 8.3.0 (4.36 KB, patch)
2026-04-06 13:58 UTC, Siva Mahadevan
no flags Details | Diff
[PATCH v3] devel/py-python-semantic-release: bring in upstream patch to update click to ~8.3.x (3.06 KB, patch)
2026-04-09 01:23 UTC, Siva Mahadevan
siva: maintainer-approval? (sunpoet)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thibault Payet 2025-09-14 14:28:16 UTC
Are they any blocker to update click maximum version ?
Comment 1 Thibault Payet 2025-09-30 04:07:45 UTC
Please see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289445
for the global patch that will affect this port.
Comment 3 Thibault Payet 2025-10-01 17:25:04 UTC
(In reply to Po-Chuan Hsieh from comment #2)
Noted, I wonder if they would had an issue with 8.3.0.
Looking at port, we are currently at 8.1.7 which is not 8.1.0 that is fixed in their project file.
Comment 4 Siva Mahadevan freebsd_committer freebsd_triage 2026-03-03 21:12:54 UTC
Created attachment 268513 [details]
[PATCH] devel/py-python-semantic-release: bring in upstream patch to update click to 8.3.0

Attached a patch to bring in my upstreamed PR to fix issues related to updating its click dependency to 8.3.0. I've also included an update to click itself in the patch for testing purposes.

As I understand from the discussion in Bug 289445, this should remove the last blocker to update click to 8.3.x in Ports.
Comment 5 Siva Mahadevan freebsd_committer freebsd_triage 2026-03-04 14:25:07 UTC
CC +kai who is working on the Django 4.2 -> 5.2 migration.
Comment 6 Siva Mahadevan freebsd_committer freebsd_triage 2026-03-19 15:09:12 UTC
Any update on reviewing this patch?
Comment 7 Siva Mahadevan freebsd_committer freebsd_triage 2026-04-02 02:01:57 UTC
Ping on this, if no review, I'll mark as maintainer timeout and commit this patch to unblock the other ports.
Comment 8 Po-Chuan Hsieh freebsd_committer freebsd_triage 2026-04-02 18:53:44 UTC
(In reply to Siva Mahadevan from comment #7)

Thanks for the patch.

Could you please also provide the upstream PR link?

BTW, the Makefile patch does not match the pyproject.toml patch. The upper bound of RUN_DEPENDS is missing.
Comment 9 Siva Mahadevan freebsd_committer freebsd_triage 2026-04-06 13:58:25 UTC
Created attachment 269412 [details]
[PATCH v2] devel/py-python-semantic-release: bring in upstream patch to update click to 8.3.0

(In reply to Po-Chuan Hsieh from comment #8)

> Could you please also provide the upstream PR link?
https://github.com/python-semantic-release/python-semantic-release/pull/1411

> BTW, the Makefile patch does not match the pyproject.toml patch. The upper bound of RUN_DEPENDS is missing.
Attached a v2 that fixes this, thanks!
Comment 10 Po-Chuan Hsieh freebsd_committer freebsd_triage 2026-04-07 12:49:27 UTC
(In reply to Siva Mahadevan from comment #9)

LGTM.
Thanks.

Could you please add one more change to patch-src_semantic__release_cli_commands_main.py. Please add the upstream PR link in this file and rename it to patch-click. It's easier for future reference (to track upstream progress).

BTW, you still have to handle databases/py-dbt-semantic-interfaces before committing py-click 8.3.1. See bug #289445 comment #13.
Comment 11 Siva Mahadevan freebsd_committer freebsd_triage 2026-04-09 01:23:18 UTC
Created attachment 269525 [details]
[PATCH v3] devel/py-python-semantic-release: bring in upstream patch to update click to ~8.3.x

How does this look?

I'll also see what's needed for databases/py-dbt-semantic-interfaces in a separate patch.
Comment 12 commit-hook freebsd_committer freebsd_triage 2026-05-07 05:48:03 UTC
A commit in branch main references this bug:

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

commit 23b55c73eb8846c5879f3741670de1b9459f159b
Author:     Siva Mahadevan <siva@FreeBSD.org>
AuthorDate: 2026-05-07 05:43:34 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-05-07 05:45:23 +0000

    devel/py-python-semantic-release: Allow build with py-click 8.3.0+

    - Bump PORTREVISION for package change

    PR:             289598
    Reported by:    Thibault Payet <monwarez@mailoo.org>
    Reference:      https://github.com/python-semantic-release/python-semantic-release/pull/1411

 devel/py-python-semantic-release/Makefile                 |  4 ++--
 devel/py-python-semantic-release/files/patch-click (new)  | 15 +++++++++++++++
 .../py-python-semantic-release/files/patch-pyproject.toml |  8 +++++++-
 3 files changed, 24 insertions(+), 3 deletions(-)
Comment 13 Po-Chuan Hsieh freebsd_committer freebsd_triage 2026-05-07 06:17:44 UTC
Committed. Thanks.