Package Details: oci-cli 3.40.2-1

Git Clone URL: https://aur.archlinux.org/oci-cli.git (read-only, click to copy)
Package Base: oci-cli
Description: Command line interface for Oracle Cloud Infrastructure
Upstream URL: https://github.com/oracle/oci-cli
Licenses: Apache-2.0 OR UPL-1.0
Submitter: meanjollies
Maintainer: meanjollies
Last Packager: meanjollies
Votes: 7
Popularity: 0.147156
First Submitted: 2018-07-01 18:08 (UTC)
Last Updated: 2024-05-07 18:54 (UTC)

Latest Comments

1 2 Next › Last »

meanjollies commented on 2024-05-09 22:02 (UTC) (edited on 2024-05-09 22:02 (UTC) by meanjollies)

I'm not sure what your aur command is doing or where it comes from (possibly a helper?), but you need to make sure that the source it's building from is not cached. Clean up any cached build files first. You should be performing a clean build.

hajime commented on 2024-05-09 10:27 (UTC)

I've tryed to done that "Rebuild and install any python 3.11 packages" but when i install package again, that package gose to /urs/lib/python3.11.

Did i miss understand about "Rebuild and install".

could you give me some example command?

this is what I tryed

pacman -R python-circuitbreaker
aur sync python-circuitbreaker --rebuild

meanjollies commented on 2024-05-09 09:42 (UTC)

The other solution is my previous post. Rebuild and install any Python 3.11 packages.

hajime commented on 2024-05-09 09:39 (UTC)

I had same issue.

  • python-circuitbreaker
  • python-terminaltables

both of them installed to /usr/lib/python3.11. but my python version is 3.12.

so ended up with this commands works.

pip install terminaltables
pip install circuitbreaker

I know it's not good. but I could not find other solution.

meanjollies commented on 2024-04-28 17:26 (UTC)

oci-cli appears to work fine with python 3.12. You likely need to rebuild all your python3-based packages from the AUR, including python-oci and oci-cli. Run pacman -Qoq /usr/lib/python3.11. Rebuild and reinstall each package output from that list.

jthvai commented on 2024-04-28 03:57 (UTC) (edited on 2024-04-28 04:01 (UTC) by jthvai)

Edit: oci-cli does not support python 3.12, which is what the python package is now.

A solution may be to explicitly depend on python311, but I'm not sure whether it would play nice with all the rebuilt libraries.


After the python upgrade to 3.12 and many python libraries (239 on my system) being rebuit today, oci now fails with the stack trace below. Might this be an upstream issue?

/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
    return next(cls.discover(name=name))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/oci", line 33, in <module>
    sys.exit(load_entry_point('oci-cli==3.40.0', 'console_scripts', 'oci')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/oci", line 22, in importlib_load_entry_point
    for entry_point in distribution(dist_name).entry_points
                       ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
    return Distribution.from_name(distribution_name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
    raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for oci-cli

meanjollies commented on 2024-03-19 13:52 (UTC)

Are you using an AUR helper that could be mangling the PKGBUILD? If not, you must have modified the PKGBUILD unintentionally. I cannot reproduce this, and can confirm that there are no colons, slashes, or hyphens in pkgver.

laasonen commented on 2024-03-19 12:34 (UTC)

I'm getting this error:

==> Making package: oci-cli 3.37.13-1 (2024-03-19T14:32:11 EET)
==> Retrieving sources...
  -> Downloading oci-cli-3.37.13.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 5110k    0 5110k    0     0  3896k      0 --:--:--  0:00:01 --:--:-- 6772k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    oci-cli-3.37.13.tar.gz ... Passed
==> ERROR: pkgver is not allowed to contain colons, forward slashes, hyphens or whitespace.

meanjollies commented on 2023-02-16 17:40 (UTC)

@Omar007 This should be good now. Oracle re-released 3.23.0 that included changes.

Omar007 commented on 2023-02-16 17:11 (UTC) (edited on 2023-02-16 17:13 (UTC) by Omar007)

I'm getting a checksum mismatch with PKGBUILD at commit 87d381bc16ab (latest as of writing). The sha256sum for oci-cli-3.23.0.tar.gz on my end is 4786d4b0df43a22ff5224664477d2a3c4e8e04bc3815f48ff976cc8eb943794b. Can anyone confirm this mismatch?