c1933306ddd8df09185c5d32ff2603d826d4ad5a
Python3 has deprecated inspect.getargspec(), which our fixture uses to provide fingerprinting for remotable methods. Since the hashesh for those methods are stored in the wild and are used to detect when objects change in incompatible ways, it is desirable to avoid having to change all stored hashes when a library adopts the newer method. This change attempts to use the older spec format when possible to avoid needless hash changes, and opts for the newer one when necessary to represent some newer feature. Changing hashes when adding such a feature to a remotable method is implied anyway, so getting the newer one based on the newer method is expected. Change-Id: I84b4ce9c95d6ab86c58f8d797dba28201c1f1668
Team and repository tags
oslo.versionedobjects
The oslo.versionedobjects library provides a generic versioned object model that is RPC-friendly, with inbuilt serialization, field typing, and remotable method calls. It can be used to define a data model within a project independent of external APIs or database schema for the purposes of providing upgrade compatibility across distributed services.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.versionedobjects/latest
- Source: http://opendev.org/openstack/oslo.versionedobjects
- Bugs: http://bugs.launchpad.net/oslo.versionedobjects
- Release notes: https://docs.openstack.org/releasenotes/oslo.versionedobjects/
Description
Languages
Python
100%