Debian Patches

Status for python-spdx-tools/0.8.3-4

Patch Description Author Forwarded Bugs Origin Last update
0002-issue-839-Drop-support-for-Python-3.7-we-are-long-pa.patch [issue-839] Drop support for Python 3.7 (we are long past its EOL) =?utf-8?q?Armin_T=C3=A4nzer?= <armin.taenzer@tngtech.com> no 2025-04-11
0003-issue-844-Update-excepted-typecheck-error-after-bear.patch [issue-844] Update excepted typecheck error after beartype update =?utf-8?q?Armin_T=C3=A4nzer?= <armin.taenzer@tngtech.com> no 2025-04-11
0004-Small-formatting-fixes-after-black-update.patch Small formatting fixes after black update =?utf-8?q?Armin_T=C3=A4nzer?= <armin.taenzer@tngtech.com> no 2025-04-11
0006-Temporarily-disable-tests-that-need-context.json.patch Temporarily disable tests that need context.json
I need to figure it out first what is the most suitable way to generate that file.
=?utf-8?q?Santiago_Ruano_Rinc=C3=B3n?= <santiagorr@riseup.net> no 2025-10-25
py314-annotations.patch relationship_writer: properly access __annotations__ dict
As of PEP 749 (Python 3.14), it is no longer possible to access
__annotations__ on class instances. __annotations__ is now a descriptor
that is only defined on `type` and not on `object`. Apparently,
accessing __annotations__ on class instances was never supported in the
first place:

> Second, in previous versions of Python it was possible to access the __annotations__ attribute on instances of user-defined classes with annotations. However, this behavior was undocumented and not supported by inspect.get_annotations(), and it cannot be preserved under the PEP 649 framework without bigger changes, such as a new object.__annotations__ descriptor. This behavior change should be called out in porting guides.

Note that making this code call `dataclasses.fields()` to get a list of
fields is probably a better solution here, but I chose the most minimal
change to get this working with Python 3.14. Feel free to close this and
create a new PR if you prefer a different solution.
Maxwell G <maxwell@gtmx.me> yes debian upstream other, https://github.com/spdx/tools-python/pull/858 2026-01-05

All known versions for source package 'python-spdx-tools'

Links