Package: python-pykmip / 0.10.0-10
Metadata
| Package | Version | Patches format |
|---|---|---|
| python-pykmip | 0.10.0-10 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| fix exception using py2 format.patch | (download) |
kmip/demos/pie/locate.py |
2 1 + 1 - 0 ! |
fix exception using py2 format |
| Fix_tests_to_pass_with_SQLAlchemy 1.4.0.patch | (download) |
kmip/tests/unit/pie/objects/test_opaque_object.py |
14 7 + 7 - 0 ! |
[patch] fix tests to pass with sqlalchemy>=1.4.0
I'm not *entirely* sure what's going on here, but it seems that when we
do something like
obj = OpaqueObject(...)
Session = sessionmaker(...)
session = Session()
...
session.add(obj)
session.commit()
the primary key (and maybe some foreign relations?) aren't automatically
populated on `obj` following the commit, and will attempt to lazy-load
on next reference. Since expire_on_commit defaults to True, the session
attached to `obj` (which is no longer the `session` in locals!) is closed
out when we later do
session = Session()
get_obj = session.query(OpaqueObject).filter(
ManagedObject.unique_identifier == obj.unique_identifier).one()
leading to a DetachedInstanceError.
|
| py3.12 and 3.13 support.patch | (download) |
docs/source/conf.py |
5 1 + 4 - 0 ! |
add python 3.12 and 3.13 support |
| fix path of load_der_public_key.patch | (download) |
kmip/services/server/crypto/engine.py |
20 16 + 4 - 0 ! |
fix path of load_der_public_key The function load_der_public_key should be used form serialization, not from backend. |
| cryptography_39 support.patch | (download) |
kmip/services/server/crypto/engine.py |
12 6 + 6 - 0 ! |
add cryptography >= 39.0.0 support The cryptography release 39.0.0 added a new parameter to the backend.load_pem_private_key and backend.load_der_private_key that's required. This patch uses the serialization method to load keys because there the new parameter is optional. . https://cryptography.io/en/latest/changelog/#v39-0-0 . This patch fixes the tests test_encrypt_decrypt_asymmetric |
| use assertEqual not assertEquals.patch | (download) |
kmip/tests/unit/core/messages/test_messages.py |
40 20 + 20 - 0 ! |
use assertequal, not assertequals |
| kill broken test.patch | (download) |
kmip/tests/unit/services/server/test_server.py |
42 0 + 42 - 0 ! |
kill broken test |
