Package: python-spdx-tools / 0.8.3-5
Metadata
| Package | Version | Patches format |
|---|---|---|
| python-spdx-tools | 0.8.3-5 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 0002 issue 839 Drop support for Python 3.7 we are long pa.patch | (download) |
.github/workflows/check_codestyle.yml |
8 1 + 7 - 0 ! |
[issue-839] drop support for python 3.7 (we are long past its eol) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Armin Tnzer <armin.taenzer@tngtech.com> |
| 0003 issue 844 Update excepted typecheck error after bear.patch | (download) |
src/spdx_tools/common/typing/dataclass_with_properties.py |
4 2 + 2 - 0 ! |
[issue-844] update excepted typecheck error after beartype update MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Armin Tnzer <armin.taenzer@tngtech.com> |
| 0004 Small formatting fixes after black update.patch | (download) |
src/spdx_tools/spdx/parser/jsonlikedict/snippet_parser.py |
2 1 + 1 - 0 ! |
small formatting fixes after black update MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Armin Tnzer <armin.taenzer@tngtech.com> |
| 0006 Temporarily disable tests that need context.json.patch | (download) |
tests/spdx/examples/test_examples.py |
1 1 + 0 - 0 ! |
temporarily disable tests that need context.json I need to figure it out first what is the most suitable way to generate that file. |
| py314 annotations.patch | (download) |
src/spdx_tools/spdx3/writer/console/relationship_writer.py |
2 1 + 1 - 0 ! |
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 |
