With OCI CLI 3.22.5, 'yum install python36-oci-cli' fails on Oracle Linux 7 with 'Requires: python36-oci-sdk = 2.91.0'
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 669
- Forks
- 236
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
We are on Oracle Linux 7.9, and everything was working fine till OCI CLI release 3.22.4. Come 7th of February 2023 when 3.22.5 was released the Yum install started to fail. Looking further into the messages showed the new version had a dependency on OCI SDK being on a minimum version of 2.91.0. This version is not available on Linux 7.9.
Question: Thos docs don't mention this issue. Was something overlooked in regression?
Loaded plugins: langpacks, ulninfo, versionlock
Excluding 7 updates due to versionlock (use "yum versionlock status" to show them)
Resolving Dependencies
--> Running transaction check
---> Package python36-oci-cli.noarch 0:3.22.5-1.el7 will be installed
--> Processing Dependency: python36-jmespath = 0.10.0 for package: python36-oci-cli-3.22.5-1.el7.noarch
--> Processing Dependency: python36-oci-sdk = 2.91.0 for package: python36-oci-cli-3.22.5-1.el7.noarch
--> Processing Dependency: python36-prompt-toolkit = 3.0.29 for package: python36-oci-cli-3.22.5-1.el7.noarch
--> Processing Dependency: python36-terminaltables = 3.1.0 for package: python36-oci-cli-3.22.5-1.el7.noarch
--> Processing Dependency: python36-pyyaml < 6 for package: python36-oci-cli-3.22.5-1.el7.noarch
--> Processing Dependency: python36-arrow >= 1.0.0 for package: python36-oci-cli-3.22.5-1.el7.noarch
--> Processing Dependency: python36-pyyaml >= 5.4 for package: python36-oci-cli-3.22.5-1.el7.noarch
--> Running transaction check
---> Package python3-jmespath.noarch 0:0.10.0-1.el7 will be installed
---> Package python3-prompt-toolkit.noarch 0:3.0.29-1.0.2.el7 will be installed
--> Processing Dependency: python36-wcwidth for package: python3-prompt-toolkit-3.0.29-1.0.2.el7.noarch
---> Package python36-arrow.noarch 0:1.1.1-1.el7 will be installed
--> Processing Dependency: python36-dateutil >= 2.7.0 for package: python36-arrow-1.1.1-1.el7.noarch
--> Processing Dependency: python36-typing-extensions for package: python36-arrow-1.1.1-1.el7.noarch
---> Package python36-oci-cli.noarch 0:3.22.5-1.el7 will be installed
--> Processing Dependency: python36-oci-sdk = 2.91.0 for package: python36-oci-cli-3.22.5-1.el7.noarch
---> Package python36-pyyaml.x86_64 0:5.4.1-1.0.1.el7 will be installed
---> Package python36-terminaltables.noarch 0:3.1.0-1.0.1.el7 will be installed
--> Running transaction check
---> Package python36-dateutil.noarch 1:2.7.5-1.0.1.el7 will be installed
---> Package python36-oci-cli.noarch 0:3.22.5-1.el7 will be installed
--> Processing Dependency: python36-oci-sdk = 2.91.0 for package: python36-oci-cli-3.22.5-1.el7.noarch
---> Package python36-typing-extensions.noarch 0:3.7.4.2-1.el7 will be installed
---> Package python36-wcwidth.noarch 0:0.2.5-1.el7 will be installed
--> Finished Dependency Resolution
Error: Package: python36-oci-cli-3.22.5-1.el7.noarch (ol7_developer)
Requires: python36-oci-sdk = 2.91.0
Available: python36-oci-sdk-2.10.3-1.0.1.el7.x86_64 (ol7_developer)
python36-oci-sdk = 2.10.3-1.0.1.el7
...
Available: python36-oci-sdk-2.90.3-1.el7.x86_64 (ol7_developer)
python36-oci-sdk = 2.90.3-1.el7
Available: python36-oci-sdk-2.90.4-1.el7.x86_64 (ol7_addons)
python36-oci-sdk = 2.90.4-1.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest```
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the yum install of python36-oci-cli-3.22.5-1.el7 on Oracle Linux 7.9 and inspect its python36-oci-sdk dependency against the ol7_developer and ol7_addons repositories. Compare the available SDK versions with the package requirement; done means the reported installation failure is resolved or the Oracle Linux 7 compatibility limitation is clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 43/100