summary refs log tree commit diff
path: root/setup.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Specify tls extra for Twisted dependency. (#12444)Erik Johnston2022-04-121-1/+1
| | | | | | | | | | | * Specify `tls` extra for Twisted dependency. It was already pulled in for us by `treq`, but we should be explicit that we do use the `tls` functionality of Twisted directly. * Mark `idna` as dev-dependency This doesn't actually change anything, as `Twisted[tls]` will put it in as a main dependency anyway.
* Bump `black` and `click` versions (#12320)David Robertson2022-03-291-2/+2
|
* Use psycopg2 type stubs (#12269)David Robertson2022-03-231-0/+1
|
* Move synctl into `synapse._scripts` and expose as an entrypoint (#12140)David Robertson2022-03-041-1/+1
|
* Move scripts directory inside synapse, exposing as setuptools entry_points ↵David Robertson2022-03-021-2/+12
| | | | | | | | | | | | (#12118) * 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>
* Advertise Python 3.10 support in setup.py (#12111)Andrew Morgan2022-03-011-0/+1
|
* Upgrade mypy to version 0.931 (#12030)Sean Quah2022-02-181-2/+2
| | | Upgrade mypy to 0.931, mypy-zope to 0.3.5 and fix new complaints.
* Drop support for and remove references to EOL Python 3.6 (#11683)Shay2022-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Drop Bionic from Debian builds (#11633)Shay2022-01-031-1/+0
| | | | | | | | | | | | | | | | | * update Trove classifiers to remove py36 * stop building bionic * update dh-virtualenv * newsfragment * fix newsfragment * update version refs * another try at correct tag * Update changelog
* Update to the current version of Black and run it on Synapse codebase (#11596)Shay2021-12-231-1/+1
| | | | | | | | | * update black version * run updated version of black on code * newsfragment * enumerate python versions
* Use mock from standard library (#11588)V024602021-12-201-3/+1
| | | Instead of the backported version.
* Add opentracing types (#11603)Shay2021-12-201-0/+1
|
* Expose worker & homeserver as entrypoints in `setup.py` (#11449)Maximilian Bosch2021-11-301-0/+6
| | | Co-authored-by: reivilibre <oliverw@matrix.org>
* Make background updates controllable via a plugin (#11306)Erik Johnston2021-11-291-1/+3
| | | Co-authored-by: Brendan Abolivier <babolivier@matrix.org>
* Add type hints to synapse._scripts (#11297)Patrick Cloke2021-11-101-0/+1
|
* Require mypy for synapse/ & tests/ unless excluded (#11282)Dan Callahan2021-11-091-3/+2
| | | Signed-off-by: Dan Callahan <danc@element.io>
* Add twine and towncrier as dev dependencies (#11233)Erik Johnston2021-11-031-0/+3
| | | | We don't pin them as we execute them as commands, rather than use them as libs.
* Include the requirements for [mypy,lint] in [dev] (#11034)reivilibre2021-10-111-9/+14
|
* Revert accidental push to develop.Olivier Wilkinson (reivilibre)2021-10-081-14/+9
|
* Include the requirements for [mypy,lint] in [dev]Olivier Wilkinson (reivilibre)2021-10-081-9/+14
|
* Relax `ignore-missing-imports` for modules that have stubs now and update ↵David Robertson2021-10-081-1/+10
| | | | | | | | | | | | mypy (#11006) Updating mypy past version 0.9 means that third-party stubs are no-longer distributed with typeshed. See http://mypy-lang.blogspot.com/2021/06/mypy-0900-released.html for details. We therefore pull in stub packages in setup.py Additionally, some modules that we were previously ignoring import failures for now have stubs. So let's use them. The rest of this change consists of fixups to make the newer mypy + stubs pass CI. Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
* Extend the release script to tag and create the releases. (#10496)Erik Johnston2021-08-031-0/+2
|
* update black to 21.6b0 (#10197)Marcus2021-06-171-1/+1
| | | | | Reformat all files with the new version. Signed-off-by: Marcus Hoffmann <bubu@bubu1.eu>
* Add release helper script (#9713)Erik Johnston2021-04-131-0/+7
| | | | Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
* Drop Python 3.5 from Trove classifier metadata. (#9782)Dan Callahan2021-04-121-1/+0
| | | | | * Drop Python 3.5 from Trove classifier metadata. Signed-off-by: Dan Callahan <danc@element.io>
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-1/+1
|
* Require py36 and Postgres 9.6Richard van der Hoff2021-04-081-1/+1
|
* Fix version for bugbear (#9734)Jonathan de Jong2021-04-021-1/+1
|
* Bump mypy-zope to 0.2.13. (#9678)Patrick Cloke2021-03-241-1/+1
| | | | This fixes an error ("Cannot determine consistent method resolution order (MRO)") when running mypy with a cache.
* Enable flake8-bugbear, but disable most checks. (#9499)Jonathan de Jong2021-03-161-0/+1
| | | | * Adds B00 to ignored checks. * Fixes remaining issues.
* Bump the mypy and mypy-zope versions. (#9529)Patrick Cloke2021-03-031-1/+1
|
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-1/+1
| | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version
* Update isort to v5.7.0 (#9222)Andrew Morgan2021-01-261-1/+1
| | | | | This new version no longer has the problem of adding/removing a blank line in `.pyi` files, which black disagrees with. This would cause `isort` to slightly modify `.pyi` files, before `black` would subsequently modify back directly afterwards. Relevant `isort` issue: https://github.com/pycqa/isort/issues/1284
* Specify that the long description is rST in the package metadata. (#9180)Patrick Cloke2021-01-201-0/+1
| | | This avoids a warning when uploading packages to PyPI via twine.
* Note support for Python 3.9 (#8665)Dan Callahan2020-10-271-0/+1
| | | | | As expected, all tests pass locally without modification. Signed-off-by: Dan Callahan <danc@element.io>
* Pin mypy-zope for compatibility with mypy. (#8600)Patrick Cloke2020-10-211-1/+1
|
* Update mypy to 0.790, and move dependencies to extras (#8583)Jonathan de Jong2020-10-201-0/+2
|
* Add option to scripts-dev/lint.sh to only lint files changed since the last ↵Andrew Morgan2020-10-151-3/+1
| | | | | | | | | | git commit (#8472) This PR makes several changes to the `./scripts-dev/lint.sh` script, which lints the codebase with a number of tools: * Adds usage information, with `-h` flag to show it. Otherwise it will show when providing an unknown flag. * Adds option `-d` which will check both staged and unstaged files that have changed since the last commit and add them to the list of files to lint. - Note that only files without an extension, or with a `.py` extension will be allowed. This prevents editing bash scripts causing the linters to break on non-python files. * Improves the print-out of which files/directories are being linted.
* Do not check lint/test dependencies at runtime. (#8377)Patrick Cloke2020-09-231-0/+16
| | | moves non-runtime dependencies out of synapse.python_dependencies (test and lint)
* Advertise Python 3.8 support in setup.py (#7602)Andrew Morgan2020-06-011-0/+1
| | | Synapse supports Python 3.8. We've been using it in CI for a while now.
* Run Black. (#5482)Amber Brown2019-06-201-14/+17
|
* Remove Python 2.7 support. (#5425)Amber Brown2019-06-121-0/+10
| | | | | | | | * remove 2.7 from CI and publishing * fill out classifiers and also make it not be installed on 3.5 * some minor bumps so that the old deps work on python 3.5
* Add systemd-python to optional dependencies (#4339)Silke Hofstra2019-04-161-5/+1
| | | | | | | Using systemd-python allows for logging to the systemd journal, as is documented in: `synapse/contrib/systemd/log_config.yaml`. Signed-off-by: Silke Hofstra <silke@slxh.eu>
* Make the dependencies more like a standard Python project and hook up the ↵Amber Brown2018-12-221-2/+14
| | | | optional dependencies to setuptools (#4298)
* uh, Matrix is called Matrix these days...Matthew Hodgson2018-10-211-2/+4
|
* Implement a null 'test' commandRichard van der Hoff2016-12-091-2/+15
|
* Don't try to run tox from setup.pyRichard van der Hoff2016-12-091-34/+28
| | | | Using tox to run the tests is a bad idea, as per the comments.
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Merge branch 'master' into developMark Haines2015-09-071-1/+1
|\ | | | | | | | | Conflicts: setup.py
| * DEPENDENCY_LINKS was turned to a listErik Johnston2015-09-041-1/+1
| |
* | Pass an empty list of arguments to tox if no arguments are givenMark Haines2015-08-261-0/+2
| |
* | Install tox locally if it wasn't already installed when running setup.py testMark Haines2015-08-261-2/+10
| |
* | Make 'setup.py test' run toxMark Haines2015-08-261-1/+26
| |
* | Add tox.ini file for synapseMark Haines2015-08-251-5/+0
|/
* Depend on Twisted>=15.1 rather than pining to a particular versionMark Haines2015-08-121-1/+1
|
* Bump the version of twisted needed for setup_requires to 15.2.1Mark Haines2015-06-151-1/+1
|
* Seperate scripts/ into scripts/ and scripts-dev/, where scripts/* are ↵Erik Johnston2015-05-061-1/+2
| | | | automatically added to the package
* D'oh - setup.py used the dict directly: make it use the wrapper function.David Baker2015-03-191-1/+1
|
* Rename register script to 'register_new_matrix_user'Erik Johnston2015-03-131-1/+1
|
* Add 'register_new_user' scriptErik Johnston2015-03-131-1/+1
|
* Rename path to path_segments to make it clearer that it is a listMark Haines2015-02-101-4/+4
|
* Add the 'setup_requires' and allow easy_install since jenkins uses themMark Haines2015-02-101-14/+5
|
* Single source version and python dependencies, prevent people accidentally ↵Mark Haines2015-02-101-40/+40
| | | | installing with easy_install, use scripts rather than entry_points to install synctl
* Add a media/v1/identicon resource for generating identicons using pydenticonMark Haines2015-02-021-0/+1
|
* Merge master into developMark Haines2015-02-021-2/+2
|\ | | | | | | | | | | Conflicts: README.rst setup.py
| * Pin the version of Twisted to 14.0.2 since we are using some of its internalsMark Haines2015-02-021-1/+2
| |
| * Use >= for version of webclientErik Johnston2015-02-021-1/+1
| |
| * Bump version of webclient pulled in.Erik Johnston2015-02-021-2/+2
| |
* | Add twisted to setup requires so it gets processed before setuptools_trialDavid Baker2015-01-301-0/+1
| |
* | Allow any greater version for webclientErik Johnston2015-01-301-1/+1
| |
* | We do need Twisted 14, not 15: we use internal Twisted things that have been ↵David Baker2015-01-301-1/+1
|/ | | | removed in 15.
* Bump web sdk version to 0.6.0Mark Haines2014-12-191-2/+2
|
* Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-111-0/+1
|\ | | | | | | | | Conflicts: setup.py
| * Merge branch 'develop' into media_repositoryMark Haines2014-12-101-4/+4
| |\
| * | Add pillow to dependenciesMark Haines2014-12-051-0/+1
| | |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactorErik Johnston2014-12-091-3/+3
|\ \ \ | | |/ | |/|
| * | point the entry_point for synapse-homeserver at the right methodMark Haines2014-12-051-1/+1
| | |
| * | Pull in latest matrix-angular_sdkErik Johnston2014-12-051-2/+2
| | |
| * | Pull in latest matrix-angular_sdkErik Johnston2014-12-051-2/+2
| | |
* | | Begin fleshing out a new Event objectErik Johnston2014-12-021-0/+1
|/ /
* | Bump pinned version of pynacl pulled from githubErik Johnston2014-11-271-1/+1
| |
* | Bump version numbers and change logErik Johnston2014-11-261-2/+2
|/
* Use tagged version of matrix-angular-sdkMark Haines2014-11-201-4/+4
|
* Mark synapse as not zip-safe since it needs to be able to read schema files ↵Mark Haines2014-11-171-0/+1
| | | | from the filesystem
* Remove syweb directory. pull in syweb as a dependency from githubMark Haines2014-11-171-2/+4
|
* SYN-138: Rewrite synctl in python and include it in the python distributionMark Haines2014-11-131-0/+1
|
* SYN-112: Get pynacl from github instead of PyPIMark Haines2014-11-041-0/+1
|
* exclude testsMark Haines2014-11-041-1/+1
|
* Add log message if we can't enable ECC. Require pyopenssl>=0.14 since 0.13 ↵Mark Haines2014-10-241-0/+1
| | | | doesn't seem to have ECC
* use a tagged version of syutil rather than masterMark Haines2014-10-201-1/+1
|
* Use https link to download syutil as not everyone has ssh access to github.Mark Haines2014-10-201-2/+3
|
* Bump syutil dependencyErik Johnston2014-10-171-2/+2
|
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-031-1/+1
| | | | hasn't been incorporated in time for launch.
* add pyyaml dependency for config filesMark Haines2014-09-011-0/+1
|
* Add python shebang line and chmod +x setup.pyPaul "LeoNerd" Evans2014-08-271-0/+2
|
* Bump versions to 0.0.1Erik Johnston2014-08-221-1/+1
|
* add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson2014-08-131-0/+14
| | | | copyrighter.pl whilst we're at it
* Fix dependency_link urlErik Johnston2014-08-121-1/+1
|
* Change syutil dependency link to point at github.Erik Johnston2014-08-121-1/+1
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+40