Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Missing dependency on sseclient

未关闭
#655 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
python

调研方向

从 tests/conftest.py 和经过 oci/base_client.py 的导入路径开始,然后检查包配置中声明的依赖项。未安装 sseclient 的情况下,重新运行报告中显示的 pytest 命令;当测试套件能够在不出现 ModuleNotFoundError 的情况下导入 oci 时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

SDK

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'
主要语言
Python
星标
473
派生
322
平均合并
13 分钟
30 天内合并 PR
4

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

oracle/oci-python-sdk 的其他 Issue

查看 oracle/oci-python-sdk 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。