- Dec 21, 2021
-
-
Shay authored
* remove python 3.6 and postgres 9.6 from github workflow * remove python 3.6 env from tox * newsfragment * correct postgres version * add py310 to tox env list
-
- Oct 06, 2021
-
-
Nick Barrett authored
Signed-off-by:
Nick Barrett <nick@beeper.com>
-
- Aug 11, 2021
-
-
David Robertson authored
-
- Aug 10, 2021
-
-
David Robertson authored
-
- May 14, 2021
-
-
Richard van der Hoff authored
Turns out these scripts weren't getting linted.
-
- Apr 27, 2021
-
-
Andrew Morgan authored
I went through and removed a bunch of cruft that was lying around for compatibility with old Python versions. This PR also will now prevent Synapse from starting unless you're running Python 3.6+.
-
- Apr 08, 2021
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Apparently on tox 2.5, `usedevelop` overrides `skip_install`, so we end up trying to install the full dependencies even for the `-old` environment.
-
- Mar 15, 2021
-
-
Patrick Cloke authored
-
- Mar 01, 2021
-
-
Patrick Cloke authored
This also pins the Twisted version in the mypy job for CI until proper type hints are fixed throughout Synapse.
-
- Jan 25, 2021
-
-
Patrick Cloke authored
Co-authored-by:
Dan Callahan <danc@element.io> pip 21.0 stopped supporting Python 3.5.
-
Patrick Cloke authored
Co-authored-by:
Dan Callahan <danc@element.io> pip 21.0 stopped supporting Python 3.5.
-
- Jan 22, 2021
-
-
Erik Johnston authored
As we use `execute_values` with the `fetch` parameter.
-
- Jan 21, 2021
-
-
Andrew Morgan authored
The lists of source directories to lint between `tox.ini` and `lint.sh` became out of sync. This PR tightens them up and adds some comments reminding any future readers to keep the list in sync.
-
- Jan 18, 2021
-
-
Patrick Cloke authored
setuptools 51.0.0 dropped support for Python 3.5.
-
- Jan 08, 2021
-
-
Richard van der Hoff authored
We were running some linters on some files and some on others. Extract a common setting and use it everywhere.
-
- Jan 07, 2021
-
-
Richard van der Hoff authored
... for running the tests with no optional deps.
-
- Dec 17, 2020
-
-
Richard van der Hoff authored
... and disable coverage tracking for mypy and friends.
-
- Oct 27, 2020
-
-
Dan Callahan authored
The test runner isn't present in the `[all]` set of extras, so the previous instructions did not work without also installing `[test]`. Note that this does not include the `[lint]` extras, since those do not install on all supported Python versions (specifically, isort 5.x requires Python 3.6, while we still support 3.5). Instructions for that are included in our pull request template, so we should be fine there. I've also dropped the `--no-use-pep517` arg to `pip install` since it seems to have been added to address a temporary regression in pip 19.1 which was fixed in pip 19.1.1 the following month. Lastly, updated the example output of the test suite to set more realistic expectations around run time. Signed-off-by:
Dan Callahan <danc@element.io>
-
Dan Callahan authored
As expected, all tests pass locally without modification. Signed-off-by:
Dan Callahan <danc@element.io>
-
- Oct 20, 2020
-
-
Jonathan de Jong authored
-
- Oct 19, 2020
-
-
Jonathan de Jong authored
-
- Sep 23, 2020
-
-
Patrick Cloke authored
moves non-runtime dependencies out of synapse.python_dependencies (test and lint)
-
- Sep 17, 2020
-
-
Jonathan de Jong authored
Lint dependencies can now be installed with pip install -e ".[lint]" This should help keep the version in sync between tox and documentation.
-
- Aug 26, 2020
-
-
Patrick Cloke authored
-
- Aug 24, 2020
-
-
Patrick Cloke authored
-
- Aug 14, 2020
-
-
Erik Johnston authored
-
- Aug 12, 2020
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- Aug 11, 2020
-
-
Erik Johnston authored
-
Erik Johnston authored
Duplicating function signatures between server.py and server.pyi is silly. This commit changes that by changing all `build_*` methods to `get_*` methods and changing the `_make_dependency_method` to work work as a descriptor that caches the produced value. There are some changes in other files that were made to fix the typing in server.py.
-
- Aug 05, 2020
-
-
Erik Johnston authored
-
- Jul 31, 2020
-
-
Patrick Cloke authored
-
- Jul 28, 2020
-
-
Patrick Cloke authored
-
- Jul 24, 2020
-
-
Patrick Cloke authored
-
- Jul 20, 2020
-
-
Andrew Morgan authored
Run `isort`, `flake8` and `black` over the `contrib/` directory and `synctl` script. The latter was already being done in CI, but now the linting script does it too. Fixes https://github.com/matrix-org/synapse/issues/7910
-
- Jul 05, 2020
-
-
Will Hunt authored
The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse.
-
- Jul 01, 2020
-
-
Richard van der Hoff authored
fix a few things to make this pass mypy.
-
- Jun 25, 2020
-
-
Dagfinn Ilmari Mannsåker authored
- Remove the requirement for a specific version of Python - Move dep comment to a separate line, Tox 3.7.0 like trailing ones Signed-off-by:
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
-