Skip to contentSkip to conversation

package/python-referencing: select package/python-typing-extensions

Buildroot Julien Olivain 1 participant 1 message Feb 28, 2025

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=0586ee6cba7411b2d1f6635cdfe36ab8fac791d7
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/next

The referencing module requires either Python >= 3.13 or typing-extensions, otherwise import fails. The dependency was added with 0.36.0, and to Buildroot with commit 94cf596d76 "package/python-referencing: bump to version 0.36.1".

Initial change requiring Python >= 3.13:
https://github.com/python-jsonschema/referencing/commit/5ea5a1539378f80caa9d6969849ee61667cb7252
Fix to support earlier Python versions with typing-extensions:
https://github.com/python-jsonschema/referencing/commit/71cbd0008d02c5a320176dab2da046aa0d20a6e9

---
 package/python-referencing/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-referencing/Config.in +1 -0
index 273c42543e..3a8dc49b2a 100644
@@ -3,6 +3,7 @@ config BR2_PACKAGE_PYTHON_REFERENCING
 	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-rpds-py
 	select BR2_PACKAGE_PYTHON_ATTRS # runtime
 	select BR2_PACKAGE_PYTHON_RPDS_PY # runtime
+	select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime, with Python < 3.13
 	help
 	  JSON Referencing + Python.
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot