Commit Graph

436 Commits (984bbf885198ff4d47a1d083806ef136bd7a7e6a)

Author SHA1 Message Date
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
Aarni Koskela 706add4a57
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Marc Mueller 6773c29ccc
Update aiohttp to 3.9.0 (Python 3.12) (#104152) 2023-11-18 08:53:49 -06:00
Marc Mueller b58af167a2
Update RestrictedPython to 7.0 (#104117) 2023-11-17 13:01:06 +01:00
J. Nick Koston 54c98f32c2
Bump aiohttp to 3.9.0rc0 for python 3.12 only (#103507)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2023-11-15 01:02:14 +01:00
J. Nick Koston d1f1bbe304
Migrate to using aiohttp-fast-url-dispatcher (#103656) 2023-11-09 17:23:33 +01:00
Joakim Sørensen a0f19f26c4
Bump awesomeversion from 23.8.0 to 23.11.0 (#103641) 2023-11-08 09:11:54 +01:00
Franck Nijhof 2b12a95607
Update cryptography to 40.0.5 (#103624) 2023-11-08 01:10:41 +01:00
Luke Lashley c13744f4cf
Remove MyQ Integration (#103565)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-11-07 14:11:54 +01:00
J. Nick Koston 45f5c21402
Speed up websocket and ingress with aiohttp-zlib-ng (#103247) 2023-11-02 15:18:12 -05:00
Franck Nijhof f28c9221e6
Bump version to 2023.12.0dev0 (#102798) 2023-10-25 20:37:16 +02:00
Marc Mueller eb52943d27
Update pytest to 7.4.3 (#102744) 2023-10-25 02:44:51 +02:00
J. Nick Koston 50c7587ab8
Bump ulid-transform to 0.9.0 (#102272) 2023-10-20 16:49:18 +02:00
J. Nick Koston 159b623b95
Bump orjson to 3.9.9 (#102267) 2023-10-19 01:48:05 +02:00
J. Nick Koston 20fdd45e60
Bump home-assistant-bluetooth to 1.10.4 (#102268) 2023-10-19 01:16:55 +02:00
Marc Mueller 02567d9bf6
Revert aiohttp to 3.8.5 for Python 3.11 (#101932) 2023-10-13 14:12:42 +02:00
Justin Lindh 5523e9947d
Bump Python-MyQ to v3.1.13 (#101852) 2023-10-12 10:42:40 +02:00
Michael Davie 7f7c3233bd
Bump env_canada to 0.6.0 (#101798) 2023-10-11 11:04:33 +02:00
Marc Mueller ba91aaa28d
Add support for Python 3.12 (#101651) 2023-10-10 21:34:49 +02:00
Marc Mueller 35293eb98b
Update matrix-nio to 0.22.1 (#101693) 2023-10-09 23:23:45 +02:00
Marc Mueller a21990f248
Update pytest warnings filter (#101710) 2023-10-09 21:07:16 +02:00
J. Nick Koston 6420cdb42b
Bump httpx to 0.25.0 and httpcore to 0.18.0 (#101635) 2023-10-08 19:08:04 +02:00
Marc Mueller 3155e62510
Update aiohttp to 3.9.0b0 (#101627) 2023-10-08 13:21:46 +02:00
Marc Mueller bd93fbe91d
Update aiohttp to 3.8.6 (#101590) 2023-10-07 18:14:08 +02:00
Michael Davie ca2e335ab9
Bump env_canada to v0.5.37 (#101435) 2023-10-05 07:11:17 +02:00
Marc Mueller 2d766d43fc
Prevent async_timeout import (#101378) 2023-10-04 18:19:19 +02:00
Franck Nijhof 2f0ba154b9
Update ruff to v0.0.292 (#101290) 2023-10-02 21:49:10 +02:00
Franck Nijhof 97f24b855f
Bump version to 2023.11.0dev0 (#101013) 2023-09-27 19:03:06 +02:00
Marc Mueller bd7a86a0a6
Remove async-timeout as core dependency (#100912) 2023-09-26 05:57:10 -05:00
Marc Mueller f837e6722c
Update cryptography to 41.0.4 (#100911) 2023-09-26 05:27:56 -05:00
Marc Mueller 37288d7788
Add pylint plugin to check for calls to base implementation (#100432) 2023-09-18 13:39:36 -05:00
Marc Mueller 306f39b053
Update pytest warnings filter (#100546) 2023-09-18 12:26:16 +02:00
Marc Mueller 08c4e82cf9
Update typing-extensions to 4.8.0 (#100545) 2023-09-18 11:58:47 +02:00
Franck Nijhof 85fafcad11
Update awesomeversion to 23.8.0 (#100349) 2023-09-14 10:07:09 +02:00
Marc Mueller f5aa2559d7
Fix pylint config warning (#100251) 2023-09-13 08:14:01 +02:00
Ville Skyttä fa0b999d08
Upgrade ruff to 0.0.289 (#100238) 2023-09-12 22:22:10 +02:00
uvjustin 5021c69886
Update Stream logging on EVENT_LOGGING_CHANGED (#99256) 2023-09-12 19:38:11 +02:00
J. Nick Koston f0ee20c15c
Bump orjson to 3.9.7 (#99938) 2023-09-08 13:59:35 -05:00
Marc Mueller 6414248bee
Update pytest warning filter (#99521) 2023-09-03 13:04:01 +02:00
J. Nick Koston a41af4e6d3
Revert orjson to 3.9.2 (#99374)
* Revert "Update orjson to 3.9.4 (#98108)"

This reverts commit 3dd377cb2a.

* Revert "Update orjson to 3.9.3 (#97930)"

This reverts commit d993aa59ea.
2023-08-31 09:33:57 +02:00
Joost Lekkerkerker 59b1d4ba69
Bump version to 2023.10.0dev0 (#99349) 2023-08-30 19:32:10 +02:00
J. Nick Koston f42b8e217b
Bump ulid-transform to 0.8.1 (#99139) 2023-08-27 11:32:41 -05:00
J. Nick Koston 20b8c5dd26
Bump home-assistant-bluetooth to 1.10.3 (#99133) 2023-08-27 09:29:17 -05:00
Marc Mueller 72e6f79086
Replace remaining utcnow calls + add ruff check (#97964) 2023-08-25 03:23:43 +02:00
Ville Skyttä 6399d74c15
Remove unnnecessary pylint configs from core (#98704) 2023-08-22 23:12:12 +02:00
Marc Mueller 2369964f27
Update aws boto dependencies (#98619) 2023-08-21 19:40:21 +02:00
Ville Skyttä 2399cd283a
Python 3.10 support cleanups (#98640) 2023-08-21 19:14:07 +02:00
Marc Mueller 4c3640878f
Filter some pytest warnings (#98689) 2023-08-20 18:30:28 +02:00
Ville Skyttä 3094991236
Upgrade ruff to 0.0.285 (#98647) 2023-08-19 08:17:17 -04:00
Ville Skyttä 93683cef27
Use zoneinfo instead of pytz, mark pytz as banned in ruff (#98613)
Refs #43439, #49643.
2023-08-18 19:10:29 +02:00
Franck Nijhof 740cabc21e
Pin setuptools to 68.0.0 (#98582) 2023-08-17 17:36:22 +02:00
Marc Mueller d059c9924a
Update attrs to 23.1.0 (#98385) 2023-08-14 15:50:43 +02:00
Marc Mueller e36a8f6e8b
Update async-timeout to 4.0.3 (#98370) 2023-08-14 10:23:23 +02:00
Marc Mueller 07e20e1eab
Downgrade todoist-api-python to 2.0.2 and attrs to 22.2.0 (#98354) 2023-08-13 17:23:38 -05:00
Marc Mueller ef6e75657a
Update attrs to 23.1.0 (#97095) 2023-08-13 19:05:15 +02:00
Franck Nijhof 868a5f377f
Ruff: isort don't split imports based on trailing comma (#98162) 2023-08-10 14:27:03 +02:00
Marc Mueller 3dd377cb2a
Update orjson to 3.9.4 (#98108) 2023-08-09 20:37:59 -10:00
Marc Mueller d993aa59ea
Update orjson to 3.9.3 (#97930) 2023-08-06 22:59:44 +02:00
Marc Mueller 447479d0a0
Add packaging as default requirement (#97712) 2023-08-04 12:29:18 +02:00
Blastoise186 d33955c467
Bump Cryptography to 41.0.3 for a second security fix (#97611)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-03 21:36:12 +02:00
Franck Nijhof 9b7dcce7ed
Bump version to 2023.9.0dev0 (#97265) 2023-07-26 17:40:17 +02:00
J. Nick Koston bb0727ab8a
Bump home-assistant-bluetooth to 1.10.2 (#97193) 2023-07-25 05:20:03 -05:00
J. Nick Koston 649568be83
Bump ulid-transform to 0.8.0 (#97162) 2023-07-24 13:16:29 -05:00
J. Nick Koston 31d6b615b4
Bump home-assistant-bluetooth to 1.10.1 (#97153) 2023-07-24 12:11:28 -05:00
Franck Nijhof ce1f5f997e
Drop Python 3.10 support (#97007) 2023-07-22 23:03:45 +02:00
Franck Nijhof c99adf54b4
Update aiohttp to 3.8.5 (#96945) 2023-07-20 16:11:14 +02:00
Franck Nijhof 0502879d10
Update PyJWT to 2.8.0 (#96899) 2023-07-19 14:35:54 +02:00
Marc Mueller 4bf23fac6f
Update PyYAML to 6.0.1 (#96800) 2023-07-18 08:50:15 +02:00
Marc Mueller 564e618d0c
Drop upper constraint for pip (#96738) 2023-07-18 00:37:02 +02:00
Blastoise186 e5ca20b4d0
Bump Cryptography from 41.0.1 to 41.0.2 (#96699)
Bump cryptography from 41.0.1 to 41.0.2

Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.1 to 41.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.1...41.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 09:15:33 +02:00
Marc Mueller 2f5c480f7f
Update pip constraint to allow pip 23.2 (#96614) 2023-07-15 12:28:34 -10:00
Franck Nijhof e9f76ed3d3
Update orjson to 3.9.2 (#96257) 2023-07-11 14:16:43 -04:00
Marc Mueller 522d2496df
Update typing-extensions to 4.7.0 (#95539) 2023-06-30 15:00:15 +02:00
Franck Nijhof ec7beee4c1
Bump version to 2023.8.0dev0 (#95476) 2023-06-28 16:07:54 -04:00
Franck Nijhof 3e85a29b86
Move overlapping pylint rules to ruff, disable mypy overlap (#94359) 2023-06-27 17:42:46 +02:00
Marc Mueller f5975d4039
Update build system (#95237) 2023-06-26 19:03:56 +02:00
J. Nick Koston b5e1d35e18
Bump cryptography to 41.0.1 and PyOpenSSL to 23.2.0 (#94777)
changelog: https://cryptography.io/en/latest/changelog/
changelog: https://www.pyopenssl.org/en/latest/changelog.html
2023-06-17 16:23:06 -04:00
Dominik 64d914d56d
Bump minimum typing_extensions to 4.6.3 (#94587) 2023-06-15 12:30:52 +02:00
J. Nick Koston d2fa6435da
Bump lru-dict to 1.2.0 (#94513) 2023-06-13 10:37:59 +02:00
J. Nick Koston 829ca7c567
Bump orjson to 3.9.1 (#94514) 2023-06-13 10:36:56 +02:00
Franck Nijhof c3936e6f14
Replace isort with ruff (#94302) 2023-06-08 23:43:56 +02:00
Ville Skyttä ca936d0b38
Replace bandit with ruff (#93200) 2023-06-08 22:46:04 +02:00
Ville Skyttä f7938c940c
Upgrade ruff to 0.0.272 (#94290) 2023-06-08 21:53:43 +02:00
J. Nick Koston 5a8daf06e8
Fix typing_extensions to match metadata (#93920) 2023-06-01 19:30:08 +02:00
J. Nick Koston 7995d3777a
Fix package names to match pypi index metadata (#93883)
* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* Fix package names to match pypi index metadata

* uses _

* uses -

* fix metadata
2023-05-31 21:12:53 -04:00
Franck Nijhof 8d8d0fc9d2
Bump version to 2023.7.0dev0 (#93869) 2023-05-31 20:34:30 +02:00
Ville Skyttä c7c4ee13c3
Import `util.dt` as `dt_util` in remaining tests, enforce with ruff (#93765)
* Import `util.dt` as `dt_util` in remaining tests, enforce with ruff

* Fix `util.dt` import in pvpc_hourly_pricing tests
2023-05-30 23:30:31 +03:00
epenet c475273145
Prevent SensorEntity and RestoreEntity inheritance (#88971) 2023-05-24 12:49:35 +02:00
epenet 160fce781d
Bump httpx to 0.24.1 (#93396) 2023-05-23 12:31:03 -05:00
J. Nick Koston 28fa6f541f
Bump ifaddr to 0.2.0 (#93377) 2023-05-23 14:18:26 +02:00
Franck Nijhof d2a39e0e6f
Update requests to 2.31.0 (#93363) 2023-05-22 20:48:56 +02:00
J. Nick Koston 32b70ea133
Bump PyJWT to 2.7.0 (#93128) 2023-05-16 10:26:04 +02:00
J. Nick Koston 81796fbf7b
Bump orjson to 3.8.12 (#92935)
changes: https://github.com/ijl/orjson/releases/tag/3.8.12
2023-05-13 10:06:32 +03:00
J. Nick Koston 2636a46a5f
Bump ulid-transform to 0.7.2 (#92344) 2023-05-02 08:46:14 +02:00
Franck Nijhof 3a5a9a90b2
Update orjson to 3.8.11 (#92228) 2023-04-29 20:22:33 -04:00
Franck Nijhof bff7119230
Update requests to 2.29.0 (#92231) 2023-04-29 23:44:20 +02:00
Franck Nijhof 9f885a68ff
Update YARL to 1.9.2 (#92086) 2023-04-27 01:39:32 +02:00
Franck Nijhof b5edf47454
Bump version to 2023.6.0dev0 (#92081) 2023-04-26 22:58:26 +02:00
J. Nick Koston 18532e453a
Bump home-assistant-bluetooth to 1.10.0 (#91977)
changelog: https://github.com/home-assistant-libs/home-assistant-bluetooth/blob/main/CHANGELOG.md
2023-04-24 22:22:11 -04:00
J. Nick Koston 1a00644b0a
Bump ulid-transform to 0.7.0 (#91888)
changelog: https://github.com/bdraco/ulid-transform/compare/v0.6.3...v0.7.0
2023-04-23 06:53:53 -04:00
Franck Nijhof f39f07e19b
Update YARL to 1.9.1 (#91852) 2023-04-22 09:14:27 -04:00
Franck Nijhof 6a80f5fc60
Update cryptography to 40.0.2 (#91528) 2023-04-17 08:36:42 -04:00
Franck Nijhof f1bb4ed0ed
Update pip constraint to allow for pip 23.1 (#91535) 2023-04-17 12:39:13 +02:00
J. Nick Koston 6dbe67e909
Bump httpx to 0.24.0 and httpcore to 0.17.0 (#91308) 2023-04-12 20:11:59 -10:00
J. Nick Koston f2d10473eb
Bump orjson to 3.8.10 (#91132)
changelog: https://github.com/ijl/orjson/compare/3.8.9...3.8.10
2023-04-10 12:23:19 -04:00
J. Nick Koston 6b9d748529
Bump ulid-transform to 0.6.3 (#91133)
* Bump ulid-transform to 0.6.2

changelog: https://github.com/bdraco/ulid-transform/compare/v0.6.0...v0.6.2

32bit fixes

fixes #91092

* 0.6.3
2023-04-10 10:03:21 -04:00
J. Nick Koston 2fc34e7cce
Bump ulid-transform 0.6.0 (#90888)
* Bump ulid-transform 0.6.0

changelog: https://github.com/bdraco/ulid-transform/compare/v0.5.1...v0.6.0

to find the source of the invalid ulids in https://github.com/home-assistant/core/issues/90887
2023-04-05 22:19:43 -04:00
Franck Nijhof 28736e2ce4
Update orjson to 3.8.9 (#90570) 2023-03-31 13:59:49 +02:00
Franck Nijhof 7010447b04
Bump version to 2023.5.0dev0 (#90477) 2023-03-29 16:46:32 -04:00
J. Nick Koston ce9099a386
Bump cryptography to 40.0.1 (#90326) 2023-03-26 12:30:17 -10:00
J. Nick Koston 99b58f157e
Bump PyJWT to 2.6.0 (#90134)
* Bump PyJWT to 2.6.0

* fix time being frozen too late which makes the access token creation time in the future

* revert zha change

* fix repairs test

* fix ical test
2023-03-22 20:00:47 -04:00
J. Nick Koston 4c98495fe0
Bump ulid-transform to 0.5.1 (#90123)
changelog: https://github.com/bdraco/ulid-transform/compare/v0.4.2...v0.5.1
2023-03-22 15:19:43 -04:00
Franck Nijhof b1a3bfb298
Drop flake8 in favor of Ruff (#89863) 2023-03-17 13:30:06 +01:00
J. Nick Koston 6713253553
Bump ulid-transform to 0.4.2 (#89666)
32 bit fixes

changelog: https://github.com/bdraco/ulid-transform/compare/v0.4.0...v0.4.2
2023-03-13 20:52:27 -04:00
epenet ff2a88b426
Bump ruff to 0.0.254 (#89273) 2023-03-07 13:25:31 +01:00
epenet 0598417894
Enable ruff D404 (#89093) 2023-03-03 12:38:40 +01:00
epenet eebcf70b41
Re-enable Ruff D411 (#89035) 2023-03-02 13:01:05 -05:00
Franck Nijhof ec32b934a5
Update orjson to 3.8.7 (#89037) 2023-03-02 09:40:46 -05:00
J. Nick Koston 07839cc971
Bump ulid-transform to 0.4.0 (#88982)
changelog: https://github.com/bdraco/ulid-transform/compare/v0.3.1...v0.4.0
2023-03-01 13:35:53 -05:00
epenet bdbec491eb
Enable RUFF ICN001 for registries (#88875)
* Add issue_registry to RUFF extend aliases

* Add area_registry to RUFF extend aliases

* Add device_registry to RUFF extend aliases

* Add entity_registry to RUFF extend aliases

* Adjust scaffold
2023-03-01 12:40:26 -05:00
Mitch 341d046ba7
Bump requests to 2.28.2 (#88956)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-03-01 16:17:55 +01:00
J. Nick Koston 8f6cfc25c0
Use ulid-transform for constructing ulids (#88939)
* Use ulid-transform for constructing ulids

A future PR will use the new library to reduce the storage
overhead of ulids in the database

* tweak

* tweak

* bump
2023-02-28 21:09:47 -05:00
Franck Nijhof aa3657e071
Bump version to 2023.4.0dev0 (#88630) 2023-02-22 21:29:49 +01:00
Franck Nijhof 6cbad61572
Enable Ruff RUF006; Hard reference to asyncio.create_task return value (#88216)
* Enable Ruff RUF006

* Fix test

---------

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-18 23:05:44 -05:00
Franck Nijhof 1caacab8dd
Enable Ruff B014 (#88377) 2023-02-18 07:38:04 -06:00
Franck Nijhof 1e05697080
Enable Ruff B007 (#88356)
* Enable Ruff B007

* Adjust existing cases
2023-02-17 21:08:18 -05:00
Erik Montnemery 2b8abf84bd
Fail tests which cause an SQLAlchemy warning (#88327)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-02-17 19:17:06 +01:00
Franck Nijhof 580869a9a6
Update typing-extensions to 4.5.0 (#88236) 2023-02-16 11:21:54 +01:00
Kevin Stillhammer a190bcdc3f
Bump voluptuous-serialize to 2.6.0 (#88211) 2023-02-15 23:14:45 +01:00
Ville Skyttä b5a686730c
Let black infer target-version (#88199) 2023-02-15 21:12:54 +01:00
Franck Nijhof 793e51ac76
Enable Ruff SIM212 (#88181) 2023-02-15 15:22:34 +01:00
Franck Nijhof f67ebcade1
Enable Ruff SIM201 (#88171) 2023-02-15 14:43:02 +01:00
Franck Nijhof 9030ca05b1
Enable Ruff SIM118 (#87772) 2023-02-15 12:39:12 +01:00
Mark Broadbent 568e0ae029
Update orjson to resolve segmentation fault during JSON serialisation (#88119)
Home Assistant uses orjson 3.8.5 that contains an issue[1] on musl libc
platforms that causes a segmentation fault.  This particularly affect
Home Assistant container installations reported in #87283 and #87522.

This updates the version to 3.8.6 that resolves the segmentation
fault during json serialisation.

[1] https://github.com/ijl/orjson/issues/335
2023-02-14 15:26:52 -05:00
J. Nick Koston 94386b6674
Bump home-assistant-bluetooth to 1.9.3 (#88051) 2023-02-13 23:28:30 -05:00
J. Nick Koston 026b4f5307
Bump aiohttp to 3.8.4 (#88032) 2023-02-13 15:52:20 -06:00
Franck Nijhof f5b651750c
Enable Ruff ICN001 (#87775) 2023-02-09 13:41:50 +01:00
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 4fbb14ecc7
Update mypy to 1.0.0 (#87586) 2023-02-07 02:31:14 +01:00
epenet de807fa782
Ensure __init__ return type is None (#87521)
* Ensure __init__ return type is None

* Remove hass-constructor plugin

* Simplify

* Replace dict with list

* Cleaup pyproject.toml

* Move is_method outside loop

* Adjust loop
2023-02-06 16:25:12 +01:00
Aarni Koskela ee6773236e
Update Ruff to 0.0.241 (#87386)
Changes: https://github.com/charliermarsh/ruff/compare/v0.0.237...v0.0.241
2023-02-04 14:42:36 -05:00
Franck Nijhof ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
Marc Mueller 04b921e3b5
Update pip constraint to 23.1 (#87331) 2023-02-03 21:02:35 +01:00
epenet 61734f04b8
Re-enable Ruff D418 (#87302) 2023-02-03 16:33:03 +01:00
Franck Nijhof 4b27af6a8f
Re-enabled Ruff E713 (#87301) 2023-02-03 16:18:33 +01:00
Marc Mueller 07a3046d11
Update pylint to 2.16.0 (#87083) 2023-02-02 12:49:01 +01:00
Franck Nijhof 3b5fd4bd06
Enable Ruff TRY004 (#86811) 2023-01-30 14:06:52 +01:00
Franck Nijhof c56832bb2c
Enable Ruff SIM300 (#86793) 2023-01-30 11:03:23 +01:00
Ville Skyttä 50c2992f36
Drop py39 from black target-version (#86814) 2023-01-27 22:39:52 +02:00
Franck Nijhof 8f74bff354
Enable Ruff PLC0414 (#86799) 2023-01-27 16:32:04 +01:00
Franck Nijhof 8c993116e1
Enable Ruff SIM401 (#86790)
* Enable Ruff SIM401

* Adjust found cases
2023-01-27 13:08:44 +01:00
Franck Nijhof bfbf9b9751
Adjusts imports in tests to match our relative import rules (#86788) 2023-01-27 12:51:58 +01:00
Franck Nijhof 3ff3834cae
Re-enable Ruff UP024 (#86784) 2023-01-27 12:03:27 +01:00
Franck Nijhof a79885ceaf
Enable Ruff SIM117 (#86783) 2023-01-27 11:52:49 +01:00
Franck Nijhof 57cf11f067
Enable Ruff PT015 (#86775) 2023-01-27 11:10:29 +01:00
Franck Nijhof e4a78420b8
Enable Ruff PT013 (#86757)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-27 09:09:46 +01:00
Franck Nijhof e738924780
Enable Ruff SIM105 (#86759)
* Enable Ruff SIM105

* Adjust existing cases
2023-01-26 21:06:22 -05:00
Franck Nijhof 62dcbe5258
Enable Ruff PT001 (#86730) 2023-01-26 18:05:05 +01:00
Franck Nijhof eb5d63237c
Update ruff to v0.0.235 (#86719) 2023-01-26 17:17:13 +01:00
Franck Nijhof 7d672b4a4d
Bump version to 2023.3.0dev0 (#86632) 2023-01-25 20:50:44 +01:00
Malte Franken a2fb6fbaa8
Bump httpx to 0.23.3 (#86614)
fixes undefined
2023-01-25 11:40:46 +01:00
Franck Nijhof 73c4ac53d2
Enable T20 (flake8-print) to ban use of print statements (#86525)
* Enable T20 (flake8-print) to ban use of print statements

* Make compatible with flake8 config
2023-01-24 14:24:21 +01:00
Aarni Koskela 65ad953497
Update Ruff to 0.0.231, enable D401 (#86520) 2023-01-24 13:57:08 +01:00