Skip to contentSkip to conversation

New: python-crossbar fails to build

Buildroot [email protected] 1 participant 6 messages Jan 27, 2022 – Aug 8, 2022

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=14556

Bug ID: 14556
Summary: python-crossbar fails to build
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---

The buildroot crossbar package does not work in the latest release/head of buildroot. After two days of playing dependency whac-a-mole, I've been able to make it work again with the following steps:

1. Remove the package-crossbar/0002-Remove-idna-requirement.patch and replace it with another patch which does the following:

- Change the idna requirement to >=2.5,<4 to match that of the Requests v2.27.1 package included with the latest buildroot. The idna v3.3 package is the one currently bundled with buildroot.

- Change the urllib3 requirement to >=1.21.1,<1.27 to match that of the Requests v2.27.1 package included with the latest buildroot. The urllib3 v1.26.8 package is the one currently bundled with buildroot.

- Remove the importlib-resources>=4.1.1 requirement. The importlib-resources 5.0 features have been merged into the CPython 3.10 included with the latest buildroot.

2. Generate a new python-zlmdb package via utility/scanpypi. scanpypi fails before terminating, but it generates a viable python-zlmdb package nonetheless.

3. Add a patch for the new python-zlmdb package which removes pytest-runner from the setup-requirements in setup.py.

4. Bump buildroot's python-pyopenssl version to 21.0.0.

5. Bump buildroot's python-snappy version to 0.6.0.

6. Bump buildroot's python-trek version to 21.5.0.

7. Add these missing dependencies in python-crossbar/Config.in: bcrypt, cffi, colorama, wsaccel, zlmdb, argon_cffi, cbor2, flatbuffers, msgpack, snappy, ujson

I will submit a patch with the above changes, but I first need some time to familiarize myself with your submission conventions.

(Cross-posted to https://github.com/crossbario/crossbar/issues/1936)

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

[Buildroot] [Bug 14556] python-crossbar fails to build

https://bugs.busybox.net/show_bug.cgi?id=14556

--- Comment #1 from Emile Cormier <[email protected]> --- I can launch Crossbar with the changes I made in my personal fork:
https://github.com/ecorm/buildroot/tree/issue-14556-crossbar

I will submit a patch once I confirm Crossbar works with our (proprietary) app.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

[Buildroot] [Bug 14556] python-crossbar fails to build

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=14556

--- Comment #2 from Emile Cormier <[email protected]> --- Submitted patch set starting with:

https://lists.buildroot.org/pipermail/buildroot/2022-April/640097.html

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

[Buildroot] [Bug 14556] python-crossbar fails to build

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=14556

--- Comment #3 from Emile Cormier <[email protected]> --- Submitted patch originated from my more recent fork on GitHub:

https://github.com/ecorm/buildroot/tree/bump-crossbar

Due to some Python packages having been bumped since I first starting working on this bug, the submitted patch does not correspond directly to the steps described in my original post in this bug report.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw

[Buildroot] [Bug 14556] python-crossbar fails to build

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=14556

--- Comment #4 from Emile Cormier <[email protected]> --- Created attachment 9266
--> https://bugs.busybox.net/attachment.cgi?id=9266&action=edit
Simple tests

Python commands issued via the command line, as well as their outputs. Not exhaustive, but at least demonstrates that the affected Python modules can still be imported and used.

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

[Buildroot] [Bug 14556] python-crossbar fails to build

In reply to [email protected]

https://bugs.busybox.net/show_bug.cgi?id=14556

Thomas Petazzoni <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Thomas Petazzoni <[email protected]> --- Fixed by
https://git.buildroot.org/buildroot/commit/?id=bfafb08c62a214fc24f6f33ce4c0b18ad6f67dfd.
Thanks!

Signature · 6 lines
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot