Commit Graph

512 Commits (2eef2ed911d59249b49eec17bfc0cd8b006bd336)

Author SHA1 Message Date
Joakim Sørensen 04d51aa8de
Do not try to run DB jobs if there are no target groups (#88352) 2023-02-17 22:49:22 +01:00
J. Nick Koston c79157208b
Add python 3.11 to the CI (#88038)
* Remove profiler.memory service

guppy3 is not python3.11 compat
https://github.com/zhuyifei1999/guppy3/issues/41

This service will return if and when guppy3 becomes
python3.11 compat

* squash

* temp remove

* temp dump tests

* temp dump tests

* drop a few more to get a run

* drop a few more to get a run

* Account for changed python3.11 enum.IntFlag behavior in zha

There may be additional changes needed, but I could only
see what needed to be updated based on the tests

* merge

* restore

* restore

* legacy value

* tweak a bit for the python 3.11 timings

* block cchardet

* conditional

* adjust est

* test

* not yet

* tweak

* give a little leeway for timing

* Fix otbr tests

* Increase database test timeout

It looks like we need a little more time to run
with the addiitonal tests in #87019

* Increase database test timeout

It looks like we need a little more time to run
with the addiitonal tests in #87019

* Fix aprs tests with python 3.11

* merge fix

* hints

* Update homeassistant/package_constraints.txt

* Update script/gen_requirements_all.py

* Constrain uamqp for Python 3.10 only

* Bump vulcan-api to 2.3.0

see https://github.com/kapi2289/vulcan-api/pull/126
see https://github.com/home-assistant/core/pull/88038
see https://github.com/home-assistant/docker/pull/260

* add ban

* Bump python-matter-server to 2.1.1

* revert

* Update tests/asyncio_legacy.py

---------

Co-authored-by: Erik <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2023-02-16 12:38:32 -05:00
J. Nick Koston 402170d49e
Increase database test timeout (#88187) 2023-02-15 10:30:01 -06:00
epenet a704e7b40d
Add postgresql 12.14 to database tests (#88071)
* Add postgre 12.14 to database tests

* Rename jobs
2023-02-15 15:56:15 +01:00
epenet efef915fc7
Add mariadb 10.3.32 to database tests (#87741)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-13 16:28:39 -06:00
Erik Montnemery 4ca0a24f87
Increase test scope of MariaDB + PostgreSQL tests (#87019)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-13 15:58:13 -06:00
epenet cf2fcdfba1
Add mariadb 10.6.10 to database tests (#87989) 2023-02-13 14:42:04 +01:00
dependabot[bot] 3057dd241a
Bump actions/cache from 3.2.4 to 3.2.5 (#87825)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-10 08:43:24 +01:00
Marc Mueller 67499e0204
Enable pydantic mypy plugin (#87415) 2023-02-09 13:33:10 +01:00
epenet ecb1d93b2e
Allow pytest to start before black finishes (#87770)
Speed-up CI
2023-02-09 11:57:15 +01:00
epenet a31bd49eee
Use matrix for db recorder tests (#87640)
* (mock) Mark mariadb as success to skip on partial builds

* mariadb_groups

* Adjust

* Fix yaml

* mariadb-group

* Add postgresql-group

* Align

* Include mariadb-postgresql

* Update ci.yaml

* Update ci.yaml

* Rename jobs

* Remove recorder tests from coverage needs
2023-02-08 22:21:47 +01:00
epenet 3e09950dd6
Align postgresql with mariadb in CI (#87646)
Align postgresql with mariadb
2023-02-07 18:27:33 +01:00
Erik Montnemery 720f51657d
Add CI job which runs recorder tests on PostgreSQL (#80614)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-07 09:46:14 -06:00
Marc Mueller 785b949a82
Show diff on ruff failure [ci] (#87635) 2023-02-07 15:53:26 +01:00
Marc Mueller e348c25e18
Pin platformdirs to resolve dependency conflict (#87589) 2023-02-06 18:58:00 -06:00
Franck Nijhof 746afb70ba
Fix pypi package translations + add translation build artifacts (#87548) 2023-02-06 11:21:57 -05:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Marc Mueller 04b921e3b5
Update pip constraint to 23.1 (#87331) 2023-02-03 21:02:35 +01:00
Franck Nijhof e794dd0078
Download/Update translations on build (#87289) 2023-02-03 20:00:01 +01:00
epenet 0d018d53f1
Don't run tests if ruff fails (#87003) 2023-01-31 09:31:49 +01:00
Marc Mueller 2c12171e25
Update actions/cache to v3.2.4 (#86943) 2023-01-30 16:42:01 +01:00
dependabot[bot] 15492aead0
Bump tibdex/github-app-token from 1.7.0 to 1.8.0 (#86767)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-27 20:35:56 +01:00
Marc Mueller 54fcf58449
Use mypy caching [ci] (#86715) 2023-01-26 15:59:37 +01:00
Franck Nijhof 7d672b4a4d
Bump version to 2023.3.0dev0 (#86632) 2023-01-25 20:50:44 +01:00
Aarni Koskela bf41a971a2
Introduce ruff (eventually replacing autoflake, pyupgrade, flake8) (#86224) 2023-01-24 12:15:16 +01:00
Franck Nijhof 5102d1a5f3
Drop Python 3.9 support (#85456) 2023-01-22 20:40:33 +01:00
Marc Mueller c8b9260f92
Add option to run only pylint or mypy tests [ci] (#86260) 2023-01-20 11:43:52 +01:00
Paulus Schoutsen d92b423127
Add conversation to default config (#85877)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-01-15 13:21:16 +01:00
Franck Nijhof 314576048d
Fix conflict between stale bot rules (#85923) 2023-01-15 13:01:20 +01:00
dependabot[bot] bce7bd771e
Bump actions/setup-python from 4.4.0 to 4.5.0 (#85801)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.4.0...v4.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-13 21:07:52 +02:00
Franck Nijhof 686258acd5
Add nightly intents to nightly build (#85760)
* Add nightly intents to nightly build

* Use main branch
2023-01-12 16:31:14 -05:00
Franck Nijhof b6316b4904
Split wheels building of all requirements (#85564) 2023-01-09 22:16:59 +01:00
dependabot[bot] f1895fa826
Bump actions/cache from 3.2.2 to 3.2.3 (#85488)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 11:28:36 +01:00
dependabot[bot] 186151008f
Bump actions/upload-artifact from 3.1.1 to 3.1.2 (#85489)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 10:30:14 +01:00
dependabot[bot] 5cc3636be7
Bump actions/checkout from 3.2.0 to 3.3.0 (#85285)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-06 08:35:47 +01:00
Franck Nijhof 2176281894
Adjust stale bot action to be more performant (#84999) 2023-01-02 21:55:13 +01:00
Franck Nijhof ba24cb6e72
Bump version to 2023.2.0dev0 (#84707) 2022-12-28 18:46:04 +01:00
dependabot[bot] 2bcf9717ed
Bump actions/cache from 3.2.1 to 3.2.2 (#84683) 2022-12-28 08:17:12 +01:00
dependabot[bot] a70163042d
Bump actions/cache from 3.2.0 to 3.2.1 (#84565)
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.2.0...v3.2.1)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-26 12:34:33 +01:00
dependabot[bot] e2e272aeb6
Bump actions/setup-python from 4.3.1 to 4.4.0 (#84488)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.3.1...v4.4.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-23 08:49:53 +01:00
Marc Mueller 0d874899ea
Update actions/cache to 3.2.0 + new restore action (#84408) 2022-12-21 23:51:48 +01:00
dependabot[bot] 556c355e9c
Bump actions/stale from 6.0.1 to 7.0.0 (#84333)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 08:25:53 +01:00
dependabot[bot] aa23a125bf
Bump actions/checkout from 3.1.0 to 3.2.0 (#83894)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 08:36:15 +01:00
Christopher Bailey b23f505130
Add new docs to Diagnostics information (#83767) 2022-12-12 11:57:24 +01:00
dependabot[bot] a77d9af989
Bump actions/setup-python from 4.3.0 to 4.3.1 (#83607)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-09 13:56:34 +01:00
dependabot[bot] ee5de654ab
Bump dessant/lock-threads from 3 to 4 (#83273)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-12-05 10:11:24 +01:00
Marc Mueller c6796494b4
Fix glob patterns for partial CI runs (#83086) 2022-12-02 09:16:20 +01:00
Franck Nijhof 4bef6ac191
Bump version to 2023.1.0dev0 (#83025) 2022-11-30 21:12:57 -05:00
Erik Montnemery 7ebd279e14
Tweak pytest-durations CI parameters (#82918) 2022-11-29 13:30:26 +01:00
Erik Montnemery a888ce9282
Increase timeout of MariaDB CI job (#82911) 2022-11-29 12:37:57 +01:00
dependabot[bot] 026a222d16
Bump home-assistant/builder from 2022.09.0 to 2022.11.0 (#82897)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-29 09:38:45 +01:00
Franck Nijhof ca6376488d
Remove CI cache cleanup (#82330) 2022-11-18 17:35:24 +01:00
Marc Mueller e3749e0f76
Cleanup pip cache workaround [ci] (#82272) 2022-11-17 21:14:54 +01:00
Marc Mueller 569e52c9ac
Show full error on cache delete failure (2) [ci] (#82263) 2022-11-17 13:23:42 +01:00
Marc Mueller ae181a47fd
Show full error on cache delete failure [ci] (#82259) 2022-11-17 12:52:17 +01:00
Marc Mueller ba8f69a5ce
Cache improvements [ci] (#80898)
* Cleanup old pip caches
* Add workflow to delete caches for closed PRs
2022-11-16 23:51:38 +01:00
Aarni Koskela 059623c6bf
Remove vestigial move.yml (#81557) 2022-11-09 09:47:10 +01:00
Franck Nijhof cee7b788d4
Bump version to 2022.12.0dev0 (#81044) 2022-10-26 23:44:38 +02:00
epenet f7982a0db2
CI: Fix partial coverage (#80877)
* CI: Split coverage job

* Don't wait for pytest-mariadb
2022-10-24 12:18:27 +02:00
dependabot[bot] a8bf8d449b
Bump actions/upload-artifact from 3.1.0 to 3.1.1 (#80867)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 09:50:56 +02:00
Pascal Vizeli 319d35626a
Remove building wheels for face detection (#80728) 2022-10-21 14:27:50 +02:00
Franck Nijhof 3a92123ac6
Update home-assistant/wheels to 2022.10.1 (#80723) 2022-10-21 13:08:19 +02:00
Erik Montnemery bd0838cd49
Tweak MariaDB CI job (#80631) 2022-10-19 21:54:07 +02:00
Marc Mueller be3a022810
Limit recorder pytest job [ci] (#80625)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-10-19 20:40:32 +02:00
Erik Montnemery f4951a4f31
Add CI job which runs recorder tests on MariaDB (#80586)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-10-19 13:04:28 +02:00
Marc Mueller 8d4c32e106
Update pip constraint to 22.4 (#80383) 2022-10-16 12:01:11 +02:00
Shay Levy d3840a04b5
Remove quality scale checkboxes from pull request template (#80298) 2022-10-14 11:00:30 +02:00
Kevin Cathcart 6470a6b203
Update issue report link for installation type (#80300)
Update link for installation type
2022-10-14 09:48:45 +02:00
Marc Mueller be46702a53
Replace deprecated set-output commands [ci] (#80259) 2022-10-13 23:47:59 +02:00
Marc Mueller e721d8ed02
Bump actions/cache from 3.0.10 to 3.0.11 (#80260) 2022-10-13 22:49:10 +02:00
Marc Mueller e1ac8acf87
Bump CI cache version (#80265) 2022-10-13 17:32:53 +02:00
dependabot[bot] 394246abab
Bump dorny/paths-filter from 2.11.0 to 2.11.1 (#80228)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 09:57:07 +02:00
dependabot[bot] 3c125c4b65
Bump docker/login-action from 2.0.0 to 2.1.0 (#80227)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-13 09:29:47 +02:00
dependabot[bot] 6e2786ae1c
Bump dorny/paths-filter from 2.10.2 to 2.11.0 (#80151)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-12 12:05:36 +02:00
Marc Mueller bcbf99243d
Use setup-python check-latest option [ci] (#80078) 2022-10-11 13:54:55 +02:00
dependabot[bot] 884577e622
Bump actions/setup-python from 4.1.0 to 4.3.0 (#80068)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.1.0 to 4.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.1.0...v4.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-11 09:00:36 +02:00
dependabot[bot] 881c2a4956
Bump actions/stale from 6.0.0 to 6.0.1 (#79977)
Bumps [actions/stale](https://github.com/actions/stale) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 10:02:19 +02:00
dependabot[bot] 42ca4764a0
Bump actions/checkout from 3.0.2 to 3.1.0 (#79635)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.0.2...v3.1.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-05 10:53:27 +03:00
dependabot[bot] 78f64ac3af
Bump actions/cache from 3.0.9 to 3.0.10 (#79574)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-04 09:30:53 +02:00
dependabot[bot] 1cb5a45379
Bump actions/cache from 3.0.8 to 3.0.9 (#79344)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-30 08:52:49 +02:00
Franck Nijhof 99f4ce9e5a
Bump version to 2022.11.0dev0 (#79224) 2022-09-28 21:51:06 +02:00
dependabot[bot] 9f62a29928
Bump actions/stale from 5 to 6.0.0 (#78922)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-09-22 10:48:34 +02:00
Marc Mueller 6f782628b9
Pin Python patch versions [ci] (#78830) 2022-09-20 20:24:39 +02:00
dependabot[bot] e05ca87cc7
Bump codecov/codecov-action from 3.1.0 to 3.1.1 (#78812)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 09:49:15 +02:00
Marc Mueller 4da08ee1e9
Fix CI workflow caching (#78398) 2022-09-13 15:01:46 -04:00
dependabot[bot] a5fa34b4bb
Bump home-assistant/builder from 2022.07.0 to 2022.09.0 (#78103)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-13 14:32:37 +02:00
Martin Hjelmare f9a3757d71
Bump ci env HA_SHORT_VERSION (#77644) 2022-09-01 10:24:51 +02:00
dependabot[bot] bf5ab64b99
Bump actions/cache from 3.0.7 to 3.0.8 (#77196)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 12:37:28 +02:00
dependabot[bot] 4fc1d59b74
Bump actions/cache from 3.0.6 to 3.0.7 (#76648)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-13 18:55:09 +02:00
dependabot[bot] bcc2be344a
Bump actions/cache from 3.0.5 to 3.0.6 (#76432)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-08 11:27:36 +02:00
Franck Nijhof 7659555ce5
Bump version to 2022.9.0dev0 (#75818) 2022-07-27 15:55:52 +02:00
Marc Mueller c0e6852077
Update pip version range to 22.3 (#75572) 2022-07-24 21:11:30 +02:00
Franck Nijhof b60f6c7cdd
Bump pip_check (#75164) 2022-07-14 11:50:21 +02:00
dependabot[bot] 3ca04aa33b
Bump actions/cache from 3.0.4 to 3.0.5 (#75104)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-13 08:40:43 +02:00
dependabot[bot] dfe840c045
Bump actions/setup-python from 4.0.0 to 4.1.0 (#75040)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-12 08:51:24 +02:00
Franck Nijhof 3f8cfa3b0a
Always run pip_check in CI (#74706) 2022-07-08 12:39:29 +02:00
Franck Nijhof 46beae9061
Bump number of test groups from 6 -> 10 (#74648) 2022-07-07 20:55:47 +02:00
Franck Nijhof 68ccb96089
Refactor CI (#74014) 2022-07-07 18:53:24 +02:00
Franck Nijhof 4604694255
Add deprecation to PR template (#74583) 2022-07-07 11:40:17 +02:00
dependabot[bot] 2ee5ac02cf
Bump home-assistant/builder from 2022.06.2 to 2022.07.0 (#74446)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 09:50:36 +02:00