Marc Mueller
0fe7aa1a43
Update bcrypt to 4.1.3 ( #122236 )
2024-07-20 13:06:22 +02:00
Marc Mueller
13da20ddf4
Update Pillow to 10.4.0 ( #122237 )
2024-07-20 12:58:49 +02:00
Sid
4620a54582
Bump Ruff to 0.5.3 ( #122167 )
2024-07-19 12:06:53 +02:00
Sid
3b95e88ff7
Bump ruff to 0.5.2 ( #121946 )
2024-07-15 09:00:48 +02:00
Sid
3142f52a79
Add Ruff refurb rules ( #121701 )
2024-07-10 21:47:40 +02:00
Sid
319fdf42c3
Enable Ruff RUF017 ( #121693 )
2024-07-10 21:09:47 +02:00
J. Nick Koston
89ffee9ad5
Update ulid-transform to 0.10.1 ( #121321 )
2024-07-05 14:07:39 -05:00
Franck Nijhof
afb184db73
Remove coveragerc ( #121286 )
2024-07-05 11:03:31 +02:00
J. Nick Koston
aa74ad0061
Enable ruff asyncio event loop blocking detection rules ( #120799 )
2024-07-04 04:17:57 -05:00
J. Nick Koston
bdc6805771
Bump orjson to 3.10.6 ( #121028 )
2024-07-02 13:17:25 -07:00
Marc Mueller
0e52d149e4
Update voluptuous to 0.15.2 ( #120631 )
...
* Update voluptuous to 0.15.1
* Fix typing issues
* Add type ignores for json result type
* Update voluptuous to 0.15.2
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-07-02 12:57:09 -07:00
Joost Lekkerkerker
b56c4a757c
Bump ruff to 0.5.0 ( #120749 )
2024-06-28 15:23:21 +02:00
Joakim Sørensen
5634741ce2
Bump awesomeversion from 24.2.0 to 24.6.0 ( #120642 )
2024-06-27 10:27:20 +02:00
Franck Nijhof
33b4f40b2a
Bump version to 2024.8.0dev0 ( #120577 )
2024-06-26 16:55:08 +02:00
epenet
fd67fe417e
Use ruff to force alias when importing PLATFORM_SCHEMA ( #120539 )
2024-06-26 14:22:52 +02:00
epenet
4bfecea2f4
Force alias when importing notify PLATFORM_SCHEMA ( #120494 )
2024-06-26 10:02:24 +02:00
Denis Shulyaka
2386ed3830
Add script llm tool ( #118936 )
...
* Add script llm tool
* Add tests
* More tests
* more test
* more test
* Add area and floor resolving
* coverage
* coverage
* fix ColorTempSelector
* fix mypy
* fix mypy
* add script reload test
* Cache script tool parameters
* Make custom_serializer a part of api
---------
Co-authored-by: Michael Hansen <mike@rhasspy.org>
2024-06-25 10:43:26 -05:00
J. Nick Koston
1e3ee8419f
Bump async-interrupt to 1.1.2 ( #120321 )
2024-06-24 18:41:42 +02:00
J. Nick Koston
dd379a9a0a
Bump aiozoneinfo to 0.2.1 ( #120319 )
2024-06-24 18:39:38 +02:00
J. Nick Koston
eab1dc5255
Bump home-assistant-bluetooth to 1.12.2 ( #120338 )
2024-06-24 17:38:17 +02:00
J. Nick Koston
e6cb68d199
Bump aiohttp-fast-zlib to 0.1.1 ( #120315 )
2024-06-24 14:33:16 +02:00
Marc Mueller
a76fa9f3bf
Update pytest warnings filter ( #120143 )
2024-06-22 10:45:18 +02:00
Marc Mueller
1aa9094d3d
Adjust hddtemp test Telnet patch location ( #120121 )
2024-06-21 23:19:47 +02:00
epenet
325a49e8ff
Enable pylint on tests ( #119279 )
...
* Enable pylint on tests
* Remove jobs==1
2024-06-20 16:02:49 +02:00
J. Nick Koston
a642454e6f
Bump sqlalchemy to 2.0.31 ( #119951 )
2024-06-19 08:09:04 +02:00
epenet
0ff0022877
Ignore use-implicit-booleaness-not-comparison pylint warnings in tests ( #119876 )
2024-06-18 12:00:24 +02:00
J. Nick Koston
57308599cd
Bump aiozoneinfo to 0.2.0 ( #119845 )
2024-06-17 19:05:44 +02:00
Sid
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00
Marc Mueller
00f78dc522
Update typing-extensions to 4.12.2 ( #119098 )
2024-06-07 22:06:51 +02:00
J. Nick Koston
1bda33b1e9
Bump home-assistant-bluetooth to 1.12.1 ( #119026 )
2024-06-07 13:48:36 -05:00
G Johansson
c60dee16bc
Ignore deprecation warning in python-holidays ( #119007 )
2024-06-07 09:21:04 +02:00
Marc Mueller
c3456215b8
Update requests to 2.32.3 ( #118868 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-06 17:11:49 +02:00
Sid
121bfc9766
Bump ruff to 0.4.8 ( #118894 )
2024-06-06 12:05:35 +02:00
J. Nick Koston
e37ee68434
Bump cryptography to 42.0.8 ( #118889 )
2024-06-06 10:20:39 +02:00
J. Nick Koston
a0957069f0
Revert "Bump orjson to 3.10.3 ( #116945 )" ( #118920 )
...
This reverts commit dc50095d06
.
2024-06-05 23:37:35 -04:00
Joakim Sørensen
53ab215dfc
Update hass-nabucasa to version 0.81.1 ( #118768 )
2024-06-04 06:27:54 +02:00
Marc Mueller
e485a0c6f2
Update typing-extensions to 4.12.1 ( #118615 )
2024-06-01 22:26:23 +02:00
Sid
daadc4662a
Bump ruff to 0.4.7 ( #118612 )
2024-06-01 20:04:04 +02:00
Franck Nijhof
eca8dd93c5
Bump version to 2024.7.0dev0 ( #118399 )
2024-05-29 20:54:49 +02:00
Sid
f37edc207e
Bump ruff to 0.4.6 ( #118384 )
2024-05-29 17:35:54 +02:00
Robert Resch
cb62f4242e
Remove strict connection ( #117933 )
2024-05-24 15:50:22 +02:00
Marc Mueller
01ace8cffd
Update typing-extensions to 4.12.0 ( #118020 )
2024-05-24 10:00:43 +02:00
Marc Mueller
dc47792ff2
Update codespell to 2.3.0 ( #118001 )
2024-05-24 08:22:29 +02:00
Sid
c2b3bf3fb9
Enable Ruff RET502 ( #115139 )
2024-05-21 22:19:33 +02:00
Marc Mueller
32bf02479b
Enable UP040 ruff check ( #117792 )
2024-05-20 15:57:03 +02:00
J. Nick Koston
5a609c34bb
Fix blocking I/O in the event loop when loading timezones ( #117721 )
2024-05-20 11:06:03 +02:00
Marc Mueller
e48cf6fad2
Update pylint to 3.2.2 ( #117770 )
2024-05-20 09:59:22 +02:00
Joakim Sørensen
535aa05c65
Update hass-nabucasa dependency to version 0.81.0 ( #117568 )
2024-05-16 11:08:01 -04:00
Marc Mueller
2a6a0e6230
Update pytest warnings filter ( #117413 )
2024-05-14 13:59:45 +02:00
Sid
e4a3cab801
Bump ruff to 0.4.4 ( #117154 )
2024-05-09 22:13:11 +02:00
Sid
fe9e5e4382
Ignore Ruff SIM103 ( #115732 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-08 23:56:59 +02:00
Sid
ac54cdcdb4
Enable Ruff RUF010 ( #115371 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-05-08 23:54:49 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
Marc Mueller
f9755f5c4c
Update jinja2 to 3.1.4 ( #116986 )
2024-05-07 13:56:11 +02:00
J. Nick Koston
fd52588565
Bump SQLAlchemy to 2.0.30 ( #116964 )
2024-05-07 10:42:13 +02:00
J. Nick Koston
dc50095d06
Bump orjson to 3.10.3 ( #116945 )
2024-05-06 22:45:23 +02:00
Sid
b456d97e65
Replace pylint protected-access with Ruff SLF001 ( #115735 )
2024-05-06 20:33:26 +02:00
J. Nick Koston
673bbc1372
Switch out aiohttp-isal for aiohttp-fast-zlib to make isal optional ( #116814 )
...
* Switch out aiohttp-isal for aiohttp-fast-zlib to make isal optional
aiohttp-isal does not work on core installs where the system has 32bit userland and a 64bit kernel because we have no way to detect this configuration or handle it.
fixes #116681
* Update homeassistant/components/isal/manifest.json
* Update homeassistant/components/isal/manifest.json
* hassfest
* isal
* fixes
* Apply suggestions from code review
* make sure isal is updated before http
* fix tests
* late import
2024-05-05 17:06:12 -04:00
J. Nick Koston
a2a8cf6361
Bump aiohttp-isal to 0.3.1 ( #116720 )
2024-05-04 10:29:00 -05:00
Sid
a5df229715
Bump ruff to 0.4.3 ( #116749 )
2024-05-04 11:56:40 +02:00
Sid
e662e3b65c
Bump ruff to 0.4.2 ( #116201 )
...
* Bump ruff to 0.4.2
* review comments
2024-04-26 08:48:32 +02:00
J. Nick Koston
98eb9a4067
Revert orjson to 3.9.15 due to segmentation faults ( #116168 )
2024-04-25 11:15:57 -05:00
Franck Nijhof
f2fe62d159
Bump version to 2024.6.0dev0 ( #116120 )
2024-04-24 23:16:48 +02:00
Sid
b37f7b1ff0
Enable Ruff RUF019 ( #115396 )
...
* Enable Ruff RUF019
* fix tado tests
* review comments
2024-04-24 07:23:24 +02:00
Sid
895f73d8e4
Enable Ruff A001 ( #115654 )
2024-04-21 23:25:27 +02:00
Sid
b450918f66
Bump ruff to 0.4.1 ( #115873 )
2024-04-20 21:35:02 +02:00
J. Nick Koston
0a78e9d4aa
Replace aiohttp-zlib-ng[isal] with aiohttp-isal ( #115777 )
...
* Replace aiohttp-zlib-ng[isal] with aiohttp-isal
The extra was causing wheel builds to fail
Since isal works on all of our supported platforms we can
always use it and drop the need for zlib-ng
https://github.com/home-assistant/core/actions/runs/8725019072
https://github.com/bdraco/aiohttp-isal
* typo
2024-04-17 19:46:15 +02:00
Erik Montnemery
e4280b2c00
Use aiohttp-zlib-ng[isal] ( #115767 )
2024-04-17 17:57:34 +02:00
J. Nick Koston
dae56222e9
Bump orjson to 3.10.1 ( #115728 )
...
changelog: https://github.com/ijl/orjson/compare/3.9.15...3.10.1
2024-04-17 09:13:55 +02:00
J. Nick Koston
34c3e523b4
Bump aiohttp to 3.9.5 ( #115727 )
...
changelog: https://github.com/aio-libs/aiohttp/compare/v3.9.4...v3.9.5
2024-04-17 09:10:06 +02:00
Sid
5f055a64bb
Enable Ruff B017 ( #115335 )
2024-04-15 22:25:09 +02:00
Sid
0200d1aa66
Unignore Ruff UP006, UP007 ( #115533 )
2024-04-14 00:26:58 -05:00
Sid
c24ae01a43
Unignore Ruff E731 ( #115564 )
2024-04-14 00:15:10 -05:00
Sid
3799d20d43
Enable Ruff B905 ( #114197 )
2024-04-14 00:14:26 -05:00
Marc Mueller
64a4d52b3c
Update pillow to 10.3.0 ( #115524 )
2024-04-13 18:26:33 +02:00
Sid
223fefbbfa
Enable Ruff RUF018 ( #115485 )
2024-04-13 09:56:33 +02:00
Sid
1a9ff8c8fa
Ignore Ruff RUF015 ( #115481 )
2024-04-13 09:46:04 +02:00
Sid
d74be6d5fe
Set Ruff RUF001-003 to ignore ( #115477 )
2024-04-13 00:51:36 +02:00
Sid
6d22dd073c
Bump ruff to 0.3.7 ( #115451 )
...
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-04-12 16:03:23 +02:00
Robert Resch
348e1df949
Add strict connection ( #112387 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-12 14:47:46 +02:00
Sid
9bf87329da
Enable Ruff FLY002 rule ( #115112 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-04-12 09:04:16 +02:00
J. Nick Koston
137514edb7
Bump aiohttp to 3.9.4 ( #110730 )
...
* Bump aiohttp to 3.9.4
This is rc0 for now but will be updated when the full release it out
* cleanup cruft
* regen
* fix tests (these changes are fine)
* chunk size is too small to read since boundry is now enforced
* chunk size is too small to read since boundry is now enforced
2024-04-11 11:58:56 -10:00
Marc Mueller
db38da8eb8
Update pytest warnings filter ( #115275 )
2024-04-11 23:35:15 +02:00
Sid
3efee10b95
Enable Ruff RUF013 ( #115333 )
2024-04-10 08:55:59 +02:00
Sid
d61db732da
Enable Ruff SLOT rules ( #115043 )
2024-04-09 18:57:27 -10:00
Sid
9cbed10372
Enable Ruff PYI041 ( #115229 )
2024-04-08 09:29:05 -10:00
Sid
cbbadf6256
Enable Ruff PYI036 ( #115228 )
2024-04-08 08:47:03 -10:00
Sid
376aafc83e
Enable Ruff INP001 ( #115082 )
2024-04-08 15:43:58 +02:00
Sid
f8b6629b26
Enable Ruff PGH rules ( #115091 )
2024-04-08 15:42:22 +02:00
Marc Mueller
53b4fd419a
Update build system dependencies ( #115102 )
2024-04-08 11:18:20 +02:00
Sid
8e98ba7312
Add first batch of Ruff PYI rules ( #115100 )
...
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-04-07 11:30:50 -10:00
Joakim Sørensen
df6997bfa9
Downgrade hass-nabucasa from 0.80.0 to 0.78.0 ( #115078 )
2024-04-07 08:20:58 -04:00
Marc Mueller
81d682874f
Update typing extensions to 4.11.0 ( #114985 )
2024-04-06 14:23:32 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
J. Nick Koston
f497c461ed
Switch to using the AsyncResolver with aiohttp ( #114529 )
...
* Bump aiodns to 3.2.0
changelog: https://github.com/saghul/aiodns/compare/v3.1.1...v3.2.0
* Switch to using the AsyncResolver with aiohttp
This avoids creating executor jobs to do DNS resolution
AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available
This is a backport of https://github.com/aio-libs/aiohttp/pull/8270
* Switch to using the AsyncResolver with aiohttp
This avoids creating executor jobs to do DNS resolution
AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available
This is a backport of https://github.com/aio-libs/aiohttp/pull/8270
* Switch to using the AsyncResolver with aiohttp
This avoids creating executor jobs to do DNS resolution
AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available
This is a backport of https://github.com/aio-libs/aiohttp/pull/8270
* Switch to using the AsyncResolver with aiohttp
This avoids creating executor jobs to do DNS resolution
AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available
This is a backport of https://github.com/aio-libs/aiohttp/pull/8270
* fixes
* fix mocking in next_dns
* fix unmocked calls in blink
* more mocking fixes
* more fixes
* more fixes
* Fix missing mocking in nextdns tests
extracted from #114539
* extract from context
2024-04-05 23:15:51 -04:00
Joakim Sørensen
96149d9444
Bump hass-nabucasa from 0.79.0 to 0.80.0 ( #114818 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-04-05 00:48:21 +02:00
Sid
d846676e84
Enable first batch of Ruff RET rules ( #114480 )
...
* Enable first batch of Ruff RET rules
* disable pylint rules
2024-03-31 11:30:59 +02:00
Sid
6587ee20db
Enable Ruff TRY300 ( #114437 )
...
* Enable Ruff TRY300
* Update validation.py
* Address review comments
2024-03-30 10:37:59 +01:00
Sid
a5b609f081
Enable ruff TRY401 ( #114395 )
...
* Enable ruff TRY401
* fix tests
2024-03-29 07:20:36 +01:00
Sid
5523cb6be8
Set ruff requires-version to 0.3.4 ( #114388 )
2024-03-28 18:45:07 +01:00
Marc Mueller
a3f251674a
Update romy to 0.0.9 ( #114360 )
2024-03-28 13:56:08 +01:00
Marc Mueller
68d6f96a9d
Update boschshcpy to 0.2.91 ( #114366 )
2024-03-28 12:41:30 +01:00
Marc Mueller
62816e2041
Update aiogithubapi to 23.11.0 ( #114362 )
2024-03-28 12:41:08 +01:00
Marc Mueller
41bd3d0853
Update pytile to 2023.12.0 ( #114370 )
2024-03-28 11:37:57 +01:00
Marc Mueller
d2b5769123
Update ovoenergy to 1.3.1 ( #114367 )
2024-03-28 11:29:31 +01:00
Marc Mueller
f0eca8233e
Update aprslib to 0.7.2 ( #114365 )
2024-03-28 11:28:28 +01:00
Marc Mueller
fa72d70726
Update aioazuredevops to 1.4.3 ( #114361 )
2024-03-28 11:08:38 +01:00
Marc Mueller
4d4d2850be
Update pyudev to 0.24.1 ( #114359 )
2024-03-28 11:01:12 +01:00
Sid
f7b7f74d10
Enable Ruff TRY201 ( #114269 )
...
* Enable Ruff TRY201
* remove redundant rules
2024-03-28 10:18:07 +01:00
Franck Nijhof
3d4733a026
Bump version to 2024.5.0dev0 ( #114324 )
2024-03-27 19:43:38 +01:00
Franck Nijhof
2388e2dda9
Drop Python 3.11 support ( #114220 )
2024-03-26 12:51:14 +01:00
Marc Mueller
d0ecad78ac
Revert "Update typing-extensions to 4.11.0rc1 ( #114116 )" ( #114216 )
2024-03-25 20:44:57 -10:00
J. Nick Koston
345fa75562
Bump SQLAlchemy to 2.0.29 ( #114208 )
2024-03-25 14:39:16 -10:00
Marc Mueller
188dbfbd2a
Update typing-extensions to 4.11.0rc1 ( #114116 )
2024-03-25 11:27:47 +01:00
Marc Mueller
1b6d1d58ec
Update pytest-cov to 5.0.0 ( #114160 )
...
* Update pytest-cov to 5.0.0
* Update warnings filter
2024-03-25 11:23:26 +01:00
Marc Mueller
18bb33e2d7
Update pyOpenSSL to 24.1.0 ( #114165 )
2024-03-25 11:15:47 +01:00
Marc Mueller
596ddbb6eb
Update pytest warnings filter ( #114036 )
2024-03-22 23:58:27 +01:00
Sid
8e1f57f663
Enable Ruff PT023, disable PT011, PT012, PT018 ( #113900 )
...
* Enable Ruff PT023
* Set mark parantheses to False
* Disable PT011, PT012, PT018
2024-03-21 09:43:27 +01:00
Sid
00ec7f11f0
Enable Ruff rule PT007 ( #113764 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-03-19 09:01:07 +01:00
Sid
727581eea3
Add first batch of Ruff PT rules ( #113665 )
...
* Add first batch of Ruff PT rules
* fix weather test
* Fix pilight test
* Update test_intent.py
* Update pilight test_init.py
* Update test_init.py
2024-03-18 13:26:14 +01:00
Sid
82a60fe8ad
Enable Ruff RSE ( #113695 )
2024-03-18 00:40:38 +01:00
Sid
295b4203a1
Re-ignore Ruff rule PLC1901 ( #113675 )
...
Re-ignore PLC1901
2024-03-17 16:04:40 +01:00
Sid
929bcb92e2
Add Ruff LOG rules ( #113677 )
...
* Add Ruff LOG rules
* Address review comment
* Update const.py
2024-03-17 15:59:49 +01:00
Sid
6113b99ddd
Replace pylint pointless-statement with ruff B018 ( #113582 )
...
* Replace pylint pointless-statement with ruff B018
* fix occurrences of B018
* disable pylint expression-not-assigned as well
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-17 10:58:14 +01:00
Sid
d5fd005db8
Add ruff rule PIE808 ( #113621 )
2024-03-17 09:56:26 +01:00
Sid
69564b1a17
Add ruff rule PIE800 ( #113619 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-16 16:31:30 -10:00
Sid
cede6af496
Consolidate ruff PL and Q rules ( #113555 )
2024-03-16 13:45:03 -10:00
Sid
11c570ea7b
Remove ignore for ruff PLC0208 ( #113537 )
2024-03-16 12:45:55 -10:00
Sid
fe9cc6705c
Add ruff rule PIE804 ( #113620 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-16 12:45:18 -10:00
Sid
0b9c9aff62
Add ruff rules PIE790, PIE794, PIE807, PIE810 ( #113617 )
2024-03-16 11:04:58 -10:00
Sid
6ee273a548
Clean up unneeded ruff noqa directives ( #113616 )
2024-03-16 09:48:37 -10:00
Sid
ccd2e989c3
Enable ruff RUF005 and fix occurrences ( #113589 )
2024-03-16 07:37:20 -10:00
Sid
27e844e3bf
Add ruff B005, B015, B032 and fix occurrences ( #113543 )
...
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-15 17:48:37 -10:00
Franck Nijhof
0e2775667d
Add category registry ( #110897 )
...
* Add category registry
* Add entity registry support
* Update homeassistant/components/config/entity_registry.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use ulid instead
* Add tests for adding same name in different scopes
* Handle keyerror on update
* Lookup tweak
* Omit categories from entity registry snapshots
* Use base registry
* Update snapshots
* Update snapshots
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-03-15 13:25:16 +01:00
Joost Lekkerkerker
606ee3c379
Enable PERF ruff rules ( #113408 )
2024-03-14 14:10:02 +01:00
Joakim Sørensen
a6594f8860
Bump hass-nabucasa from 0.78.0 to 0.79.0 ( #113405 )
2024-03-14 12:54:43 +01:00
Joost Lekkerkerker
7ae852e5ed
Enable ISC ruff rule ( #113270 )
2024-03-14 10:43:03 +01:00
Joost Lekkerkerker
2792a5f016
Enable even more SIM ruff rules ( #113017 )
...
* SIM202 SIM211 SIM220 SIM221 SIM222 SIM223
* SIM910 SIM911
* SIM
* Update homeassistant/components/mqtt/siren.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
* Update homeassistant/components/mqtt/siren.py
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
---------
Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2024-03-11 14:23:52 +01:00
Joost Lekkerkerker
cddce0ce0d
Enable more SIM ruff rules ( #113015 )
...
* SIM101 SIM103
* SIM107 SIM109
* SIM110
* SIM112 SIM113
* SIM115
* SIM116
* Fix
* Fix
* Fix
2024-03-10 23:20:37 -04:00
Lex Li
9974af39ac
Upgrade `pysnmp-lextudio` to version `6.0.9` ( #112795 )
2024-03-09 09:51:08 -10:00
Jim
d2effd8693
Bump python-telegram-bot package to 21.0.1 ( #110297 )
...
* Bump python-telegram-bot package version to the latest.
* PySocks is no longer required as python-telegram-bot doesn't use urllib3 anymore.
* Fix moved ParseMode import
* Update filters import to new structure.
* Refactor removed Request objects to HTTPXRequest objects.
* Update to support asyncc functions
* Update timeout to new kwarg
connect_timeout is the most obvious option based on current param description, but this may need changing.
* Compatibility typo.
* Make methods async and use Bot client async natively
* Type needs to be Optional
That's what the source types are from the library
Also handle new possibility of None value
* Add socks support version of the library
* Refactor load_data function
Update to be async friendly
Refactor to use httpx instead of requests.
* Refactor Dispatcher references to Application
This is the newer model of the same class.
* Make more stuff async-friendly.
* Update tests to refactor Dispatcher usage out.
* Remove import and reference directly
* Refactor typing method
* Use async_fire now we have async support
* Fix some over complicate inheritance.
* Add the polling test telegram_text event fired back in.
* Add extra context to comment
* Handler should also be async
* Use underscores instead of camelCase
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Renamed kwarg.
* Refactor current timeout param to be read timeout
Reading the old version of the library code I believe this matches the existing functionality best
* Combine unload methods into one listener
* Fix test by stopping HA as part of fixture
* Add new fixture to mock stop_polling call
Use this in all polling tests.
* No longer need to check if application is running
It was to stop a test failing.
* Make sure the updater is started in tests
Mock external call methods
Remove stop_polling mock.
* Use cleaner references to patched methods
* Improve test by letting the library create the Update object
* Mock component tear down methods to be async
* Bump mypy cache version
* Update dependency to install from git
Allows use as a custom component in 2024.3
Allows us to track mypy issue resolution.
* Update manifest and requirements for new python-telegram-bot release.
* Remove pytest filterwarnings entry for old version of python-telegram-bot library.
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-03-08 08:56:26 +01:00
Erik Montnemery
177d8f3209
Make hass-nabucasa a core requirement ( #112623 )
2024-03-07 17:11:45 +01:00
Joost Lekkerkerker
c8f39911cc
Enable some PERF rules ( #112498 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-03-06 17:50:41 +01:00
J. Nick Koston
73e1f8a7e5
Pre import image_upload to avoid loading it after asyncio has started ( #112444 )
...
image_upload will always be setup because its a dep of person
and since person is a dep of onboarding which is a dep of
frontend its already a base requirement for homeassistant.
Pillow is now listed as a requirement for homeassistant
so we can be sure it installed by the time bootstrap is
loaded
image_upload loading is currently a bottleneck to
get the frontend loaded because it has to load in the
import executor when everything is busy early in startup
2024-03-05 17:22:59 -05:00
J. Nick Koston
235771aaa2
Bump SQLAlchemy to 2.0.28 ( #112314 )
2024-03-05 12:14:30 -10:00
J. Nick Koston
40c0b4caf0
Import recorder and common recorder platforms before asyncio starts ( #112131 )
2024-03-03 22:03:30 -10:00
Bram Kragten
09c16ffb3d
Bump version to 2024.4.0.dev0 ( #111755 )
2024-02-29 00:46:32 +01:00
J. Nick Koston
49eb664a05
Update httpx to 0.27.0 and httpcore to 1.0.4 ( #111681 )
2024-02-27 13:15:33 -10:00
Marc Mueller
e854ce5c21
Update typing-extensions to 4.10.0 ( #111538 )
2024-02-27 12:33:31 +01:00
Marc Mueller
adbd9c8d40
Update python-slugify to 8.0.4 ( #111284 )
2024-02-27 12:29:48 +01:00
Marc Mueller
8c50e24056
Update bcrypt to 4.1.2 ( #111283 )
2024-02-25 22:22:50 +01:00
Marc Mueller
5206514538
Update ciso8601 to 2.3.1 ( #111389 )
2024-02-25 22:59:00 +02:00
J. Nick Koston
883d5a0842
Bump cryptography to 42.0.5 ( #111259 )
...
changelog: https://github.com/pyca/cryptography/compare/42.0.3...42.0.5
2024-02-24 08:49:46 +01:00
J. Nick Koston
5d6687503e
Bump orjson to 3.9.15 ( #111233 )
...
changelog: https://github.com/ijl/orjson/compare/3.9.14...3.9.15
2024-02-24 08:47:29 +01:00
Joost Lekkerkerker
730d805876
Enable SIM114 ruff rule ( #111125 )
2024-02-23 13:21:59 +01:00
J. Nick Koston
2f2cdedddd
Avoid creating multiple tasks for config entry init ( #110899 )
2024-02-20 21:57:36 -05:00
Franck Nijhof
e0a9dcd996
Add label registry ( #110821 )
2024-02-19 11:59:08 +01:00
Franck Nijhof
4570eed6f6
Add floor registry ( #110741 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-17 21:21:15 +01:00
J. Nick Koston
5292c3408e
Bump cryptography to 42.0.3 ( #110728 )
2024-02-16 20:37:40 +01:00
J. Nick Koston
25fac03705
Bump orjson to 3.9.14 ( #110552 )
...
changelog: https://github.com/ijl/orjson/compare/3.9.13...3.9.14
fixes a crasher due to buffer overread (was only partially fixed in 3.9.13)
2024-02-14 18:57:47 +01:00
Marc Mueller
defbe3c067
Update pytest warnings filter ( #110332 )
2024-02-12 11:30:41 +01:00
Marc Mueller
1adbddb754
Update pylint-per-file-ignores to 1.3.2 ( #110014 )
2024-02-08 17:40:30 +01:00
Joakim Sørensen
7c233c2bd0
Bump awesomeversion from 23.11.0 to 24.2.0 ( #109830 )
2024-02-06 21:57:00 +01:00
Marc Mueller
545b888034
Update ruff to 0.2.1 ( #109796 )
...
* Update ruff to 0.2.1
* Rename config sections
* Update remapped error codes
* Add ignores
2024-02-06 15:41:34 +01:00
Franck Nijhof
c14ad6455f
Update orjson to 3.9.13 ( #109614 )
2024-02-04 11:37:16 -06:00
Franck Nijhof
c868b79b5a
Update cryptography to 42.0.2 ( #109359 )
2024-02-02 10:37:04 +01:00
Franck Nijhof
d1c61c911d
Bump version to 2024.3.0dev0 ( #109238 )
2024-01-31 22:05:13 +01:00
Marc Mueller
8ad0226241
Update attrs to 23.2.0 ( #109115 )
2024-01-30 12:22:41 +01:00
J. Nick Koston
825fed8319
Bump aiohttp to 3.9.3 ( #109025 )
...
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-01-29 23:15:18 +01:00
Jan-Philipp Benecke
95aea1488d
Add pylint plugin to check if coordinator is placed in its own module ( #108174 )
...
* Add pylint plugin to check if coordinator is placed in its own module
* Remove unintended changes
* Remove pylint disable and let CI only fail on W,E,F
* Make check conventional
* Apply review suggestion
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use option instead
* Remove pylint arguments from pre-commit
* Partially revert "Remove pylint disable and let CI only fail on W,E,F"
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-01-29 10:30:19 +01:00
J. Nick Koston
601988ecf2
Bump cryptography to 42.0.1 and pyOpenSSL to 24.0.0 ( #108956 )
...
* Bump cryptography to 42.0.1
changes: https://github.com/pyca/cryptography/compare/41.0.7...42.0.1
Note that more of the non-rust backend code has been removed
I had to handle that in
https://github.com/bdraco/chacha20poly1305-reuseable/releases/tag/v0.12.1
So there may be other downstream consumers that have a problem
* need pyOpenSSL as well
* too early before coffee
2024-01-27 21:30:00 +01:00
Marc Mueller
0d8afc72c2
Update python-slugify to 8.0.1 ( #108373 )
2024-01-22 10:10:02 +01:00
J. Nick Koston
6d979d21a6
Bump orjson to 3.9.12 ( #108350 )
2024-01-19 11:36:48 +01:00
Jan-Philipp Benecke
28281523ec
Add pylint plugin to check for sorted platforms list ( #108115 )
2024-01-16 09:47:53 +01:00
Robert Resch
ede6e01808
Bump Jinja2 to 3.1.3 ( #108082 )
2024-01-15 12:10:17 +01:00
J. Nick Koston
a7d21c709d
Bump orjson to 3.9.10 ( #107898 )
2024-01-12 11:06:44 -10:00
J. Nick Koston
ce11366b9c
Bump bluetooth deps ( #107816 )
2024-01-12 09:45:49 +01:00
J. Nick Koston
86603b332a
Bump aiohttp-zlib-ng to 0.3.1 ( #107595 )
2024-01-08 13:24:57 -10:00
J. Nick Koston
8645d9c717
Bump aiohttp-zlib-ng to 0.3.0 ( #107184 )
2024-01-05 14:28:29 +01:00
Erik Montnemery
c805ea7b4f
Include deprecated constants in wildcard imports ( #107114 )
2024-01-05 11:46:45 +01:00
J. Nick Koston
40d034cd8c
Revert "Bump aiohttp-zlib-ng to 0.2.0 ( #106691 )" ( #107109 )
2024-01-04 15:34:43 +01:00
J. Nick Koston
e1f078b70a
Bump aiohttp-zlib-ng to 0.2.0 ( #106691 )
2024-01-02 20:50:26 +01:00
Sid
729a0fbcd5
Move urllib3 constraint to pyproject.toml ( #106768 )
2024-01-02 13:34:19 +01:00
Franck Nijhof
7ad44a02b7
Bump version to 2024.2.0dev0 ( #106504 )
2023-12-28 02:08:16 +01:00
J. Nick Koston
093c952c38
Bump aiohttp-zlib-ng to 0.1.3 ( #106489 )
...
Reverts the workaround that was created for #105254 since the original
issue is fixed in zlib_ng 0.3.0+ which the lib now requires as a minimum
version
2023-12-27 08:04:07 -10:00
Marc Mueller
f06d956da7
Update pytest warnings filter ( #106234 )
2023-12-22 14:52:31 +01:00
J. Nick Koston
e75357980a
Bump aiohttp-zlib-ng to 0.1.2 ( #106193 )
...
fixes #105254
2023-12-22 00:03:42 +01:00
Denis Shulyaka
9ba53e03ee
Bump httpx to 0.26.0 and httpcore to 1.0.2 ( #106194 )
2023-12-21 10:11:00 -10:00
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts ( #106080 )
...
* Disable Ruff rules that may conflict with the formatter
* Upgrade Ruff to 0.1.8
- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8
* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
J. Nick Koston
5c503683b7
Bump lru-dict to 1.3.0 ( #105914 )
...
* Bump lru-dict to 1.3.0
changelog: https://github.com/amitdev/lru-dict/compare/v1.2.0...v1.3.0
* fix typing
* quote types
* quote types
2023-12-18 00:16:31 +01:00
Marc Mueller
8549311d1d
Update feedparser to 6.0.11 ( #105857 )
2023-12-16 14:48:51 +01:00
J. Nick Koston
e2abd3b8d0
Bump bluetooth libraries ( #105522 )
2023-12-12 08:31:23 +01:00
Marc Mueller
6c2b3ef950
Update typing-extensions to 4.9.0 ( #105490 )
2023-12-11 17:30:24 +01:00
Marc Mueller
1eaf208450
Update freezegun to 1.3.1 ( #105377 )
2023-12-09 12:29:23 +01:00
Franck Nijhof
949ca6bafc
Update yarl to 1.9.4 ( #105282 )
2023-12-08 12:11:59 +01:00
Franck Nijhof
0a98a648bb
Bump version to 2024.1.0dev0 ( #104746 )
2023-11-29 21:29:11 +01:00
J. Nick Koston
608f4f7c52
Bump aiohttp to 3.9.1 ( #104176 )
2023-11-29 16:13:54 +01:00
Franck Nijhof
2a4a5d0a07
Update cryptography to 41.0.7 ( #104632 )
2023-11-28 12:09:12 +01:00
Ville Skyttä
04ba7fcbf4
Update leftover comment reference from black to ruff ( #104605 )
2023-11-27 21:42:11 +01:00
J. Nick Koston
74d7d02833
Bump aiohttp-fast-url-dispatcher to 0.3.0 ( #104592 )
2023-11-27 09:04:04 -06:00