Bug 275583 - databases/py-dbt-core: Update to 1.7.3 (and dependencies)
Summary: databases/py-dbt-core: Update to 1.7.3 (and dependencies)
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: 275584 275593
  Show dependency treegraph
 
Reported: 2023-12-07 03:04 UTC by Pat Maddox
Modified: 2023-12-07 18:43 UTC (History)
1 user (show)

See Also:


Attachments
patch (29.77 KB, patch)
2023-12-07 03:04 UTC, Pat Maddox
no flags Details | Diff
patch (28.66 KB, patch)
2023-12-07 03:15 UTC, Pat Maddox
no flags Details | Diff
patch (29.03 KB, patch)
2023-12-07 09:49 UTC, Pat Maddox
pat: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pat Maddox 2023-12-07 03:04:47 UTC
Created attachment 246834 [details]
patch

databases/py-dbt-core: Update to 1.7.3 (and dependencies)

databases/py-dbt-semantic-interfaces: Update to 0.4.1
devel/py-dbt-extractor: Update to 0.5.1
Comment 1 Pat Maddox 2023-12-07 03:15:20 UTC
Created attachment 246837 [details]
patch
Comment 2 Pat Maddox 2023-12-07 03:28:06 UTC
Note that py-dbt-core requires specific versions of py-dbt-extractor and py-dbt-semantic-interfaces, so they must be included in the path.
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-12-07 07:16:00 UTC
py-dbt-semantic-interfaces fails to build. See the log:
https://pkg.bofh.network/data/124i386-default/2023-12-07_08h12m07s/logs/errors/py39-dbt-semantic-interfaces-0.4.1.log
Comment 4 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-12-07 07:39:53 UTC
At the moment I have added a new port py-importlib-metadata6 but there are conflicts so I am committing this by removing the ",<7". Let me know if it creates a problem.
Comment 5 Pat Maddox 2023-12-07 07:49:08 UTC
Okay, I'm testing out the same "remove <7" fix over here right now.
Comment 6 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-12-07 07:57:08 UTC
Okiz. I will eventually commit this tonight or tomorrow as it will take some times to do build tests.
Comment 7 Pat Maddox 2023-12-07 09:49:22 UTC
Created attachment 246846 [details]
patch

new patch, confirmed it works with importlib-metadata 7. Also added links to CHANGELOGs
Comment 8 commit-hook freebsd_committer freebsd_triage 2023-12-07 13:53:40 UTC
A commit in branch main references this bug:

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

commit 0f116092ffd231479fa312ede22c1e98f02fb138
Author:     Pat Maddox <pat@patmaddox.com>
AuthorDate: 2023-12-07 07:27:35 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-07 13:52:35 +0000

    devel/py-dbt-extractor: Update version 0.4.1=>0.5.1

    Changelog: https://github.com/dbt-labs/dbt-extractor/blob/main/CHANGELOG.md

    PR:             275583
    Approved by:    submitter is maintainer

 devel/py-dbt-extractor/Makefile        |   3 +-
 devel/py-dbt-extractor/Makefile.crates | 107 ++++++++--------
 devel/py-dbt-extractor/distinfo        | 220 +++++++++++++++++----------------
 3 files changed, 169 insertions(+), 161 deletions(-)
Comment 9 commit-hook freebsd_committer freebsd_triage 2023-12-07 13:53:41 UTC
A commit in branch main references this bug:

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

commit d93f60b4e24cc492407f49b9f5ea32dfc6d557c4
Author:     Pat Maddox <pat@patmaddox.com>
AuthorDate: 2023-12-07 13:42:51 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-07 13:52:35 +0000

    databases/py-dbt-core: Update version 1.6.0=>1.7.3

    Changelog: https://github.com/dbt-labs/dbt-core/blob/v1.7.3/CHANGELOG.md

    PR:             275583
    Approved by:    submitter is maintainer

 databases/py-dbt-core/Makefile | 22 +++++++++++-----------
 databases/py-dbt-core/distinfo |  6 +++---
 2 files changed, 14 insertions(+), 14 deletions(-)
Comment 10 commit-hook freebsd_committer freebsd_triage 2023-12-07 13:53:42 UTC
A commit in branch main references this bug:

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

commit 15ce413d89e8402e4d83d114b08a585c5e1ecb07
Author:     Pat Maddox <pat@patmaddox.com>
AuthorDate: 2023-12-07 07:46:55 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-12-07 13:52:35 +0000

    databases/py-dbt-semantic-interfaces: Update version 0.2.0=>0.4.1

    Committed with modification for py-importlib-metadata. Buzz me if it
    creates trouble.

    Changelog:
    https://github.com/dbt-labs/dbt-semantic-interfaces/releases/tag/v0.4.1

    PR:             275583
    Approved by:    submitter is maintainer

 databases/py-dbt-semantic-interfaces/Makefile | 14 ++++++++------
 databases/py-dbt-semantic-interfaces/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 9 deletions(-)
Comment 11 Pat Maddox 2023-12-07 18:41:42 UTC
I see you split this into multiple commits, even though they need to go together for it to build.

So I take it that’s the workflow: one PR, and one patch per port?
Comment 12 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-12-07 18:43:48 UTC
Yes. It is indeed. It's best as even though there are some mistakes it's easy to revert and fix only one rather than the entire. However care should be taken to make proper Blocks/Depends of PR.