Skip to contentSkip to conversation

package/python-can: add missing setuptools runtime dependency

PATCH In review Romain Naour 2 participants 3 messages May 26, 2023 – May 29, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/python-can: add missing setuptools runtime dependency

The commit [1] removed setuptools from runtime dependencies "Drop spurious setuptools runtime dependency.". Since then the test TestPythonPy3Can fail with the following error:

ModuleNotFoundError: No module named 'pkg_resources'

Add back setuptools to provide "pkg_resources".

Fixes
https://gitlab.com/buildroot.org/buildroot/-/jobs/4322819285

[1] 09c966af735ca53b447f52965d123c21e43ae522

---
 package/python-can/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-can/Config.in +1 -0
index 5d21e29d88..68a9ffca71 100644
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_PYTHON_CAN
 	bool "python-can"
+	select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime
 	select BR2_PACKAGE_PYTHON3_SQLITE # runtime
 	select BR2_PACKAGE_PYTHON_AENUM # runtime
 	select BR2_PACKAGE_PYTHON_MSGPACK # runtime
Signature · 6 lines
2.34.3

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

"Romain" == Romain Naour <[email protected]> writes:

The commit [1] removed setuptools from runtime dependencies "Drop spurious setuptools runtime dependency.". Since then the test TestPythonPy3Can fail with the following error:

ModuleNotFoundError: No module named 'pkg_resources'

Quoted 8 lines

Add back setuptools to provide "pkg_resources".

Fixes
https://gitlab.com/buildroot.org/buildroot/-/jobs/4322819285

[1] 09c966af735ca53b447f52965d123c21e43ae522

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Romain Naour
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Romain" == Romain Naour <[email protected]> writes:

The commit [1] removed setuptools from runtime dependencies "Drop spurious setuptools runtime dependency.". Since then the test TestPythonPy3Can fail with the following error:

ModuleNotFoundError: No module named 'pkg_resources'

Quoted 8 lines

Add back setuptools to provide "pkg_resources".

Fixes
https://gitlab.com/buildroot.org/buildroot/-/jobs/4322819285

[1] 09c966af735ca53b447f52965d123c21e43ae522

Committed to 2023.02.x, thanks.

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