Skip to contentSkip to conversation

package/python-django: add missing python-zlib 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-django: add missing python-zlib runtime dependency

Tree django core files are using "import zlib" and requires BR2_PACKAGE_PYTHON3_ZLIB to be enabled.

django/core/cache/backends/filebased.py:import zlib django/core/files/images.py:import zlib django/core/signing.py:import zlib

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

---
 package/python-django/Config.in | 1 +
 1 file changed, 1 insertion(+)
package/python-django/Config.in +1 -0
index 5830cadc93..c236a6dc0b 100644
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PYTHON_DJANGO
 	bool "python-django"
 	select BR2_PACKAGE_PYTHON3_UNICODEDATA
 	select BR2_PACKAGE_PYTHON3_PYEXPAT
+	select BR2_PACKAGE_PYTHON3_ZLIB # runtime
 	select BR2_PACKAGE_PYTHON_ASGIREF # runtime
 	select BR2_PACKAGE_PYTHON_SQLPARSE # runtime
 	help
Signature · 6 lines
2.34.3

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

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

Tree django core files are using "import zlib" and requires BR2_PACKAGE_PYTHON3_ZLIB to be enabled.

Quoted 8 lines

django/core/cache/backends/filebased.py:import zlib django/core/files/images.py:import zlib django/core/signing.py:import zlib

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

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 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Tree django core files are using "import zlib" and requires BR2_PACKAGE_PYTHON3_ZLIB to be enabled.

Quoted 8 lines

django/core/cache/backends/filebased.py:import zlib django/core/files/images.py:import zlib django/core/signing.py:import zlib

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

Committed to 2023.02.x, thanks.

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