Skip to contentSkip to conversation

package/python-flask-restx: add missing depends on

PATCH In review Thomas Petazzoni via buildroot 2 participants 2 messages May 28, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-flask-restx: add missing depends on

Since the package was introduced in commit 02de34989560b40a963fa13dddfb4714470fec25, it selects BR2_PACKAGE_PYTHON_JSONSCHEMA without taking care of its dependencies, causing the following warning:

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_JSONSCHEMA
Depends on [n]: BR2_PACKAGE_PYTHON3 [=y] && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n] Selected by [y]:
- BR2_PACKAGE_PYTHON_FLASK_RESTX [=y] && BR2_PACKAGE_PYTHON3 [=y]

Fix this by adding the missing depends on.

---
 package/python-flask-restx/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-flask-restx/Config.in +1 -0
index 4906869a38..ec5b3283bd 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_FLASK_RESTX
 	bool "python-flask-restx"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-jsonschema
 	select BR2_PACKAGE_PYTHON_ANISO8601 # runtime
 	select BR2_PACKAGE_PYTHON_FLASK # runtime
 	select BR2_PACKAGE_PYTHON_JSONSCHEMA # runtime
Signature · 6 lines
2.49.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni via buildroot <[email protected]> writes:

Since the package was introduced in commit 02de34989560b40a963fa13dddfb4714470fec25, it selects BR2_PACKAGE_PYTHON_JSONSCHEMA without taking care of its dependencies, causing the following warning:

Quoted 8 lines

WARNING: unmet direct dependencies detected for BR2_PACKAGE_PYTHON_JSONSCHEMA
Depends on [n]: BR2_PACKAGE_PYTHON3 [=y] && BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS [=n] Selected by [y]:
- BR2_PACKAGE_PYTHON_FLASK_RESTX [=y] && BR2_PACKAGE_PYTHON3 [=y]

Fix this by adding the missing depends on.

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot