Răsfoiți Sursa

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

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

Signed-off-by: Fiona Klute (WIWA) <fiona.klute@gmx.de>
Signed-off-by: Julien Olivain <ju.o@free.fr>
Fiona Klute (WIWA) 5 luni în urmă
părinte
comite
0586ee6cba
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  1. 1 0
      package/python-referencing/Config.in

+ 1 - 0
package/python-referencing/Config.in

@@ -3,6 +3,7 @@ config BR2_PACKAGE_PYTHON_REFERENCING
 	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-rpds-py
 	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-rpds-py
 	select BR2_PACKAGE_PYTHON_ATTRS # runtime
 	select BR2_PACKAGE_PYTHON_ATTRS # runtime
 	select BR2_PACKAGE_PYTHON_RPDS_PY # runtime
 	select BR2_PACKAGE_PYTHON_RPDS_PY # runtime
+	select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime, with Python < 3.13
 	help
 	help
 	  JSON Referencing + Python.
 	  JSON Referencing + Python.