Comments (6)
I have made some changes to the requirements in both Crossbar and Autobahn:
- They both now install eth-abi 4.0.0 instead of 4.0.0-beta.2
- Autobahn installs web3 6.0.0 instead of 6.0.0-beta.9
These changes allow me to install Crossbar and Autobahn using Pip. I have done some basic tests (Run a program that uses Crossbar and performed some WAMP actions) and it seems fine. Are there any specific tests I can run/do to ensure that these changes are suitable?
from crossbar.
@Skully17 awesome! using release versions will improve things hopefully.
sidenote: using those beta versions was required since unfortunately the python ethereum projects use fixed upper bounds on dependencies, and this often leads to conflict with app (like crossbar) depending on more than one direct dependency, which in turn depend on indirect dependencies with conflicting upper bounds. the ethereum python project is "discussing" the issue .. but I needed to make it work now. hence the beta stuff, and other hacks I can't recall now;) anyways, hopefully things will get better with ethereum python deps over time .. it's a major PITA
so I'd like to merge your changes moving to release deps!
Are there any specific tests I can run/do to
testing a full, clean, fresh install of crossbar in a new venv .. if that works, that's good for me! I would merge, then refreeze deps and bump crossbar version, publish on pypi ...
from crossbar.
Confirmed. Having exact same issue.
Attempt to pre-install all deps with requirements-pinned.txt
produces:
#9 109.2 ERROR: Packages installed from PyPI cannot depend on packages which are not also hosted on PyPI.
#9 109.2 autobahn depends on web3[ipfs]@ git+https://github.com/ethereum/web3.py.git#v6.0.0-beta.9#egg=web3
from crossbar.
Apologies for adding a me-too but I am having the same issue with trying to install crossbar from master and for good measure, I tested it on python 3.9 and python 3.11. I see the the same eth-abi version error as in the first error listed in @Skully17 's post.
It appears crossbar depends on eth-abi 4.0.0b2
and crossbar depends on autobahn depends on web3(master) depends on eth-abi 4.0.0
from crossbar.
just noting, there also is #2061 - not sure if there is still a problem, or what exactly would a solution look like. I kinda grew tired of python dependency issues for the time being;)
from crossbar.
one more note: this needs an update then as well https://github.com/crossbario/autobahn-python/blob/01165cf27ada0c246cc23a1e5aac07a6b6839bdc/setup.py#L117 - that should avoid/remove issues that would otherwise result (as crossbar will first install autobahn[xbr] normally, and the latter deps are now - once this update here lands - would be older ..)
from crossbar.
Related Issues (20)
- Incorrect request ID in ERROR message when callee disconnects in-flight
- Harmonize "cancelled" for "canceled" in code and comments
- Internal Error Attempting Rlink Forwarding HOT 1
- AttributeError: module 'crossbar' has no attribute '__version__' HOT 1
- SECURITY: Potential supply chain compromise HOT 2
- Subscriptions And Registration Not Being Forwarded Over RLink On Reconnect Or Late Join HOT 1
- INVOCATION request ID is not session scope
- `wamp.session.kill_by_authrole` does not follow spec
- Add Automated Tests For Crossbar Routers Connected With RLink
- Null session ID in registration/subscription meta events when callee/subscriber leaves HOT 2
- https://crossbar.io/ down HOT 14
- Crossbar container image is too large
- HTTP REST bridge should use Autobahn's binary enabled JSON serializer HOT 11
- Move CI fully to hosted GH runners again
- Slow memory leak in dealer.py
- Add post-quantum crypto (X25519Kyber768) to WAMP authentication (and generally) HOT 1
- Is there any duplication of code in this file ? HOT 1
- callee session killed when caller session lost in flight HOT 7
- High CPU and Low throughput
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crossbar.