oracle / oracle/oci-python-sdk
Missing dependency on sseclient
Open
Nobody has claimed this yet.
SDK
- Dominant language
- Python
- Stars
- 474
- Forks
- 321
- Avg merge
- 23m
- Merged PRs (30d)
- 4
Description
Without sseclient installed on the system (which is not requirement anywhere in the configuration file for the package) the test suite fails:
[ 102s] + pytest-3.10 --ignore=_build.python310 --ignore=_build.python312 --ignore=_build.python311 -v tests/unit tests/integ -s -rs
[ 102s] ImportError while loading conftest '/home/abuild/rpmbuild/BUILD/oci-python-sdk-2.127.0/tests/conftest.py'.
[ 102s] tests/conftest.py:7: in <module>
[ 102s] import oci
[ 102s] ../../BUILDROOT/python-oci-sdk-2.127.0-147.1.x86_64/usr/lib/python3.10/site-packages/oci/__init__.py:5: in <module>
[ 102s] from . import auth, config, constants, decorators, exceptions, regions, pagination, retry, fips, circuit_breaker, alloy
[ 102s] ../../BUILDROOT/python-oci-sdk-2.127.0-147.1.x86_64/usr/lib/python3.10/site-packages/oci/pagination/__init__.py:5: in <module>
[ 102s] from .pagination_utils import list_call_get_all_results, list_call_get_up_to_limit, list_call_get_all_results_generator, list_call_get_up_to_limit_generator
[ 102s] ../../BUILDROOT/python-oci-sdk-2.127.0-147.1.x86_64/usr/lib/python3.10/site-packages/oci/pagination/pagination_utils.py:5: in <module>
[ 102s] from .. import dns, object_storage
[ 102s] ../../BUILDROOT/python-oci-sdk-2.127.0-147.1.x86_64/usr/lib/python3.10/site-packages/oci/dns/__init__.py:10: in <module>
[ 102s] from .dns_client import DnsClient
[ 102s] ../../BUILDROOT/python-oci-sdk-2.127.0-147.1.x86_64/usr/lib/python3.10/site-packages/oci/dns/dns_client.py:13: in <module>
[ 102s] from oci.base_client import BaseClient
[ 102s] ../../BUILDROOT/python-oci-sdk-2.127.0-147.1.x86_64/usr/lib/python3.10/site-packages/oci/base_client.py:23: in <module>
[ 102s] import requests, six, urllib3, sseclient
[ 102s] E ModuleNotFoundError: No module named 'sseclient'
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 with tests/conftest.py and the import path through oci/base_client.py, then inspect the package configuration for declared dependencies. Re-run the pytest command shown in the report without sseclient installed; done means the test suite can import oci without ModuleNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system, testing-qa
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100