Commit graph

285 commits

Author SHA1 Message Date
J. Nick Koston f0118b3d30
Bump cryptography to 39.0.1 for CVE-2023-23931 (#87658)
Bump cryptography to 39.0.1

CVE-2023-23931
2023-02-07 20:30:16 -05:00
Marc Mueller 04b921e3b5
Update pip constraint to 23.1 (#87331) 2023-02-03 21:02:35 +01:00
Malte Franken a2fb6fbaa8
Bump httpx to 0.23.3 (#86614)
fixes undefined
2023-01-25 11:40:46 +01:00
epenet 91c502ae55
Bump bcrypt to 4.0.1 (#86338) 2023-01-21 11:16:28 -05:00
Franck Nijhof b85d6e6ede
Update orjson to 3.8.5 (#86043) 2023-01-16 22:20:12 +01:00
J. Nick Koston 8b893b7062
Bump cryptography to 39.0.0 (#85846)
* Bump cryptography to 39.0.0

changelog: https://github.com/pyca/cryptography/compare/38.0.3...39.0.0

The change that is significant is https://github.com/pyca/cryptography/pull/7601 which
should help with esphome noise encryption performance

* constraints

* fix botocore not loading
2023-01-13 19:58:01 -05:00
Franck Nijhof 83f6e168e5
Update orjson to 3.8.4 (#85195) 2023-01-05 12:34:23 +01:00
J. Nick Koston a9640d9c94
Bump home-assistant-bluetooth to 1.9.2 (#85123) 2023-01-04 18:29:26 +01:00
J. Nick Koston b470c3484b
Bump httpx to 0.23.2 (#85023)
changelogs:
https://github.com/encode/httpcore/compare/0.16.2...0.16.3
https://github.com/encode/httpx/compare/0.23.1...0.23.2
2023-01-02 20:45:52 -05:00
J. Nick Koston 3dd342baf3
Bump home-assistant-bluetooth to 1.9.1 (#85005)
fixes #83722
2023-01-02 16:33:01 -05:00
Franck Nijhof 9b3d727e8e
Update orjson to 3.8.3 (#84878) 2022-12-31 00:58:02 +01:00
Franck Nijhof f84533838a
Update attrs to 22.2.0 (#84772) 2022-12-29 15:09:39 +01:00
Franck Nijhof f17a42dc27
Upgrade ciso8601 to 2.3.0 (#84465) 2022-12-22 15:01:59 -05:00
Aaron Godfrey fe2e357ae9
Upgrade attrs to 22.1.0 (#84205) 2022-12-19 12:40:30 +01:00
Paulus Schoutsen 1c0543bcd5
Drop aiohttp to 3.8.1 (#83795) 2022-12-11 21:19:02 -05:00
J. Nick Koston 9008006ac8
Restore remote discovered devices between remote scanner restarts (#83699) 2022-12-11 09:02:55 -10:00
Franck Nijhof 35e81cf982
Update aiohttp to 3.8.3 (#78860) 2022-11-28 20:42:10 +01:00
uvjustin 9390359fe3
Bump httpx to 0.23.1 (#82725) 2022-11-26 10:04:22 -10:00
J. Nick Koston 4b89d087bb
Bump home-assistant-bluetooth to 1.8.1 (#82222)
changelog: https://github.com/home-assistant-libs/home-assistant-bluetooth/compare/v1.8.0...v1.8.1
2022-11-16 23:08:17 +02:00
J. Nick Koston 682187541f
Move BluetoothServiceInfoBleak to home_assistant_bluetooth (#82064) 2022-11-15 14:00:52 -06:00
Franck Nijhof 7556f2b84e
Update cryptography to 38.0.3 (#81455) 2022-11-03 11:18:25 +01:00
Franck Nijhof d65e639f00
Update orjson to 3.8.1 (#81000) 2022-10-26 12:40:15 +02:00
Marc Mueller 8d4c32e106
Update pip constraint to 22.4 (#80383) 2022-10-16 12:01:11 +02:00
J. Nick Koston d12cbab6c4
Bump bleak to 0.19.0 (#80349) 2022-10-15 13:57:23 -04:00
Marc Mueller 647a4ac131
Update typing-extensions constraint to >=4.4.0 (#79860) 2022-10-08 18:32:46 +03:00
Paulus Schoutsen f41b69e19e
Bump cryptography to 38 (#79067) 2022-09-25 17:39:42 -04:00
Franck Nijhof a81bb10ff9
Update yarl to 1.8.1 (#78866) 2022-09-21 13:59:42 +02:00
Franck Nijhof 774d5138ca
Update PyJWT to 2.5.0 (#78776) 2022-09-20 20:17:49 +02:00
Joakim Sørensen a38d998000
Bump awesomeversion from 22.8.0 to 22.9.0 (#78525) 2022-09-15 14:05:34 +02:00
Joakim Sørensen 0caf998547
Bump awesomeversion from 22.6.0 to 22.8.0 (#77436) 2022-08-28 14:52:23 -04:00
Franck Nijhof b4323108b1
Update cryptography to 37.0.4 (#76853) 2022-08-17 09:41:50 +02:00
Franck Nijhof 33bf94c4b2
Update orjson to 3.7.11 (#76171) 2022-08-04 22:37:57 +03:00
Marc Mueller c0e6852077
Update pip version range to 22.3 (#75572) 2022-07-24 21:11:30 +02:00
Franck Nijhof 2db8b154c9
Update orjson to 3.7.8 (#75484) 2022-07-20 11:39:07 +02:00
J. Nick Koston ba8a530d19
Use shared bluetooth models for BluetoothServiceInfo (#75322) 2022-07-16 21:14:23 -07:00
Franck Nijhof d697bb53c5
Update lru-dict to 1.1.8 (#74932) 2022-07-11 00:11:43 +02:00
Paulus Schoutsen 010b18be34
Bump atomicwrites (#74758) 2022-07-08 14:17:56 -07:00
Franck Nijhof 4261595078
Update orjson to 3.7.7 (#74581) 2022-07-07 11:00:34 +02:00
J. Nick Koston 332cf3cd2d
Resolve and caches paths for CachingStaticResource in the executor (#74474) 2022-07-06 13:49:48 -05:00
Franck Nijhof 42533ebbb3
Update requests to 2.28.1 (#74210) 2022-06-29 20:40:58 -05:00
J. Nick Koston df357962b3
Bump orjson to 3.7.5 (#74083) 2022-06-27 21:59:08 -07:00
Joakim Sørensen a94579107c
Bump awesomeversion from 22.5.2 to 22.6.0 (#74030) 2022-06-27 11:38:40 +02:00
J. Nick Koston 8b067e83f7
Initial orjson support take 3 (#73849)
* Initial orjson support take 2

Still need to work out problem building wheels

--

Redux of #72754 / #32153 Now possible since the following is solved:
ijl/orjson#220 (comment)

This implements orjson where we use our default encoder.  This does not implement orjson where `ExtendedJSONEncoder` is used as these areas tend to be called far less frequently.  If its desired, this could be done in a followup, but it seemed like a case of diminishing returns (except maybe for large diagnostics files, or traces, but those are not expected to be downloaded frequently).

Areas where this makes a perceptible difference:
- Anything that subscribes to entities (Initial subscribe_entities payload)
- Initial download of registries on first connection / restore
- History queries
- Saving states to the database
- Large logbook queries
- Anything that subscribes to events (appdaemon)

Cavets:
orjson supports serializing dataclasses natively (and much faster) which
eliminates the need to implement `as_dict` in many places
when the data is already in a dataclass. This works
well as long as all the data in the dataclass can also
be serialized. I audited all places where we have an `as_dict`
for a dataclass and found only backups needs to be adjusted (support for `Path` needed to be added for backups).  I was a little bit worried about `SensorExtraStoredData` with `Decimal` but it all seems to work out from since it converts it before it gets to the json encoding cc @dgomes

If it turns out to be a problem we can disable this
with option |= [orjson.OPT_PASSTHROUGH_DATACLASS](https://github.com/ijl/orjson#opt_passthrough_dataclass) and it
will fallback to `as_dict`

Its quite impressive for history queries
<img width="1271" alt="Screen_Shot_2022-05-30_at_23_46_30" src="https://user-images.githubusercontent.com/663432/171145699-661ad9db-d91d-4b2d-9c1a-9d7866c03a73.png">

* use for views as well

* handle UnicodeEncodeError

* tweak

* DRY

* DRY

* not needed

* fix tests

* Update tests/components/http/test_view.py

* Update tests/components/http/test_view.py

* black

* templates
2022-06-22 21:59:51 +02:00
Franck Nijhof 99db2a5afe
Update requests to 2.28.0 (#73406)
* Update requests to 2.28.0

* Fix mypy warning

* Fix Facebook messenger tests
2022-06-14 12:21:32 +02:00
J. Nick Koston c365454afb
Revert "Initial orjson support (#72754)" (#72789)
This was causing the wheels to fail to build. We need
to workout why when we don't have release pressure

This reverts commit d9d22a9556.
2022-05-31 13:51:55 -07:00
J. Nick Koston d9d22a9556
Initial orjson support (#72754) 2022-05-31 12:18:11 -07:00
Joakim Sørensen 9fe4aef4bc
Bump awesomeversion from 22.5.1 to 22.5.2 (#72624) 2022-05-27 14:37:19 -07:00
uvjustin 01b5f98414
Bump httpx to 0.23.0 (#72573)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-26 21:20:37 -10:00
Franck Nijhof ea05bd8c2e
Allow for using pip 22.1(.x) (#72348) 2022-05-23 11:58:19 +02:00
Franck Nijhof 514e7708b3
Update PyJWT to 2.4.0 (#71928) 2022-05-16 07:38:01 -07:00
Joakim Sørensen f7a2a6ea21
Bump awesomeversion from 22.2.0 to 22.5.1 (#71933) 2022-05-16 12:26:54 +02:00
Franck Nijhof 0a9a86f973
Update jinja2 to 3.1.2 (#71780) 2022-05-13 13:38:20 +02:00
Andrzej Raczkowski bf9467ad7b
Bump cryptography to 36.0.2 (#70438) 2022-04-22 19:50:45 -10:00
Fabian Affolter 19e21cad60
Upgrade voluptuous to 0.13.1 (#70007) 2022-04-14 00:51:39 +03:00
epenet c22a08334c
Bump voluptuous to 0.13.0 (#68897)
* Bump voluptuous to v0.13.0

* Update DEPENDENCY_CONFLICTS

* Update following python_awair bump

* Revert "Update following python_awair bump"

This reverts commit 089bd7b449.

* Revert "Update DEPENDENCY_CONFLICTS"

This reverts commit ddd83212b8.

* Test fail-fast

* Revert "Test fail-fast"

This reverts commit 446e104a24.
2022-04-01 11:42:21 +03:00
Franck Nijhof 91404041e0
Update jinja2 to 3.1.1 (#68988) 2022-03-31 15:54:13 -07:00
kaareseras 1f2bfcf12e
Bump PyJWT from 2.1.0 to 2.3.0 (#68858) 2022-03-30 13:34:40 +02:00
Franck Nijhof cfa8f99b1c
Update jinja2 to 3.1.0 (#68625) 2022-03-24 22:23:03 +01:00
uvjustin a81fa31314
Bump httpx and httpcore (#67438) 2022-03-01 09:17:25 -10:00
Joakim Sørensen d97da2fd49
Bump awesomeversion from 22.1.0 to 22.2.0 (#67107) 2022-02-23 13:37:07 +01:00
Franck Nijhof da3024e162
Upgrade to newer Python pip>=21.0 (#59769) 2022-02-07 15:12:04 +01:00
Marc Mueller d8f167bbac
Remove backports.zoneinfo dependency (#65069) 2022-01-27 09:59:27 -08:00
uvjustin 3b3a8db291
Bump httpx to 0.21.3 and pin requirements for httpcore, anyio, and h11 (#64822) 2022-01-24 10:43:39 +01:00
Marc Mueller c7e05cb44a
Upgrade yarl to 1.7.2 (#64009) 2022-01-12 14:07:11 -10:00
Marc Mueller 1dfb929986
Upgrade async_timeout to 4.0.2 (#64008) 2022-01-13 00:49:31 +01:00
Joakim Sørensen fa15f91dbf
Bump awesomeversion to 22.1.0 (#63676) 2022-01-08 16:25:13 +01:00
Franck Nijhof 469b6a0eb1
Update requests to 2.27.1 (#63552) 2022-01-06 19:15:17 +01:00
Marc Mueller 53496c019c
Start using ParamSpec for decorator functions (#63148) 2022-01-04 18:37:46 +01:00
Paulus Schoutsen 02ad5f3779
Bump voluptuous_serialize to 2.5.0 (#62363) 2021-12-19 22:28:15 -08:00
Franck Nijhof d7bf8a7ac3
Upgrade aiohttp to 3.8.1 (#60778) 2021-12-01 19:45:16 +01:00
Joakim Sørensen dc98791963
Bump awesomeversion from 21.10.1 to 21.11.0 (#60401) 2021-11-26 12:06:50 +01:00
uvjustin bb731fad5d
Bump httpx from 0.19.0 to 0.21.0 (#59723)
* Bump httpx from 0.19.0 to 0.21.0

* Bump respx from 0.17.0 to 0.19.0
2021-11-18 18:11:46 +08:00
Simone Chemelli 5fc51130ea
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 4 (#58669)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-15 09:18:57 -08:00
J. Nick Koston 96f7b0d910
Use atomicwrites for mission critical core files (#59606) 2021-11-15 11:19:31 +01:00
J. Nick Koston 9769a8c08e
Revert "Bump async_timeout to 4.0.1" (#59601) 2021-11-12 23:47:39 -08:00
J. Nick Koston 8de0c7204a
Bump async_timeout to 4.0.1 (#59565) 2021-11-11 21:13:15 -08:00
Pascal Vizeli 6636287c59
Bump cryptography 35.0.0 (#59541) 2021-11-11 18:27:22 +01:00
Franck Nijhof 1910c0566c
Upgrade jinja2 to 3.0.3 (#59468) 2021-11-10 11:04:42 +01:00
J. Nick Koston 10d6247fee
Bump to aiohttp 3.8.0 (#58974) 2021-11-04 10:07:50 -05:00
Joakim Sørensen 23e362faf3
Bump awesomeversion from 21.8.1 to 21.10.1 (#58258) 2021-10-23 14:00:18 +02:00
Franck Nijhof 5cd2167924
Upgrade pyyaml to 6.0 (#57648) 2021-10-14 09:29:31 +02:00
Franck Nijhof 3645568dcc
Upgrade jinja2 to 3.0.2 (#57095) 2021-10-05 11:03:51 +02:00
Fabian Affolter 44a4507b51
Upgrade requests to 2.26.0 (#56683)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-26 21:44:28 -05:00
Fabian Affolter 115d34f55a
Set certifi to >=2021.5.30 (#56679)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-26 21:19:30 -05:00
Fabian Affolter 2326e3ed94
Upgrade voluptuous to 0.12.2 (#56680) 2021-09-26 18:59:00 +02:00
Fabian Affolter a0a359e2ef
Upgrade ciso8601 to 2.2.0 (#56678) 2021-09-26 14:47:29 +02:00
Pascal Vizeli 7698c179ac
Upgrade cryptography to 3.4.8 (#56481)
* Upgrade cryptography to 3.4.8

* Fix file
2021-09-21 11:06:52 +02:00
Ruslan Sayfutdinov a9ed4fa405
Bump awesomeversion to 21.8.1 (#55817) 2021-09-11 11:40:46 -07:00
Ruslan Sayfutdinov 7195b8222b
Bump PyJWT to 2.1.0 (#55911) 2021-09-07 20:59:02 -07:00
Paulus Schoutsen 19c54b8cbf
Drop unused ruamel (#55672) 2021-09-03 22:17:10 -07:00
J. Nick Koston 6f75a853f8
Bump httpx to 0.19.0 (#55106)
* Bump httpx to 0.19.0

* regen constraints
2021-08-23 20:27:53 -07:00
J. Nick Koston 0ce071e0a4
Bump httpx to 0.18.2 (#53257) 2021-07-20 21:47:13 -07:00
Paulus Schoutsen f3b2624be3
Pin jinja (#51434) 2021-06-03 23:12:39 +02:00
Matt Zimmerman e964c607a3
jinja2.contextfilter decorator renamed to pass_context (#51007)
* jinja2.contextfilter decorator renamed to pass_context

* bump jinja2 dependency
2021-05-24 17:38:37 +02:00
Joakim Sørensen 2f10f59717
Block custom integrations with missing or invalid version (#49916) 2021-05-17 15:48:41 +02:00
Paulus Schoutsen f8584c3ded
Use zoneinfo instead of dateutil (#50387)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-10 08:32:29 -07:00
Franck Nijhof 3745056751
Upgrade attrs to 21.2.0 (#50374) 2021-05-09 22:13:09 +02:00
J. Nick Koston bf2d40adfe
Migrate from pytz to python-dateutil (#49643)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-07 22:46:26 -07:00
J. Nick Koston dcb5b9f8b5
Bump httpx to 0.18.0 and respx to 0.17.0 (#49805) 2021-04-28 11:22:09 +02:00
FMKaiba 09eb74fd9d
Upgrade Astral to 2.2 (#48573) 2021-04-02 00:29:08 +02:00