- Apr 12, 2022
-
-
David Robertson authored
Co-authored-by:
Dan Callahan <danc@element.io>
-
David Robertson authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- Apr 08, 2022
-
-
David Robertson authored
-
- Mar 31, 2022
-
-
David Robertson authored
-
- Mar 04, 2022
-
-
David Robertson authored
-
David Robertson authored
-
- Mar 03, 2022
-
-
David Robertson authored
I've argued in #11537 that poetry and tox don't cooperate well at the moment. (See also #12119.) Therefore I'm pruning away bits of tox to make the transition to poetry easier. This change removes the commands for coverage. We don't use coverage in anger at the moment. It shouldn't be too hard to add coverage as a dev-dependency and reintroduce this if we really want it.
-
- Mar 02, 2022
-
-
David Robertson authored
* Rename scripts-dev to have suffices * Update references to `scripts-dev` * Changelog * These scripts don't pass mypy
-
David Robertson authored
* Two scripts are basically entry_points already * Move and rename scripts/* to synapse/_scripts/*.py * Delete sync_room_to_group.pl * Expose entry points in setup.py * Update linter script and config * Fixup scripts & docs mentioning scripts that moved Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
- Mar 01, 2022
-
-
David Robertson authored
* Don't use `tox` for `check-sampleconfig` * Don't use `tox` for check-newsfragment
-
- Feb 22, 2022
-
-
David Robertson authored
-
- Feb 18, 2022
-
-
Brendan Abolivier authored
-
- Feb 17, 2022
-
-
Richard van der Hoff authored
As the comment says, virtualenv is a pile of fail.
-
- Jan 21, 2022
-
-
Shay authored
* remove reference in comments to python3.6 * upgrade tox python env in script * bump python version in example for completeness * upgrade python version requirement in setup doc * upgrade necessary python version in __init__.py * upgrade python version in setup.py * newsfragment * drops refs to bionic and replace with focal * bump refs to postgres 9.6 to 10 * fix hanging ci * try installing tzdata first * revert change made in b979f336 * ignore new random mypy error while debugging other error * fix lint error for temporary workaround * revert change to install list * try passing env var * export debian frontend var? * move line and add comment * bump pillow dependency * bump lxml depenency * install libjpeg-dev for pillow * bump automat version to one compatible with py3.8 * add libwebp for pillow * bump twisted trunk python version * change suffix of newsfragment * remove redundant python 3.7 checks * lint
-
- 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
-