Failure to run autopkgtest with python3.14

Đang mở
#2,028 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
testing

Hướng nghiên cứu

Reproduce the failure with the shown Python 3.14 import command and inspect ola/rpc/Rpc_pb2.py together with the protobuf runtime imports in the traceback. Identify the compatibility problem, then verify that the ClientWrapper import succeeds and the Debian autopkgtest passes under Python 3.14.

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

Mô tả

bug Language-Python OpSys-Linux

Debian unstable/testing recently added python3.14.

This causes the following error:

root@bf69505d7d74:~# python3.14 -c "from ola.ClientWrapper import ClientWrapper; print(ClientWrapper)"
TypeError: Metaclasses with custom tp_new are not supported.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
    from ola.ClientWrapper import ClientWrapper; print(ClientWrapper)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/ola/ClientWrapper.py", line 29, in <module>
    from ola.OlaClient import OlaClient
  File "/usr/lib/python3/dist-packages/ola/OlaClient.py", line 24, in <module>
    from ola.rpc.StreamRpcChannel import StreamRpcChannel
  File "/usr/lib/python3/dist-packages/ola/rpc/StreamRpcChannel.py", line 23, in <module>
    from ola.rpc import Rpc_pb2
  File "/usr/lib/python3/dist-packages/ola/rpc/Rpc_pb2.py", line 5, in <module>
    from google.protobuf.internal import builder as _builder
  File "/usr/lib/python3/dist-packages/google/protobuf/internal/builder.py", line 42, in <module>
    from google.protobuf import reflection as _reflection
  File "/usr/lib/python3/dist-packages/google/protobuf/reflection.py", line 51, in <module>
    from google.protobuf import message_factory
  File "/usr/lib/python3/dist-packages/google/protobuf/message_factory.py", line 42, in <module>
    from google.protobuf.internal import api_implementation
  File "/usr/lib/python3/dist-packages/google/protobuf/internal/api_implementation.py", line 104, in <module>
    from google.protobuf.pyext import _message
SystemError: <built-in function __import__> returned a result with an exception set

My python skills are not advanced enough to resolve this...

Ngôn ngữ chính
C++
Star
773
Fork
233
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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 OpenLightingProject/ola

Tất cả issue của OpenLightingProject/ola

Issue tương tự

Thêm issue về C++

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.