Skip to content

Wrong dependency when installing OCI using brew #910

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pioro opened this issue Feb 18, 2025 · 3 comments
Open

Wrong dependency when installing OCI using brew #910

pioro opened this issue Feb 18, 2025 · 3 comments

Comments

@pioro
Copy link

pioro commented Feb 18, 2025

Hello,

I installed OCI command using brew as recommended for OSX ( Intel ) but it is generating this error message

$ oci
/usr/local/Cellar/oci-cli/3.51.7/libexec/lib/python3.13/site-packages/oci_cli/cli_util.py:1126: SyntaxWarning: invalid escape sequence '\['
  list_type = {'module': complex_type_definition['module'], 'class': re.match('list\[(.*)\]', complex_type_definition['class']).group(1)}  # noqa: W605

I found similar error was reported and issue was closed with comment that only Python up to 3.11 is supported.

But if you will run brew info command, you can see that OCI-CLI depends on the Python 3.13

$ brew info oci-cli
==> oci-cli: stable 3.51.7 (bottled), HEAD
Oracle Cloud Infrastructure CLI
https://docs.cloud.oracle.com/iaas/Content/API/Concepts/cliconcepts.htm
Installed
/usr/local/Cellar/oci-cli/3.51.7 (36,368 files, 414.4MB) *
  Poured from bottle using the formulae.brew.sh API on 2025-02-18 at 09:47:41
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/o/oci-cli.rb
License: UPL-1.0 OR Apache-2.0
==> Dependencies
Required: certifi ✔, cryptography ✘, libyaml ✔, [email protected] ✘
==> Options
--HEAD
	Install HEAD version
==> Analytics
install: 3,798 (30 days), 8,787 (90 days), 36,853 (365 days)
install-on-request: 3,796 (30 days), 8,780 (90 days), 36,789 (365 days)
build-error: 3 (30 days)

I manage to switch my global ( system ) Python version to 3.11 but it will be nice to have a proper dependency for brew

regards,
Marcin

@karthik-k-kamath
Copy link
Member

Thank Marcin, we plan to add support for Python 3.13 soon.
I will share the dates ones finalised

@ViniciusBastosTR
Copy link

@karthik-k-kamath any news?

@karthik-k-kamath
Copy link
Member

Planned to be tentatively available by July 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants