mirror of
https://github.com/PostHog/posthog.git
synced 2024-12-01 04:12:23 +01:00
24de8b55e4
* Compile requirements-dev.txt with latest pip-tools * Install pytest * Avoid picking up factories as tests * New runner * Always set TEST env variable running tests Some of our tests rely on it. * Remove repetition * Fix a broken test * Cut down noise from bin/tests * Rename test factory * Fix stickiness filter * Skip a broken test This has been broken since numpy removal PR. Sadly tests were not running for this submodule * Fix import on ee * Run ee tests properly The django_db_setup fixture will be automatically run when running ee/ module tests. * Make tests run on CI * Include REDIS_URL, fix cloud * Set TEST env variable * Hack cloud tests to work * Attempt at workflow fix * Import Person model when running ee tests This module implicitly adds hooks, so this is needed when running tests * Respect reuse-db for clickhouse * Add custom markers to avoid warnings * pytest: use ch test database always Accidentally wiped by ch setup a few times without this. Oops * Remove repetition in tests * Pytest: Always run migrations Testing a state cleanup fix * Use same DB in conftest and main code * Pytest: autoset TEST setting without env variable * fix broken test Co-authored-by: eric <eeoneric@gmail.com>
142 lines
2.8 KiB
Plaintext
142 lines
2.8 KiB
Plaintext
#
|
|
# This file is autogenerated by pip-compile
|
|
# To update, run:
|
|
#
|
|
# pip-compile requirements-dev.in
|
|
#
|
|
appdirs==1.4.4
|
|
# via black
|
|
asgiref==3.2.7
|
|
# via django
|
|
attrs==19.3.0
|
|
# via
|
|
# black
|
|
# flake8-bugbear
|
|
# pytest
|
|
black==19.10b0
|
|
# via -r requirements-dev.in
|
|
click==7.1.1
|
|
# via
|
|
# black
|
|
# pip-tools
|
|
django-debug-toolbar==2.2
|
|
# via -r requirements-dev.in
|
|
django-stubs==1.7.0
|
|
# via
|
|
# -r requirements-dev.in
|
|
# djangorestframework-stubs
|
|
django==3.0.6
|
|
# via
|
|
# django-debug-toolbar
|
|
# django-stubs
|
|
djangorestframework-stubs==1.1.0
|
|
# via -r requirements-dev.in
|
|
entrypoints==0.3
|
|
# via flake8
|
|
fakeredis==1.4.4
|
|
# via -r requirements-dev.in
|
|
flake8-bugbear==20.1.4
|
|
# via -r requirements-dev.in
|
|
flake8-colors==0.1.6
|
|
# via -r requirements-dev.in
|
|
flake8-commas==2.0.0
|
|
# via -r requirements-dev.in
|
|
flake8-comprehensions==3.2.2
|
|
# via -r requirements-dev.in
|
|
flake8-import-order==0.18.1
|
|
# via -r requirements-dev.in
|
|
flake8-logging-format==0.6.0
|
|
# via -r requirements-dev.in
|
|
flake8-print==3.1.4
|
|
# via -r requirements-dev.in
|
|
flake8==3.7.9
|
|
# via
|
|
# -r requirements-dev.in
|
|
# flake8-bugbear
|
|
# flake8-colors
|
|
# flake8-commas
|
|
# flake8-comprehensions
|
|
# flake8-print
|
|
freezegun==0.3.15
|
|
# via -r requirements-dev.in
|
|
iniconfig==1.1.1
|
|
# via pytest
|
|
isort==5.2.2
|
|
# via -r requirements-dev.in
|
|
mccabe==0.6.1
|
|
# via flake8
|
|
mypy-extensions==0.4.3
|
|
# via
|
|
# -r requirements-dev.in
|
|
# mypy
|
|
mypy==0.790
|
|
# via
|
|
# -r requirements-dev.in
|
|
# django-stubs
|
|
# djangorestframework-stubs
|
|
packaging==20.4
|
|
# via
|
|
# -r requirements-dev.in
|
|
# pytest
|
|
pathspec==0.8.0
|
|
# via black
|
|
pip-tools==5.5.0
|
|
# via -r requirements-dev.in
|
|
pluggy==0.13.1
|
|
# via pytest
|
|
py==1.10.0
|
|
# via pytest
|
|
pycodestyle==2.5.0
|
|
# via
|
|
# flake8
|
|
# flake8-import-order
|
|
# flake8-print
|
|
pyflakes==2.1.1
|
|
# via flake8
|
|
pyparsing==2.4.7
|
|
# via packaging
|
|
pytest-django==4.1.0
|
|
# via -r requirements-dev.in
|
|
pytest==6.2.2
|
|
# via
|
|
# -r requirements-dev.in
|
|
# pytest-django
|
|
python-dateutil==2.8.1
|
|
# via freezegun
|
|
pytz==2020.1
|
|
# via django
|
|
redis==3.5.3
|
|
# via fakeredis
|
|
regex==2020.6.8
|
|
# via black
|
|
six==1.14.0
|
|
# via
|
|
# fakeredis
|
|
# flake8-print
|
|
# freezegun
|
|
# packaging
|
|
# python-dateutil
|
|
sortedcontainers==2.3.0
|
|
# via fakeredis
|
|
sqlparse==0.3.1
|
|
# via
|
|
# django
|
|
# django-debug-toolbar
|
|
toml==0.10.1
|
|
# via
|
|
# black
|
|
# pytest
|
|
typed-ast==1.4.1
|
|
# via
|
|
# black
|
|
# mypy
|
|
typing-extensions==3.7.4.2
|
|
# via
|
|
# django-stubs
|
|
# djangorestframework-stubs
|
|
# mypy
|
|
|
|
# The following packages are considered to be unsafe in a requirements file:
|
|
# pip
|
|
# setuptools
|