-
-
Notifications
You must be signed in to change notification settings - Fork 52
Open
1 / 11 of 1 issue completedLabels
enhancementNew feature or requestNew feature or request
Description
see also: https://peps.python.org/pep-0387/
goal: improve backwards compatibility, while improving Developer experience.
solution
- move deprecated property warnings to setters
- annotate deprecated symbols
- use
DeprecationWarning
instead of warnings. -- DEBATABLE -- see below- requires py8.13
important
we dont have any intention to remove deprecated properties, unless we have a backwards-compatibility layer that guarantees that all supported versions of CycloneDX spec are serializable and deserializable.
implementation
- use for annotation of symbols: https://typing-extensions.readthedocs.io/en/latest/#typing_extensions.deprecated
Sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request