pyvider
2025-02-19
Client Import Removal and Crypto Module
57 files · 1,302+ · 5,472-
Client Import Removal
52 files changed
base.pyUpdated base.py (+1/-9 lines)py_kv_client.pyUpdated py_kv_client.py (+4/-3 lines)test_connection.pyUpdated test_connection.py (+1/-1 lines)client.pyAdded client.py (+37 lines)test_transport_tcp_handle_client.pyAdded test_transport_tcp_handle_client.py (+57 lines)test_transport_unix_handle_client.pyAdded test_transport_unix_handle_client.py (+100 lines).coveragercUpdated .coveragerc (+2/-1 lines)bfiles-20250217-172316.txtRemoved bfiles-20250217-172316.txt (-3657 lines)config.pyUpdated config.py (+1/-1 lines)giblet_pb2_grpc.pyUpdated giblet_pb2_grpc.py (+1/-2 lines)kv-data-testRemoved kv-data-test (-1 lines)kv_pb2_grpc.pyUpdated kv_pb2_grpc.py (+1/-2 lines)kv_protocol.pyUpdated kv_protocol.py (+1/-1 lines)py_kv_server.pyUpdated py_kv_server.py (+2/-2 lines)handshake.pyUpdated handshake.py (+2/-3 lines)emoji.pyRemoved emoji.py (-2 lines)handshake.pyRemoved handshake.py (-1 lines)plog.pyUpdated plog.py (+0/-0 lines)transport.pyRemoved transport.py (-2 lines)protocol.pyUpdated protocol.py (+1/-1 lines)server.pyUpdated server.py (+6/-8 lines)conftest.pyUpdated conftest.py (+1/-214 lines)__init__.pyUpdated __init__.py (+4/-1 lines)dummy.pyAdded dummy.py (+75 lines)mocks.pyAdded mocks.py (+154 lines)server.pyUpdated server.py (+78/-4 lines)transport.pyUpdated transport.py (+11/-43 lines)utils.pyAdded utils.py (+81 lines)test_server.pyRemoved test_server.py (-76 lines)test_server_coverage.pyRemoved test_server_coverage.py (-62 lines)test_server_coverage_extra.pyRemoved test_server_coverage_extra.py (-56 lines)test_server_destructor_cleanup.pyRemoved test_server_destructor_cleanup.py (-17 lines)test_server_handshake.pyUpdated test_server_handshake.py (+3/-4 lines)test_server_lifecycle.pyUpdated test_server_lifecycle.py (+14/-40 lines)test_server_signals.pyUpdated test_server_signals.py (+21/-13 lines)test_server_tls.pyUpdated test_server_tls.py (+14/-13 lines)test_server_transport.pyUpdated test_server_transport.py (+53/-67 lines)test_transport_2.pyUpdated test_transport_2.py (+1/-1 lines)test_transport_tcp_close.pyAdded test_transport_tcp_close.py (+58 lines)test_transport_tcp_connect.pyUpdated test_transport_tcp_connect.py (+40/-6 lines)test_transport_tcp_listen.pyUpdated test_transport_tcp_listen.py (+63/-3 lines)test_transport_tcp.pyRemoved test_transport_tcp.py (-211 lines)test_transport_unix_2.pyRemoved test_transport_unix_2.py (-320 lines)test_transport_unix_3.pyRemoved test_transport_unix_3.py (-304 lines)test_transport_unix.pyUpdated test_transport_unix.py (+7/-297 lines)test_transport_unix_close.pyAdded test_transport_unix_close.py (+129 lines)test_transport_unix_connect.pyAdded test_transport_unix_connect.py (+105 lines)test_transport_unix_listen.pyAdded test_transport_unix_listen.py (+159 lines)tls-check.pyUpdated tls-check.py (+1/-3 lines)types.pyUpdated types.py (+1/-1 lines)unix.pyUpdated unix.py (+1/-1 lines)types.pyUpdated types.py (+1/-1 lines)
- Removed
import timefromclient/base.pyinterface internal1 file
base.py
- Removed
from cryptography.hazmat.primitives import serialization(no longer used directly) interface internal65 files
giblet.protogiblet_pb2.pygiblet_pb2_grpc.py.coveragercbfiles-20250217-172316.txtbase.pyconfig.pycertificate.pyconstants.pydebug.pygenerators.pykv-data-testhandshake.pycrypto.pyemoji.pyhandshake.pyplog.pytransport.pyprotocol.pyserver.pytest_connection.py__init__.pydummy.pyhandshake.pymocks.pyserver.pytransport.py__init__.pykv-go-clientkv-go-serverkv-data-hellokv-data-status__init__.pykv.protokv_pb2.pykv_pb2_grpc.pykv_protocol.pypy_kv_client.pypy_kv_server.pytest_kv_integration.pytest_server.pytest_server_coverage.pytest_server_coverage_extra.pytest_server_destructor_cleanup.pytest_server_handshake.pytest_server_lifecycle.pytest_server_signals.pytest_server_tls.pytest_server_transport.pytest_transport_2.pytest_transport_tcp.pytest_transport_tcp_close.pytest_transport_tcp_connect.pytest_transport_tcp_handle_client.pytest_transport_tcp_listen.pyXtest_transport_unix.pytest_transport_unix.pytest_transport_unix_close.pytest_transport_unix_connect.pytest_transport_unix_handle_client.pytest_transport_unix_listen.pytls-check.pytypes.pyunix.pytypes.py
- Removed
from pyvider.rpcplugin.crypto.generators import generate_keypair(Certificate API handles this) interface behavioral65 files
giblet.protogiblet_pb2.pygiblet_pb2_grpc.py.coveragercbfiles-20250217-172316.txtbase.pyconfig.pycertificate.pyconstants.pydebug.pygenerators.pykv-data-testhandshake.pycrypto.pyemoji.pyhandshake.pyplog.pytransport.pyprotocol.pyserver.pytest_connection.py__init__.pydummy.pyhandshake.pymocks.pyserver.pytransport.py__init__.pykv-go-clientkv-go-serverkv-data-hellokv-data-status__init__.pykv.protokv_pb2.pykv_pb2_grpc.pykv_protocol.pypy_kv_client.pypy_kv_server.pytest_kv_integration.pytest_server.pytest_server_coverage.pytest_server_coverage_extra.pytest_server_destructor_cleanup.pytest_server_handshake.pytest_server_lifecycle.pytest_server_signals.pytest_server_tls.pytest_server_transport.pytest_transport_2.pytest_transport_tcp.pytest_transport_tcp_close.pytest_transport_tcp_connect.pytest_transport_tcp_handle_client.pytest_transport_tcp_listen.pyXtest_transport_unix.pytest_transport_unix.pytest_transport_unix_close.pytest_transport_unix_connect.pytest_transport_unix_handle_client.pytest_transport_unix_listen.pytls-check.pytypes.pyunix.pytypes.py
- Removed
RPCPluginProtocolimport from client interface internal65 files
giblet.protogiblet_pb2.pygiblet_pb2_grpc.py.coveragercbfiles-20250217-172316.txtbase.pyconfig.pycertificate.pyconstants.pydebug.pygenerators.pykv-data-testhandshake.pycrypto.pyemoji.pyhandshake.pyplog.pytransport.pyprotocol.pyserver.pytest_connection.py__init__.pydummy.pyhandshake.pymocks.pyserver.pytransport.py__init__.pykv-go-clientkv-go-serverkv-data-hellokv-data-status__init__.pykv.protokv_pb2.pykv_pb2_grpc.pykv_protocol.pypy_kv_client.pypy_kv_server.pytest_kv_integration.pytest_server.pytest_server_coverage.pytest_server_coverage_extra.pytest_server_destructor_cleanup.pytest_server_handshake.pytest_server_lifecycle.pytest_server_signals.pytest_server_tls.pytest_server_transport.pytest_transport_2.pytest_transport_tcp.pytest_transport_tcp_close.pytest_transport_tcp_connect.pytest_transport_tcp_handle_client.pytest_transport_tcp_listen.pyXtest_transport_unix.pytest_transport_unix.pytest_transport_unix_close.pytest_transport_unix_connect.pytest_transport_unix_handle_client.pytest_transport_unix_listen.pytls-check.pytypes.pyunix.pytypes.py
- Removed unused type imports:
ClientT,RpcConfigType,GrpcCredentialsType,TransportTypedeprecate internal65 files
giblet.protogiblet_pb2.pygiblet_pb2_grpc.py.coveragercbfiles-20250217-172316.txtbase.pyconfig.pycertificate.pyconstants.pydebug.pygenerators.pykv-data-testhandshake.pycrypto.pyemoji.pyhandshake.pyplog.pytransport.pyprotocol.pyserver.pytest_connection.py__init__.pydummy.pyhandshake.pymocks.pyserver.pytransport.py__init__.pykv-go-clientkv-go-serverkv-data-hellokv-data-status__init__.pykv.protokv_pb2.pykv_pb2_grpc.pykv_protocol.pypy_kv_client.pypy_kv_server.pytest_kv_integration.pytest_server.pytest_server_coverage.pytest_server_coverage_extra.pytest_server_destructor_cleanup.pytest_server_handshake.pytest_server_lifecycle.pytest_server_signals.pytest_server_tls.pytest_server_transport.pytest_transport_2.pytest_transport_tcp.pytest_transport_tcp_close.pytest_transport_tcp_connect.pytest_transport_tcp_handle_client.pytest_transport_tcp_listen.pyXtest_transport_unix.pytest_transport_unix.pytest_transport_unix_close.pytest_transport_unix_connect.pytest_transport_unix_handle_client.pytest_transport_unix_listen.pytls-check.pytypes.pyunix.pytypes.py
Crypto Module
5 files changed
certificate.pyRemoved certificate.py (-1 lines)constants.pyRemoved constants.py (-2 lines)debug.pyUpdated debug.py (+2/-7 lines)generators.pyUpdated generators.py (+2/-3 lines)crypto.pyUpdated crypto.py (+6/-4 lines)
- Removed unused
import ipaddressfromcertificate.pydeprecate internal1 file
certificate.py
- Removed unused imports from
crypto/constants.py:Dict,Callable,Union,rsa,ecdeprecate internal1 file
constants.py
- Removed unused imports from
crypto/debug.py:attrs,os,datetime,timedelta,ExtendedKeyUsageOID,logger,Certificate,generate_keypairdeprecate internal1 file
debug.py
- Changed bare
except Exception as etoexcept Exceptionin debug module decouple internal19 files
giblet.protogiblet_pb2.pygiblet_pb2_grpc.pyhandshake.py__init__.pykv-go-clientkv-go-serverkv-data-hellokv-data-status__init__.pykv.protokv_pb2.pykv_pb2_grpc.pykv_protocol.pypy_kv_client.pypy_kv_server.pytest_kv_integration.pytest_transport_tcp.pyXtest_transport_unix.py