matrix-org / matrix-org/sytest

Remove `PYTHONDONTWRITEBYTECODE`

Open
#1,016 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
81
Forks
63
Avg merge
1h 47m
Merged PRs (30d)
1

Description

This is a followup from https://github.com/matrix-org/synapse/pull/9502#pullrequestreview-599836668, on [this line](https://github.com/matrix-org/sytest/blob/9c8791def5b706cbabc0cbd971af4827c07039c0/lib/SyTest/Homeserver/Synapse.pm#L367), to remove and allow python to write+cache bytecode.

Though for sytest specifically, there may be some arguments for and against doing this, though atm i don't see any, i'll make this "just" an issue for now.

Contributor guide

Open the contributing guide

Research direction

Start at lib/SyTest/Homeserver/Synapse.pm:367, the line linked by the issue, and read the surrounding homeserver setup. Remove the PYTHONDONTWRITEBYTECODE setting, then run the relevant sytest homeserver/integration checks and confirm Python bytecode is no longer disabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
perl, python
Domain
testing-qa
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.