Bug 277503 - devel/py-oci: update to 2.124.0 and devel/oci-cli update to 3.37.12
Summary: devel/py-oci: update to 2.124.0 and devel/oci-cli update to 3.37.12
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: Gabriel M. Dutra
URL: https://github.com/oracle/oci-python-...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-05 13:56 UTC by Alessandro Sagratini
Modified: 2024-03-16 04:04 UTC (History)
3 users (show)

See Also:


Attachments
trivial update of Makefile and distinfo. Also add py-cryptography as dependency (3.47 KB, patch)
2024-03-05 13:56 UTC, Alessandro Sagratini
ale_sagra: maintainer-approval+
Details | Diff
trivial update of Makefile and distinfo (2.69 KB, patch)
2024-03-15 15:12 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-03-05 13:56:59 UTC
Created attachment 248949 [details]
trivial update of Makefile and distinfo. Also add py-cryptography as dependency
Comment 1 Alessandro Sagratini 2024-03-05 13:58:03 UTC
oci-cli changelog: https://github.com/oracle/oci-cli/releases/tag/v3.37.5
Comment 2 Alessandro Sagratini 2024-03-12 11:13:02 UTC
(In reply to Alessandro Sagratini from comment #1)
correct oci-cli changelog: https://github.com/oracle/oci-cli/releases/tag/v3.37.12
Comment 3 Alessandro Sagratini 2024-03-15 08:04:17 UTC
Hello dutra@, did you have a chance to take a look at this? Thank you
Comment 4 Gabriel M. Dutra freebsd_committer freebsd_triage 2024-03-15 13:39:06 UTC
Hi!

Your patch contains dependencies errors.

For example:

${PYTHON_PKGNAMEPREFIX}cryptography<=43.0.0:devel/py-cryptography@${PY_FLAVOR}

The category of the py-cryptography is security and the last version on tree is 42.0.5

This same error exists in the two patches you sent.


I working to fix this.
Comment 5 Gabriel M. Dutra freebsd_committer freebsd_triage 2024-03-15 13:44:09 UTC
The poudriere error:

[150amd64-HEAD] Installing py39-cryptography-42.0.5,1...
[150amd64-HEAD] `-- Installing py39-cffi-1.16.0...
[150amd64-HEAD] |   `-- Installing py39-pycparser-2.21...
[150amd64-HEAD] |   `-- Extracting py39-pycparser-2.21: .......... done
[150amd64-HEAD] `-- Extracting py39-cffi-1.16.0: .......... done
[150amd64-HEAD] Extracting py39-cryptography-42.0.5,1: .......... done
===>   py39-oci-2.124.0 depends on package: py39-cryptography<=43.0.0 - not found
*** Error code 1


Full: https://poudriere.freebsd.bsdutra.me/data/latest-per-pkg/py39-oci/2.124.0/
Comment 6 Gabriel M. Dutra freebsd_committer freebsd_triage 2024-03-15 13:50:55 UTC
You don't need add py-cryptography on RUN_DEPENDS, the definition of this is implicit on USE_PYTHON=cryptography
Comment 7 Alessandro Sagratini 2024-03-15 15:09:05 UTC
(In reply to Gabriel M. Dutra from comment #6)
fair, thanks! Let me upload a patch without the dependency, then
Comment 8 Alessandro Sagratini 2024-03-15 15:12:29 UTC
Created attachment 249193 [details]
trivial update of Makefile and distinfo

updated the patch, thanks!
Comment 9 commit-hook freebsd_committer freebsd_triage 2024-03-16 04:03:18 UTC
A commit in branch main references this bug:

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

commit d6d6b0a30957a7ca545e54e03aa2e5c6448d3fdc
Author:     Alessandro Sagratini <ale_sagra@hotmail.com>
AuthorDate: 2024-03-16 04:00:03 +0000
Commit:     Gabriel M. Dutra <dutra@FreeBSD.org>
CommitDate: 2024-03-16 04:02:03 +0000

    devel/oci-cli: Update to 3.37.12

    PR:             277503
    Approved by:    garga (mentor, implicit), maintainer (implicit)

 devel/oci-cli/Makefile | 4 ++--
 devel/oci-cli/distinfo | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
Comment 10 commit-hook freebsd_committer freebsd_triage 2024-03-16 04:03:20 UTC
A commit in branch main references this bug:

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

commit 1d75b5333a10b45821623151c69d218be975e12e
Author:     Alessandro Sagratini <ale_sagra@hotmail.com>
AuthorDate: 2024-03-16 03:40:57 +0000
Commit:     Gabriel M. Dutra <dutra@FreeBSD.org>
CommitDate: 2024-03-16 04:02:03 +0000

    devel/py-oci: Update to 2.124.0

    changeLog:
    https://github.com/oracle/oci-python-sdk/releases/tag/v2.124.0

    PR:             277503
    Approved by:    garga (mentor, implicit), maintainer (implicit)

 devel/py-oci/Makefile | 2 +-
 devel/py-oci/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 11 Gabriel M. Dutra freebsd_committer freebsd_triage 2024-03-16 04:04:03 UTC
Committed, thanks!