Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Please drop pymacaroons-nacl dependency and use pymacaroons >= 0.13 instead #3164

Closed
andrewshadura opened this issue May 1, 2018 · 11 comments
Labels
z-minor (Deprecated Label) z-p2 (Deprecated Label)

Comments

@andrewshadura
Copy link
Contributor

Pymacaroons have switched to nacl recently, so there's no need to depend on pymacaroons-nacl. The upstream pymacaroons should do just fine.

@andrewshadura
Copy link
Contributor Author

Please also see issue #27 in the synapse packaging.

@andrewshadura andrewshadura changed the title Please drop pymacaroons-nacl dependency and use on pymacaroons >= 0.13 instead Please drop pymacaroons-nacl dependency and use pymacaroons >= 0.13 instead May 1, 2018
@neilisfragile neilisfragile added z-p2 (Deprecated Label) z-minor (Deprecated Label) labels May 9, 2018
@richvdh
Copy link
Member

richvdh commented May 12, 2018

Until debian stable ships with pymacaroons 0.13, that's not really a thing we can do :/

@andrewshadura
Copy link
Contributor Author

Hrm, why didn’t you comment on the matter at all? You’re not using Debian’s pymacaroons at all, you’re rolling your own package, so you could just as well ship pymacaroons 0.13 in your repository.

@andrewshadura
Copy link
Contributor Author

And also this bug is not about the Debian packaging. It’s about Synapse, what ships in Debian stable bears no relevance here.

@richvdh
Copy link
Member

richvdh commented May 13, 2018

What ships in debian stable is relevant because if we update synapse to require a particular version of a python package which isn't in debian stable, then we have to package and maintain that python package for debian as well, which is overhead we can do without. There are a whole bunch of things we'd love to upgrade (chiefly Twisted) but have avoided doing so for compatibility with stretch.

However, I hadn't realised we are already shipping our own pymacaroons deb. In that case, as you note, we could just upgrade it.

@richvdh richvdh reopened this May 13, 2018
@andrewshadura
Copy link
Contributor Author

andrewshadura commented May 14, 2018

But you already package and maintain a separate fork of that package, so how is that different from just uploading a package already packaged for Debian stretch into your repository? (I wrote this sentence before I finished reading your message)

Also, is Debian the only supported OS for Synapse? If not, then it should not be relevant for Synapse development as such, since it is a separate issue with packaging… but I see your point of not wanting to diverge too much from what important distributions ship.

@richvdh
Copy link
Member

richvdh commented May 14, 2018

Debian (and Ubuntu, by proxy) is the only distro we ship pacakages for. Others are expected to install via pip.

@richvdh
Copy link
Member

richvdh commented Jun 6, 2018

The main thing stopping me doing this is that I can't face figuring out how to build a deb of a recent python-pymacaroons. If anybody can provide an idiot's guide, this would have a better chance of being fixed...

@andrewshadura
Copy link
Contributor Author

dget -d http://deb.debian.org/debian/pool/main/p/pymacaroons/pymacaroons_0.13.0-1.dsc
cd pymacaroons-0.13.0/
dpkg-buildpackage

🙂

@andrewshadura
Copy link
Contributor Author

andrewshadura commented Jun 7, 2018

Or if you have a bit less generic questions, feel free to ask.

@erikjohnston
Copy link
Member

Fixed in #4399

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
z-minor (Deprecated Label) z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

4 participants