Bug 282649 - devel/py-rq: Update to 2.0.0 and add devel/py-rq1
Summary: devel/py-rq: Update to 2.0.0 and add devel/py-rq1
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: Kai Knoblich
URL: https://github.com/rq/rq/releases/tag...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-09 14:40 UTC by Kai Knoblich
Modified: 2024-11-23 09:28 UTC (History)
1 user (show)

See Also:
kai: maintainer-feedback+


Attachments
py-rq-2.0.0-and-py-rq1-v1.patch (3.38 KB, patch)
2024-11-09 14:40 UTC, Kai Knoblich
kai: maintainer-approval+
Details | Diff
py-rq-and-py-rq1-consumers-v1.patch (8.38 KB, patch)
2024-11-09 14:40 UTC, Kai Knoblich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Knoblich freebsd_committer freebsd_triage 2024-11-09 14:40:04 UTC
Created attachment 255051 [details]
py-rq-2.0.0-and-py-rq1-v1.patch

Hi Steven,

attached is a patch that updates devel/py-rq to 2.0.0 and adds devel/py-rq1 as transitional package for consumers, that aren't ready yet for the 2.0.0 release.

There's another patch attached for the consumers of py-rq and py-rq1 as well. It does the following:

- Upgrade devel/py-dj50-django-rq to 3.0.0
- Switch devel/py-django-rq to devel/py-rq1
- Switch devel/py-rq-scheduler to devel/py-rq1
- Switch devel/py-sortinghat to devel/py-rq1
- Switch dns/py-dns-crawler to devel/py-rq1
- Add workaround for net-mgmt/netbox to prepare it for use with devel/py-rq 2.0.0.

QA:
~~~
- poudriere -> OK (13.3-RELEASE amd64, py311)
- poudriere (bulk against consumers) -> OK (13.3-RELEASE amd64, py311)
- make index -> OK
Comment 1 Kai Knoblich freebsd_committer freebsd_triage 2024-11-09 14:40:37 UTC
Created attachment 255052 [details]
py-rq-and-py-rq1-consumers-v1.patch
Comment 2 Steven Kreuzer freebsd_committer freebsd_triage 2024-11-14 00:52:35 UTC
Hi Kai-

Patches look good. Please feel free to commit. Thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-11-23 08:09:28 UTC
A commit in branch main references this bug:

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

commit 952c1b2c08c60d2a6f6fc46ab4ef76109c53438e
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-11-23 07:46:12 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-11-23 07:56:10 +0000

    */*: Switch consumers from devel/py-rq to devel/py-rq1

    These ports are not compatible with py-rq 2.0.0+ and for some there is
    not yet a new version that is ready for py-rq 2.0.0+.

    Therefore to avoid regressions, switch the consumers to the newly
    created port devel/py-rq1, which uses the 1.16.2 release.

    * Bump PORTREVISION due dependency change.

    PR:             282649
    Approved by:    portmgr (blanket)

 devel/py-django-rq/Makefile    | 3 ++-
 devel/py-rq-scheduler/Makefile | 4 ++--
 devel/py-sortinghat/Makefile   | 4 ++--
 dns/py-dns-crawler/Makefile    | 4 ++--
 4 files changed, 8 insertions(+), 7 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-11-23 08:09:29 UTC
A commit in branch main references this bug:

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

commit 396d79ca69de656f10aed6eeab092ce37293fb76
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-11-23 07:51:39 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-11-23 07:56:56 +0000

    devel/py-dj50-django-rq: Update to 3.0.0

    * Add SENTRY option to reflect the settings in setup.py.  Keep it
      non-default for now because this port is currently only used by
      net-mgmt/netbox and it also has such an option, which is non-default
      as well.

    Changelog:

    https://github.com/rq/django-rq/releases/tag/v3.0

    PR:             282649
    MFH:            No (contains breaking changes)

 devel/py-dj50-django-rq/Makefile | 15 ++++++++++++---
 devel/py-dj50-django-rq/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 6 deletions(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2024-11-23 08:09:30 UTC
A commit in branch main references this bug:

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

commit a62983b1803f4c36f3821e07108885f08ab4d321
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-11-23 07:49:25 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-11-23 07:56:32 +0000

    devel/py-rq: Update to 2.0.0

    * Remove no-op PY_DEPENDS while I'm here.

    * Add CONFLICTS_INSTALL entry which is needed due the newly created
      port devel/py-rq1.

    Changelog:

    https://github.com/rq/rq/releases/tag/v2.0

    PR:             282649
    Approved by:    skreuzer (maintainer)
    MFH:            No (contains breaking changes)

 devel/py-rq/Makefile | 8 ++++----
 devel/py-rq/distinfo | 6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)
Comment 6 commit-hook freebsd_committer freebsd_triage 2024-11-23 08:09:30 UTC
A commit in branch main references this bug:

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

commit d711dddf8161c02b61520d7c7080736bad7405eb
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-11-23 07:48:35 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-11-23 07:56:32 +0000

    net-mgmt/netbox: Relax requirements

    * Align the version requirements to pave the way to be able to use the
      newer versions of py-rq 2.0.0 and py-dj50-django-rq 3.0.0.

    PR:             282649

 net-mgmt/netbox/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 7 commit-hook freebsd_committer freebsd_triage 2024-11-23 08:09:31 UTC
A commit in branch main references this bug:

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

commit 9b1c34f578f8a689a52b942a9030002bda2ffcc4
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2024-11-23 07:42:50 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2024-11-23 07:52:53 +0000

    devel/py-rq1: Add new port, copied from devel/py-rq

    RQ (Redis Queue) is a simple Python library for queueing jobs and
    processing them in the background with workers.  It is backed by Redis
    and it is designed to have a low barrier to entry.  It can be integrated
    in your web stack easily.

    This port serves as a transition for consumers of devel/py-rq which are
    not yet ready for py-rq 2.0.0.

    PR:             282649
    Approved by:    skreuzer (maintainer)

 devel/Makefile               |  1 +
 devel/py-rq1/Makefile (new)  | 29 +++++++++++++++++++++++++++++
 devel/py-rq1/distinfo (new)  |  3 +++
 devel/py-rq1/pkg-descr (new) |  3 +++
 4 files changed, 36 insertions(+)
Comment 8 Kai Knoblich freebsd_committer freebsd_triage 2024-11-23 09:26:52 UTC
Comment on attachment 255051 [details]
py-rq-2.0.0-and-py-rq1-v1.patch

^Triage: Set maintainer-approval flag to '+' as maintainer approval was given via comment #2.
Comment 9 Kai Knoblich freebsd_committer freebsd_triage 2024-11-23 09:27:41 UTC
(In reply to Steven Kreuzer from comment #2)

Committed, thank you for your review!