0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-12-01 04:12:23 +01:00
posthog/requirements-dev.in
Karl-Aksel Puulmann 9769ef0b5d
Improve backend CI (update .test_timings, run against different CH version) (#8708)
* Make clickhouse server image version configurable

* Attempt to use a reusable workflow for backend tests

* Try a composite action

* Add missing shell: bash

* Temporarily remove a step

* Cache id parameter

* Include the action when needing to rerun

* Move checking migrations to separate file

This didn't work in composite actions tests and slows down every
parallelized test execution for no reason. This should have been
separate in the first place.

* Rename job

* Improve check-migrations

* Start stack in the new job

* Remove shell

* Solve flaky test

* Remove unused file

* Create a test timings job

* Use checkout@v2 - https://github.com/cds-snc/github-actions/issues/23

* Ignore coverage files

* Save backend test durations

* Install pytest-split

* Clean up ci-backend

* Move actions code around

* wording improvement

* Save backend test durations

* Add a comment

* Make it possible to run tests with a different clickhouse version

* Remove debugging code

* Fix typo

* Boolean inputs please work

Fixes overeager test running as per https://github.com/actions/runner/issues/1483

Co-authored-by: PostHog Bot <hey@posthog.com>
2022-02-22 17:06:04 +02:00

47 lines
1.1 KiB
Plaintext

# In order to add, delete or modify a dependency, please update
# the reference here and then run:
#
# - `pip-compile --rebuild requirements.in`
# - `pip-compile --rebuild requirements-dev.in`
#
# Make sure we use production deps for constraining installed dev packages. This
# is important as otherwise we could be running tests with different versions
# than production.
#
-c requirements.txt
flake8>=3.8 # match minimum version to oldest Python version that PostHog currently supports
flake8-bugbear==20.1.4
flake8-colors==0.1.6
flake8-comprehensions==3.2.2
flake8-import-order==0.18.1
flake8-logging-format==0.6.0
flake8-print==3.1.4
pip-tools==5.5.0
mypy==0.931
mypy-extensions==0.4.3
djangorestframework-stubs==1.4.0
django-stubs==1.8.0
fakeredis==1.4.5
freezegun==0.3.15
packaging==20.4
black==19.10b0
types-markdown==3.3.9
types-PyYAML==6.0.1
types-freezegun==1.1.3
types-protobuf==3.18.2
types-python-dateutil==2.8.3
types-pytz==2021.3.2
types-redis==4.0.3
types-requests==2.26.1
isort==5.2.2
pytest==6.2.2
pytest-django==4.1.0
pytest-env==0.6.2
pytest-mock==3.5.1
pytest-cov==2.12.1
pytest-split==0.6.0
syrupy==1.4.6
numpy==1.21.4