-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fedmsg[meta] pulls in pyzmq #496
Comments
I don't object to this, but sadly it will likely require breaking APIs. The reason is fedmsg requires
|
Thanks Jeremy for the pointer to |
Jeremy, with the upcoming fedmsg changes from ZeroMQ to AMQP, do you think we could make fedmsg[meta] avoid pulling in any particular transport library? |
The plan is to kill fedmsg and fedmsg[meta] completely and replace it with https://github.com/fedora-infra/fedora-messaging, so that's certainly possible. The idea is to replace fedmsg[meta] with per-project Python packages that contain schema along with Python APIs to work with the message. To write one of these classes, you need to import I guess the question is, how much of this stuff does RH want to use? If AMQP isn't used, fedora-messaging doesn't make sense to use. I guess the only real bit of interest from it is the message schema and the Python APIs? @abompard, any thoughts here? |
What exactly is a transport library? Because If we want to let people use the schema definitions without forcing the installation of I'm not certain what the requirement is here. |
It means pika. I do wonder if it's worthwhile, and it's difficult to say since I don't know what's going to be used or not used. Just the schema? If that turns out to be the case, it's not difficult to break the message-related classes out into their own package and re-import them in |
It would be nice to make
pip install fedmsg[meta]
avoid pulling in pyzmq. On first glance I don't see what would require it.The text was updated successfully, but these errors were encountered: