Skip to content

Commit

Permalink
Updated requirements, replacing Crypto with pycryptodomex
Browse files Browse the repository at this point in the history
  • Loading branch information
albertogeniola committed Apr 27, 2024
1 parent de3622d commit b2f4671
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.7.0
0.4.7.1
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,16 @@ Anyway, feel free to contribute via donations!
</p>

## Changelog
#### 0.4.7.1
Updated requirements to use pycryptodomex instead of Crypto

<details>
<summary>Older</summary>
#### 0.4.7.0
- Added local-lan encryption capabilities to support newest Meross devices
- Fixed roller shutter mixin not updating initial position after a full async_update() invocation
- Fixed #352

<details>
<summary>Older</summary>
#### 0.4.6.2
- Fix dependency specification for paho-mqtt and other libraries

Expand Down
2 changes: 1 addition & 1 deletion meross_iot/controller/mixins/encryption.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
from hashlib import md5
import base64
from Crypto.Cipher import AES
from Cryptodome.Cipher import AES
from enum import Enum
from typing import Dict

Expand Down
1 change: 1 addition & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
paho-mqtt>=1.5.0,<2.0.0
requests>=2.19.1,<3.0.0
aiohttp[speedups]>=3.7.4.post0,<4.0.0
pycryptodomex>=3.20.0
pytest==6.2.5
pytest-html==3.1.1
pytest-cov==2.12.1
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
paho-mqtt>=1.5.0,<2.0.0
requests>=2.19.1,<3.0.0
aiohttp[speedups]>=3.7.4.post0,<4.0.0
pycryptodome>=3.20.0
pycryptodomex>=3.20.0
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
install_requires=[
'paho-mqtt>=1.5.0,<2.0.0',
'requests>=2.19.1,<3.0.0',
'aiohttp[speedups]>=3.7.4.post0,<4.0.0'
'aiohttp[speedups]>=3.7.4.post0,<4.0.0',
'pycryptodomex>=3.20.0'
],
python_requires='>=3.7',
test_suite='tests',
Expand Down

0 comments on commit b2f4671

Please sign in to comment.