Opened 11 years ago

Closed 11 years ago

#12843 closed enhancement (fixed)

Make zeromq and pyzmq optional packages

Reported by: Volker Braun Owned by: tbd
Priority: major Milestone: sage-5.1
Component: packages: optional Keywords: zeromq zmq 0mq pyzmq sd40.5
Cc: Jason Grout, Andrew Fleckenstein, Niles Johnson, Benjamin Jones Merged in:
Authors: Volker Braun, William Stein Reviewers: Benjamin Jones
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges


The single cell server already requires zeromq+pyzmq, and the ordinary notebook server probably will soon. Since they are also useful to work with any kind of distributed memory machines, we should just make them default spkgs. They are also pretty small, about 2MB altogether.

These spkgs are based on version that William created in January 2011, but updated to the newest upstream version and include a SPKG.txt:

Change History (10)

comment:1 Changed 11 years ago by Benjamin Jones

Keywords: sd40.5 added
Reviewers: Benjamin Jones

I started to review the two spkg's. zeromq-2.2.0.p0.spkg installs successfully. I unpacked and re-packaged using sage-pkg without problems. I did see some tmp files lying around:

  • SPKG.txt~
  • spkg-install~

and pyzmq-2.1.11.p0.spkg has:

  • SPKG.txt~

After install import zmq works and I experimented with some simple examples from the ZMQ guide.

If anyone wants to do some simple testing, you can grab the client and server scripts in:, open two terminals and run:

1st terminal:

sage -python

2nd terminal:

sage -python

comment:2 Changed 11 years ago by Volker Braun

I updated the spkg files to remove the backup files and committed changes.

comment:3 Changed 11 years ago by Benjamin Jones

Sorry, looks like we missed in zeromq:

  • .hgignore~

The pyzmq spkg looks good.

What's the procedure, after a positive review? A sage-devel vote on inclusion of the packages as standard?

comment:4 Changed 11 years ago by Jason Grout

First it should optional for some time, usually. So a vote to make it optional would usually be next.

comment:5 Changed 11 years ago by Volker Braun

Status: newneeds_review
Summary: Make zeromq and pyzmq standard packagesMake zeromq and pyzmq optional packages

I updated the zeromq spkg to remove the .hgignore~

I'll change this ticket to say "make optional package" and we can take it to sage-devel from there. We don't need to vote on that, only to make it standard.

comment:6 Changed 11 years ago by Jeroen Demeyer

As long as nothing else in Sage depends on zeromq, obviously zeromq should not be a standard package.

comment:7 Changed 11 years ago by Benjamin Jones

Status: needs_reviewpositive_review

Looks good. Positive review.

comment:8 Changed 11 years ago by Jeroen Demeyer

Component: packagesoptional packages

comment:9 Changed 11 years ago by Harald Schilly

both spkges are in the server's list of optional ones and on their way around the world :)

comment:10 Changed 11 years ago by Jeroen Demeyer

Resolution: fixed
Status: positive_reviewclosed
Note: See TracTickets for help on using tickets.