Skip to content

Commit

Permalink
Add 'requests' as install dependency in setup.py (sonic-net#1240)
Browse files Browse the repository at this point in the history
The `requests` package is used by a couple modules (config/kube.py and scripts/neighbor_advertiser), but it was not specified as an install-time dependency. Now that the package is built as Python 3, some commands are crashing with `ModuleNotFoundError: No module named 'requests'`.
  • Loading branch information
jleveque authored Nov 16, 2020
1 parent bd8d6c7 commit f46c27e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@
'netaddr==0.8.0',
'netifaces==0.10.7',
'pexpect==4.8.0',
'requests==2.25.0',
'sonic-py-common',
'sonic-yang-mgmt',
'swsssdk>=2.0.1',
Expand Down

0 comments on commit f46c27e

Please sign in to comment.