Bug 278544 - Updating devel/py-oci to 2.126.0 and devel/oci-cli to 3.40.0
Summary: Updating devel/py-oci to 2.126.0 and devel/oci-cli to 3.40.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: Nuno Teixeira
URL: https://github.com/oracle/oci-python-...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-23 08:27 UTC by Alessandro Sagratini
Modified: 2024-04-24 08:59 UTC (History)
2 users (show)

See Also:


Attachments
trivial update of Makefile and distinfo (2.65 KB, patch)
2024-04-23 08:27 UTC, Alessandro Sagratini
ale_sagra: maintainer-approval+
Details | Diff
update py-oci to 2.126.0 version (1.11 KB, patch)
2024-04-23 09:43 UTC, Alessandro Sagratini
ale_sagra: maintainer-approval+
Details | Diff
update oci-cli to 3.40.0 version (1.81 KB, patch)
2024-04-23 09:47 UTC, Alessandro Sagratini
ale_sagra: maintainer-approval+
Details | Diff
update py-oci to 2.126.0 version (1.90 KB, patch)
2024-04-23 10:35 UTC, Alessandro Sagratini
ale_sagra: maintainer-approval+
Details | Diff
update oci-cli to 3.40.0 version (2.44 KB, patch)
2024-04-23 10:42 UTC, Alessandro Sagratini
ale_sagra: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Sagratini 2024-04-23 08:27:23 UTC
Created attachment 250168 [details]
trivial update of Makefile and distinfo
Comment 1 Alessandro Sagratini 2024-04-23 08:28:35 UTC
oci-cli Changelog: https://github.com/oracle/oci-cli/releases/tag/v3.40.0
Comment 2 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-23 09:20:15 UTC
Hello,

Could you split patches in different PRs?

Thanks
Comment 3 Alessandro Sagratini 2024-04-23 09:43:53 UTC
Created attachment 250170 [details]
update py-oci to 2.126.0 version
Comment 4 Alessandro Sagratini 2024-04-23 09:47:28 UTC
Created attachment 250171 [details]
update oci-cli to 3.40.0 version

I uploaded 2 different patches, one for each port we're updating here
Comment 5 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-23 10:01:25 UTC
python port is still using distutils which will be deprecated soon.
See also: https://peps.python.org/pep-0632/

Have you done any tests on build it with pep517?
Comment 6 Alessandro Sagratini 2024-04-23 10:35:11 UTC
Created attachment 250174 [details]
update py-oci to 2.126.0 version

Right, I updated py-oci patch to use pep517 instead of distutils, it builds and works as expected with this. 

I will update oci-cli as well
Comment 7 Alessandro Sagratini 2024-04-23 10:42:26 UTC
Created attachment 250175 [details]
update oci-cli to 3.40.0 version

updating oci-cli to use pep517 instead of distutils, too
Comment 8 commit-hook freebsd_committer freebsd_triage 2024-04-24 08:57:47 UTC
A commit in branch main references this bug:

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

commit 7dd296ae15c66dd8e5efd58703b764cda48770f3
Author:     Alessandro Sagratini <ale_sagra@hotmail.com>
AuthorDate: 2024-04-24 08:50:09 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-04-24 08:56:32 +0000

    devel/{py-oci,oci-cli}: Update to 2.126.0 / 3.40.0

    - Switch to pep517 build

    ChangeLog:
            https://github.com/oracle/oci-python-sdk/releases/tag/v2.126.0
            https://github.com/oracle/oci-cli/releases/tag/v3.40.0
    PR:     278544

 devel/oci-cli/Makefile | 15 ++++++++-------
 devel/oci-cli/distinfo |  6 +++---
 devel/py-oci/Makefile  |  9 +++++----
 devel/py-oci/distinfo  |  6 +++---
 4 files changed, 19 insertions(+), 17 deletions(-)
Comment 9 Nuno Teixeira freebsd_committer freebsd_triage 2024-04-24 08:59:05 UTC
Committed with minor fixes, missing setuptools build dep.

Thank you!