Commit Graph

249 Commits

Author SHA1 Message Date
Franck Nijhof b1a3bfb298
Drop flake8 in favor of Ruff (#89863) 2023-03-17 13:30:06 +01:00
dependabot[bot] a591f64258
Bump actions/checkout from 3.3.0 to 3.4.0 (#89778)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 09:46:40 +01:00
dependabot[bot] e33cb2ee60
Bump actions/cache from 3.3.0 to 3.3.1 (#89617)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 09:10:47 +01:00
Erik Montnemery cf7e500a8e
Support translating entity names (#88242) 2023-03-12 15:55:04 +01:00
Marc Mueller 3c27f9ea7d
Update actions/cache to 3.3.0 (#89438) 2023-03-09 17:58:03 +01:00
dependabot[bot] b7846de311
Bump actions/setup-python from 4.3.0 to 4.5.0 (#88823)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.3.0 to 4.5.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v4.3.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 09:30:33 +01:00
dependabot[bot] 66b33e1090
Bump actions/checkout from 3.1.0 to 3.3.0 (#88824)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.1.0 to 3.3.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.1.0...v3.3.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 08:41:23 +01:00
Franck Nijhof aa3657e071
Bump version to 2023.4.0dev0 (#88630) 2023-02-22 21:29:49 +01:00
Marc Mueller 77ec6cb879
Update actions/cache to 3.2.6 (#88537) 2023-02-21 10:22:21 -06:00
Marc Mueller 306322704c
Update CI runner to ubuntu-22.04 (#88420) 2023-02-20 13:10:33 +01:00
Marc Mueller 39067f61e4
Sync pytest job needs [ci] (#88363) 2023-02-17 23:25:35 -06:00
Joakim Sørensen fa811da872
Use ubuntu-20.04 for Ruff lint job (#88355) 2023-02-17 23:07:02 +01:00
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 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
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
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
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
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 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] 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
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
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