Patch | Description | Author | Forwarded | Bugs | Origin | Last update |
---|---|---|---|---|---|---|
Update-to-Python-3.9.patch | [PATCH] Update to Python 3.9 * Fix SyntaxWarning: "is not" with a literal. Did you mean "!="? * Add py3_array_frombytes() and py3_array_tobytes() to pyipmi.utils. frombytes() and tostring() methods of array.array have been removed from Python 3.9. * Python 3.9 normalizes the encoding name "bcd+" to "bcd". * Replace b'...' with br'...' in two regular expressions. * Add _PY3 private constant to pyipmi.utils. |
Victor Stinner <vstinner@python.org> | no | 2020-01-20 | ||
Fix-SyntaxWarning-is-with-a-literal.-Did-you-mean.patch | [PATCH] Fix SyntaxWarning: "is" with a literal. Did you mean "=="? Commit aca3528d1f1b8ed88e54cbbf2fbfaa0621985224 fixed most syntax warnings, but missed one. |
Benjamin Drung <benjamin.drung@cloud.ionos.com> | yes | 2020-08-28 | ||
Skip-FRU-test-cases-if-FRU-test-file-is-missing.patch | [PATCH] Skip FRU test cases if FRU test file is missing The release tarball does not contain `tests/hpm_bin/firmware.hpm` and `tests/fru_bin/kontron_am4010.bin`. |
Benjamin Drung <benjamin.drung@cloud.ionos.com> | yes | 2020-08-27 | ||
Fix-AttributeError-ByteBuffer-object-has-no-attribut.patch | [PATCH] Fix AttributeError: 'ByteBuffer' object has no attribute 'tobytes' Following Python code fails: ```python interface = pyipmi.interfaces.create_interface(interface='ipmitool', interface_type='lanplus') ipmi = pyipmi.create_connection(interface) ipmi.session.set_session_type_rmcp(host=fqdn, port=port) ipmi.session.set_auth_type_user(username=username, password=password) ipmi.target = pyipmi.Target() ipmi.session.establish() ipmi_info = ipmi.get_device_id() ``` ``` Traceback (most recent call last): File "example.py", line 7 ipmi_info = ipmi.get_device_id() File "pyipmi/bmc.py", line 25, in get_device_id return DeviceId(self.send_message_with_name('GetDeviceId')) File "pyipmi/__init__.py", line 206, in send_message_with_name rsp = self.send_message(req) File "pyipmi/__init__.py", line 190, in send_message rsp = self.interface.send_and_receive(req) File "pyipmi/interfaces/ipmitool.py", line 147, in send_and_receive py3_array_tobytes(req_data)) File "pyipmi/utils.py", line 57, in py3_array_tobytes return msg.tobytes() ``` Add a `ByteBuffer.tobytes` method. `ByteBuffer.tobytes` will only be called if Python's array.array has a `tobytes` method. Therefore the helper `py3_array_tobytes` is not needed. |
Benjamin Drung <benjamin.drung@cloud.ionos.com> | yes | upstream | 2020-09-28 |