Skip to content

Commit

Permalink
Pin crypto (#15978)
Browse files Browse the repository at this point in the history
* Pin crypto

* Fix PyJWT import once
  • Loading branch information
balloob committed Aug 14, 2018
1 parent 0ad9fcd commit 486efa9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/notify/html5.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from homeassistant.helpers import config_validation as cv
from homeassistant.util import ensure_unique_string

REQUIREMENTS = ['pywebpush==1.6.0', 'PyJWT==1.6.0']
REQUIREMENTS = ['pywebpush==1.6.0']

DEPENDENCIES = ['frontend']

Expand Down
1 change: 1 addition & 0 deletions homeassistant/package_constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ attrs==18.1.0
certifi>=2018.04.16
jinja2>=2.10
PyJWT==1.6.4
cryptography==2.3.1
pip>=8.0.3
pytz>=2018.04
pyyaml>=3.13,<4
Expand Down
4 changes: 1 addition & 3 deletions requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ attrs==18.1.0
certifi>=2018.04.16
jinja2>=2.10
PyJWT==1.6.4
cryptography==2.3.1
pip>=8.0.3
pytz>=2018.04
pyyaml>=3.13,<4
Expand Down Expand Up @@ -39,9 +40,6 @@ Mastodon.py==1.3.1
# homeassistant.components.isy994
PyISY==1.1.0

# homeassistant.components.notify.html5
PyJWT==1.6.0

# homeassistant.components.sensor.mvglive
PyMVGLive==1.1.4

Expand Down
3 changes: 0 additions & 3 deletions requirements_test_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ requests_mock==1.5.2
# homeassistant.components.homekit
HAP-python==2.2.2

# homeassistant.components.notify.html5
PyJWT==1.6.0

# homeassistant.components.sensor.rmvtransport
PyRMVtransport==0.0.7

Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
'certifi>=2018.04.16',
'jinja2>=2.10',
'PyJWT==1.6.4',
# PyJWT has loose dependency. We want the latest one.
'cryptography==2.3.1',
'pip>=8.0.3',
'pytz>=2018.04',
'pyyaml>=3.13,<4',
Expand Down

0 comments on commit 486efa9

Please sign in to comment.