Skip to content

Don't set PYTHONPATH when running synapse#560

Merged
richvdh merged 1 commit into
developfrom
rav/no_python_path
Feb 8, 2019
Merged

Don't set PYTHONPATH when running synapse#560
richvdh merged 1 commit into
developfrom
rav/no_python_path

Conversation

@richvdh
Copy link
Copy Markdown
Member

@richvdh richvdh commented Feb 8, 2019

Setting PYTHONPATH runs the risk of picking up random files from elsewhere in
the synapse readme (for instance, we might accidentally import something from
the 'tests' hierarchy).

Our recommendation for installing synapse (and what the sytest docker image
does) is to install it into the virtualenv. This means that there is no need to
set PYTHONPATH any more.

Setting PYTHONPATH runs the risk of picking up random files from elsewhere in
the synapse readme (for instance, we might accidentally import something from
the 'tests' hierarchy).

Our recommendation for installing synapse (and what the sytest docker image
does) is to install it into the virtualenv. This means that there is no need to
set PYTHONPATH any more.
@richvdh richvdh requested a review from a team February 8, 2019 18:07
Copy link
Copy Markdown
Member

@erikjohnston erikjohnston left a comment

Choose a reason for hiding this comment

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

I guess?

@richvdh richvdh merged commit 99edf2c into develop Feb 8, 2019
@richvdh richvdh deleted the rav/no_python_path branch February 8, 2019 18:31
anoadragon453 added a commit that referenced this pull request Mar 13, 2019
…server_specific_tests

* 'develop' of github.com:matrix-org/sytest: (44 commits)
  test endpoint for updating backup versions (#559)
  Add test for transferring bans on a room upgrade (#563)
  fix tests for matrix-org/synapse#2090 (#350)
  Fix typo
  Fixup
  Incorporate review
  Remove prev_state from federation API
  Make the userdir synced not rely on being able to search for yourself (#567)
  Add basic soft fail test
  Check that event_id is given over state fetching over federation (#566)
  Fix registration rate limiting settings
  Fix comments
  Make sytest support auth rate limiting
  Fixup to not send 100 messages
  Test history visibility works for backfill
  Check that Server ACLs are preserved on room upgrade
  Better diagnostics from synapse startup (#561)
  Don't set PYTHONPATH when running synapse (#560)
  Regression test for redactions in room v3 (#558)
  Add test for PDU limit on transactions API (#555)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants