Skip to content
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

Integrate Synapse into dev requirements #3172

Merged
merged 8 commits into from
Jan 18, 2019

Conversation

ulope
Copy link
Collaborator

@ulope ulope commented Dec 14, 2018

Fixes #1590, fixes #2906

  • Switch to using Synapse under Python 3, thereby removing the need
    to install a separate Python 2 virtualenv to be able to run the
    Matrix tests.
  • Restructure the Matrix related fixtures to allow starting
    multiple matrix servers in a local federation.
  • Update the get_free_port fixture to be more reliable
  • Remove some port related configuration options,
    since they are no longer needed with the above change

@ulope ulope force-pushed the feature/synapse_py3 branch from faee5e1 to 0f062e4 Compare December 14, 2018 22:46
@ulope ulope force-pushed the feature/synapse_py3 branch 5 times, most recently from fed9cbf to 7f73635 Compare January 14, 2019 18:15
@ulope ulope force-pushed the feature/synapse_py3 branch 3 times, most recently from a4a375b to a526e64 Compare January 16, 2019 18:45
@jomuel
Copy link
Contributor

jomuel commented Jan 17, 2019

Reviewing this now

Copy link
Contributor

@jomuel jomuel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left 3 small comments, lgtm overall.

.circleci/config.yml Show resolved Hide resolved
raiden/network/utils.py Show resolved Hide resolved
raiden/tests/fixtures/variables.py Show resolved Hide resolved
Copy link
Contributor

@andrevmatos andrevmatos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some minor comments, lgtm overall, very nice job on this one!

@jomuel jomuel mentioned this pull request Jan 18, 2019
ulope added 8 commits January 18, 2019 13:48
Fixes raiden-network#1590, fixes raiden-network#2906

- Switch to using Synapse under Python 3, thereby removing the need
  to install a separate Python 2 virtualenv to be able to run the
  Matrix tests.
- Restructure the Matrix related fixtures to allow starting
  multiple matrix servers in a local federation.
- Update the `get_free_port` fixture to be more reliable
- Remove some port related configuration options,
  since they are no longer needed with the above change
@ulope ulope force-pushed the feature/synapse_py3 branch from a526e64 to d182af8 Compare January 18, 2019 12:48
@ulope ulope merged commit d761172 into raiden-network:master Jan 18, 2019
@ulope ulope deleted the feature/synapse_py3 branch January 18, 2019 13:09
@ulope
Copy link
Collaborator Author

ulope commented Jan 23, 2019

For the get_free_port you mean? The TIME_WAIT only comes into play if a connection was actually established. Simply binding to the port and then closing the socket doesn't cause it.

@ulope
Copy link
Collaborator Author

ulope commented Jan 24, 2019

No reason, just seemed a bit easier for a 'ci only' option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component / Transport Transport related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix python2 synapse bundling html import error Include Synapse as dev requirement once it supports Python3
4 participants