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

Bump Twisted Dependency to 17.1.0 #1909

Closed
wants to merge 1 commit into from
Closed

Conversation

alejzeis
Copy link

This solves #1002

I've tested it with the new bump and doesn't appear to break anything. It fixes the IPv6 name resolution error, so federations now work with IPv6 homeservers (or dual-stack, like mine).

@matrixbot
Copy link
Member

Can one of the admins verify this patch?

2 similar comments
@matrixbot
Copy link
Member

Can one of the admins verify this patch?

@matrixbot
Copy link
Member

Can one of the admins verify this patch?

@4nd3r
Copy link
Contributor

4nd3r commented Feb 12, 2017

btw, debian doesn't have twisted 17.

@erikjohnston
Copy link
Member

Thanks! I had missed a new Twisted version was out.

btw, debian doesn't have twisted 17.

This is going to be a nuisance. Since a bunch of the debian/ubuntu system packages depend on twisted, I'm loathed to manually package and/or backport twisted 17 in case it breaks things.

I'll have a think about the best way to move forwards on this, perhaps by simply requiring Twisted 17 for pip installs but not debian installs.

@4nd3r
Copy link
Contributor

4nd3r commented Feb 13, 2017

I had missed a new Twisted version was out.

does new version always means improvements?
does synapse use or want to use something v17 specific?

how long twisted developers support older versions?
this can be only valid reason for requirements bump imho.

This is going to be a nuisance.

stretch (next stable) is in freeze and with v16, same in sid (unstable). maybe Debian Python Modules Team will package v17 after stretch release in testing/unstable and backport it for stable... who knows.

but untill then I really hope that I and other Debian purists don't have to mess with pip, virtualenvs etc. also when synapse is released as package (in b4 docker), it's easier to set up, manage and upgrade. pips, dockers and other magic just adds unnecessary layer of complexity. YMMV. and "bleeding edge" is just stupid reason for upgrading things.

of course, nobody have to listen crumpy sysadmins or BOFHs :>

@ara4n
Copy link
Member

ara4n commented Feb 13, 2017 via email

@4nd3r
Copy link
Contributor

4nd3r commented Feb 13, 2017

nobody is really using ipv6, not even github :>

ok, sorry for noise, didn't pay attention because in #1002 (comment) he said "error was because of incorrect reverse proxy setup, not IPv6". so I misunderstood.

anyway, there was someone who said he is going to package synapse for Debian propely...

@alejzeis
Copy link
Author

alejzeis commented Feb 14, 2017 via email

@ara4n
Copy link
Member

ara4n commented Mar 5, 2017

@erikjohnston is there something blocking merging this?

@erikjohnston
Copy link
Member

Bumping twisted dependencies will prevent us from packaging synapse for most versions of debian/ubuntu. New versions of synapse that use pip will install Twisted 17 by default now.

@richvdh
Copy link
Member

richvdh commented Mar 30, 2017

Sounds like we don't want to do this. Sure if you want proper IPv6 support you'll need Twisted 17.1, but we don't want to insist on that, or we'll break compatibility with all of the distros.

A better solution might be to call out the need for 17.1 in the readme, as well as suggesting that people upgrade it in the changelog?

@alejzeis
Copy link
Author

alejzeis commented Mar 31, 2017 via email

@ara4n
Copy link
Member

ara4n commented Mar 31, 2017

new PR filed in #2088

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants