Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Missing dependency on sseclient

Đang mở
#655 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
build-system, testing-qa

Hướng nghiên cứu

Bắt đầu với tests/conftest.py và đường dẫn import qua oci/base_client.py, sau đó kiểm tra cấu hình package để xác định các dependency đã khai báo. Chạy lại lệnh pytest được nêu trong báo cáo khi chưa cài đặt sseclient; được xem là hoàn tất khi test suite có thể import oci mà không gặp ModuleNotFoundError.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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'
Ngôn ngữ chính
Python
Star
474
Fork
321
Merge trung bình
25 phút
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của oracle/oci-python-sdk

Tất cả issue của oracle/oci-python-sdk

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.