Opened 4 years ago
Last modified 4 years ago
#60974 new request
py-crossbar
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-crossbar |
Description
I'd like to try setting up our buildbot in a multiple master configuration but this requires the python module crossbar for which we don't have a port yet.
Change History (7)
comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Type: | submission → request |
---|
comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Port: | py-crossbar added; crossbar removed |
---|---|
Summary: | crossbar → py-crossbar |
comment:3 follow-up: 4 Changed 4 years ago by herbygillot (Herby Gillot)
comment:4 follow-up: 5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Thanks.
And I should say that I'm not certain whether the port should be "crossbar" or "py-crossbar". I think crossbar is a type of local server process that buildbot would connect to, in which case maybe "crossbar" is correct. But if it also provides modules others are expected to use, then maybe "py-crossbar" is correct.
comment:5 Changed 4 years ago by herbygillot (Herby Gillot)
Replying to ryandesign:
Thanks.
And I should say that I'm not certain whether the port should be "crossbar" or "py-crossbar". I think crossbar is a type of local server process that buildbot would connect to, in which case maybe "crossbar" is correct. But if it also provides modules others are expected to use, then maybe "py-crossbar" is correct.
Makes sense and noted.
comment:6 Changed 4 years ago by herbygillot (Herby Gillot)
So after py-zlmdb
( https://github.com/macports/macports-ports/pull/8088 ), we may be ready to attempt a port for crossbar
.
Here are the Python lib dependencies that crossbar relies on, as far as I can tell:
# Use pipdeptree to get the dependencies of crossbar and output in JSON format, then dice with jq $ pipenv run pipdeptree -p crossbar --json | jq -r '. | map(select(.package.key == "crossbar")) | .[0].dependencies | map( .package_name ) | .[] ' | sort attrs autobahn bcrypt bitstring cbor click constantly cryptography h2 idna incremental jinja2 lmdb mistune netaddr passlib priority psutil py-ubjson pyasn1 pyasn1-modules pygments pynacl pyopenssl pyqrcode pytrie pyyaml sdnotify service-identity setproctitle setuptools treq txaio txtorcon u-msgpack-python urllib3 watchdog werkzeug zlmdb zope.interface
Minus zlmdb
, MacPorts now seems to have everything - no idea how well this will work but we'll see.
No guarantees on tackling this, but
crossbar
has a number of Python dependencies that are currently not in ports.Attempting to add some of them, and will edit this comment as the PRs are added:
Libraries already in ports but aren't up to the required version:
autobahn
has a bunch of runtime requirements, adding deps as discovered: