You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been using the spdx-3-prototype branch to generate SBOMs, and it has worked well. However after pulling in the last ~2 weeks of commits, whenever I run my code to generate a SBOM document, I get flooded with these warnings:
/Users/williamarmiros/software-projects/local-app/.venv/lib/python3.10/site-packages/beartype/_util/hint/pep/utilpeptest.py:347: BeartypeDecorHintPep585DeprecationWarning: PEP 484 type hint typing.List[spdx_tools.spdx3.model.external_map.ExternalMap] deprecated by PEP 585. This hint is scheduled for removal in the first Python version released after October 5th, 2025. To resolve this, import this hint from "beartype.typing" rather than "typing". For further commentary and alternatives, see also:
https://beartype.readthedocs.io/en/latest/api_roar/#pep-585-deprecations
warn(
/Users/williamarmiros/software-projects/local-app/.venv/lib/python3.10/site-packages/beartype/_util/hint/pep/utilpeptest.py:347: BeartypeDecorHintPep585DeprecationWarning: PEP 484 type hint typing.List[spdx_tools.spdx3.model.licensing.any_license_info.AnyLicenseInfo] deprecated by PEP 585. This hint is scheduled for removal in the first Python version released after October 5th, 2025. To resolve this, import this hint from "beartype.typing" rather than "typing". For further commentary and alternatives, see also:
https://beartype.readthedocs.io/en/latest/api_roar/#pep-585-deprecations
warn(
/Users/williamarmiros/software-projects/local-app/.venv/lib/python3.10/site-packages/beartype/_util/hint/pep/utilpeptest.py:347: BeartypeDecorHintPep585DeprecationWarning: PEP 484 type hint typing.List[spdx_tools.spdx3.model.software.software_purpose.SoftwarePurpose] deprecated by PEP 585. This hint is scheduled for removal in the first Python version released after October 5th, 2025. To resolve this, import this hint from "beartype.typing" rather than "typing". For further commentary and alternatives, see also:
https://beartype.readthedocs.io/en/latest/api_roar/#pep-585-deprecations
warn(
...
I tried following these instructions from beartype but it didn't work, just wanted to raise it in case you all weren't aware of this behavior change.
The text was updated successfully, but these errors were encountered:
I have been using the
spdx-3-prototype
branch to generate SBOMs, and it has worked well. However after pulling in the last ~2 weeks of commits, whenever I run my code to generate a SBOM document, I get flooded with these warnings:I tried following these instructions from beartype but it didn't work, just wanted to raise it in case you all weren't aware of this behavior change.
The text was updated successfully, but these errors were encountered: