ha-core/requirements_test.txt

50 lines
1.2 KiB
Plaintext
Raw Normal View History

# linters such as pylint should be pinned, as new releases
# make new things fail. Manually update these pins when pulling in a
# new version
2019-07-31 01:59:12 +02:00
# types-* that have versions roughly corresponding to the packages they
# contain hints for available should be kept in sync with them
-c homeassistant/package_constraints.txt
-r requirements_test_pre_commit.txt
2023-05-06 23:21:31 +02:00
astroid==2.15.4
2023-07-22 12:39:28 +02:00
coverage==7.2.7
2022-10-18 10:42:01 +02:00
freezegun==1.2.2
2020-04-23 22:00:28 +02:00
mock-open==1.4.0
2023-06-26 04:32:06 +02:00
mypy==1.4.1
2023-07-12 00:34:45 +02:00
pre-commit==3.3.3
2023-07-08 14:00:51 +02:00
pydantic==1.10.11
2023-05-06 23:21:31 +02:00
pylint==2.17.4
pylint-per-file-ignores==1.2.1
2023-07-23 23:51:50 +02:00
pipdeptree==2.11.0
pytest-asyncio==0.21.0
Upgrade pytest-aiohttp (#82475) * Upgrade pytest-aiohttp * Make sure executors, tasks and timers are closed Some test will trigger warnings on garbage collect, these warnings spills over into next test. Some test trigger tasks that raise errors on shutdown, these spill over into next test. This is to mimic older pytest-aiohttp and it's behaviour on test cleanup. Discussions on similar changes for pytest-aiohttp are here: https://github.com/pytest-dev/pytest-asyncio/pull/309 * Replace loop with event_loop * Make sure time is frozen for tests * Make sure the ConditionType is not async /home-assistant/homeassistant/helpers/template.py:2082: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited def wrapper(*args, **kwargs): Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. * Increase litejet press tests with a factor 10 The times are simulated anyway, and we can't stop the normal event from occuring. * Use async handlers for aiohttp tests/components/motioneye/test_camera.py::test_get_still_image_from_camera tests/components/motioneye/test_camera.py::test_get_still_image_from_camera tests/components/motioneye/test_camera.py::test_get_stream_from_camera tests/components/motioneye/test_camera.py::test_get_stream_from_camera tests/components/motioneye/test_camera.py::test_camera_option_stream_url_template tests/components/motioneye/test_camera.py::test_camera_option_stream_url_template /Users/joakim/src/hass/home-assistant/venv/lib/python3.9/site-packages/aiohttp/web_urldispatcher.py:189: DeprecationWarning: Bare functions are deprecated, use async ones warnings.warn( * Switch to freezegun in modbus tests The tests allowed clock to tick in between steps * Make sure skybell object are fully mocked Old tests would trigger attempts to post to could services: ``` DEBUG:aioskybell:HTTP post https://cloud.myskybell.com/api/v3/login/ Request with headers: {'content-type': 'application/json', 'accept': '*/*', 'x-skybell-app-id': 'd2b542c7-a7e4-4e1e-b77d-2b76911c7c46', 'x-skybell-client-id': '1f36a3c0-6dee-4997-a6db-4e1c67338e57'} ``` * Fix sorting that broke after rebase
2022-11-29 22:36:36 +01:00
pytest-aiohttp==1.0.4
2023-07-21 15:07:12 +02:00
pytest-cov==4.1.0
pytest-freezer==0.4.8
2023-07-21 15:29:15 +02:00
pytest-socket==0.6.0
pytest-test-groups==1.0.3
2023-07-21 19:07:49 +02:00
pytest-sugar==0.9.7
pytest-timeout==2.1.0
pytest-unordered==0.5.2
pytest-picked==0.4.6
2023-07-09 19:52:45 +02:00
pytest-xdist==3.3.1
2023-04-16 18:21:10 +02:00
pytest==7.3.1
requests_mock==1.11.0
2023-07-21 19:08:38 +02:00
respx==0.20.2
2023-07-21 11:57:40 +02:00
syrupy==4.0.8
2023-07-21 19:08:24 +02:00
tqdm==4.65.0
2023-06-26 12:49:18 +02:00
types-atomicwrites==1.4.5.1
2022-12-21 19:15:55 +01:00
types-croniter==1.0.6
types-backports==0.1.3
types-chardet==0.1.5
2023-06-26 12:49:18 +02:00
types-decorator==5.1.8.3
2022-12-21 19:15:55 +01:00
types-enum34==1.1.8
types-ipaddress==1.0.8
2023-06-26 12:49:18 +02:00
types-paho-mqtt==1.6.0.6
types-pkg-resources==0.1.3
2023-06-26 12:49:18 +02:00
types-python-dateutil==2.8.19.13
types-python-slugify==0.1.2
2023-06-26 12:49:18 +02:00
types-pytz==2023.3.0.0
2022-12-21 19:15:55 +01:00
types-PyYAML==6.0.12.2
2023-06-26 12:49:18 +02:00
types-requests==2.31.0.1