Repository navigation
Conversation
|
GOOD TO GO at |
#2515) #2631 added DTLSCIDCiphertext (data and schema) and the TLS ConnectionId extension data to their submodules' __all__ but not to the packages, so test_every_package_reexports_every_child_export failed on main. - data.application: DTLS_CIDCiphertext, TLS_ConnectionId - schema.application: DTLS_CIDCiphertext - data and schema aggregators list the same names in __all__ Aliases follow the <protocol>_<name> form the siblings use (DTLS_Ciphertext, TLS_ExtensionData). The test is not tier-gated; it fails on 3.14 as well, and passes on 3.14 and 3.15 with this change.
4992765 to
63e4848
Compare
|
Rebased onto On the old head, the only failure on |
|
Coverage: 94.08% (unit tier, Python 3.15,
Per-file detail: the |
make pylint,make mypy,make isort)make testpasses, and a test case covers the changeWhat is the purpose of your pull request?
fix— a bug fixDescription of your pull request and other information
mainfailstests/protocols/test_package_reexports_1807_unit.pyon every Python. It shows on thePython 3.15leg, and fails locally on 3.14 as well. #2631 addedDTLSCIDCiphertext(data and schema) andConnectionId(data) to their submodules'__all__without re-exporting them from the application packages.This adds the package re-exports under the aliases the siblings use,
DTLS_CIDCiphertextandTLS_ConnectionId, plus the matching__all__entries inpcapkit.protocols.dataandpcapkit.protocols.schema. The re-export test passes on 3.14 and 3.15, as do the public-API,__all__-export, layer-grouping and moved-name guards. It is 9 lines across 4__init__.pyfiles.