zulip/requirements/dev.in
Mateusz Mandera 8dd95bd057 tests: Replace httpretty with responses.
responses is an module analogous to httpretty for mocking external
URLs, with a very similar interface (potentially cleaner in that it
makes use of context managers).

The most important (in the moment) problem with httpretty is that it
breaks the ability to use redis in parts of code where httpretty is
enabled.  From more research, the module in general has tendency to
have various troublesome bugs with breaking URLs that it shouldn't be
affecting, caused by it working at the socket interface layer.  While
those issues could be fixed, responses seems to be less buggy (based
on both third-party reports like ckan/ckan#4755 and our own experience
in removing workarounds for bugs in httpretty) and is more actively
maintained.
2020-01-22 11:56:15 -08:00

63 lines
1.4 KiB
Plaintext

# After editing this file, you MUST afterward run
# /tools/update-locked-requirements to update requirements/dev.txt.
# See requirements/README.md for more detail.
-r common.in
-r docs.in
# moto s3 mock
moto
# Needed for running tools/run-dev.py
Twisted
# Needed for documentation links test
Scrapy
# Needed to compute test coverage
coverage
# fake for LDAP testing
https://github.com/zulip/fakeldap/archive/ff32deaad34b91d5ba5735f314362c0456c92607.zip#egg=fakeldap==0.6.1zulip
# For testing mock http requests
responses
# For sorting imports
isort
# For doing highly usable Python profiling (temporary fork of
# line_profiler: https://github.com/rkern/line_profiler/issues/127)
lp37
# for pep8 linter
pycodestyle
# Needed to run pyflakes linter
pyflakes
# Needed for watching file changes
pyinotify
# Needed to run tests in parallel
tblib
# Needed to lint Git commit messages
gitlint
# Needed for visualising cprofile reports
snakeviz
# Needed to sync translations from transifex
transifex-client<0.13.5 # Before https://github.com/transifex/transifex-client/commit/14a1a55c55fe66b1dee1fdfc4f2b1134c3c1af5d
# Needed for creating digital ocean droplets
python-digitalocean
# Needed for updating the locked pip dependencies
pip-tools
# zulip's linting framework - zulint
https://github.com/zulip/zulint/archive/aaed679f1ad38b230090eadd3870b7682500f60c.zip#egg=zulint==0.0.1
-r mypy.in