Skip to content

Commit 6aa85fa

Browse files
committed
Switch to branch of python-networkmanager
1 parent b206639 commit 6aa85fa

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RUN apk add --no-cache \
88
build-base \
99
dbus-dev \
1010
dbus-libs \
11+
git \
1112
glib-dev
1213

1314
# Copy Python requirements file

src/common/wifi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ def get_device():
251251
if Pnm.NM_DEVICE_TYPE_WIFI in devices:
252252
return devices[Pnm.NM_DEVICE_TYPE_WIFI]
253253
else:
254-
logger.error("No suitable or available device found. Exiting.")
254+
logger.error("No suitable or available WiFi device found. Exiting.")
255255
sys.exit(0)
256256

257257

src/requirements.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
python-dotenv
1+
git+https://github.com/balena-io-experimental/python-networkmanager
22
Flask-Cors
33
Flask-RESTful
4-
python-networkmanager==2.1
4+
python-dotenv
55
waitress

src/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
2-
# This file is autogenerated by pip-compile with python 3.9
3-
# To update, run:
2+
# This file is autogenerated by pip-compile with Python 3.10
3+
# by the following command:
44
#
55
# pip-compile
66
#
@@ -26,7 +26,7 @@ markupsafe==2.1.0
2626
# via jinja2
2727
python-dotenv==0.19.2
2828
# via -r requirements.in
29-
python-networkmanager==2.1
29+
python-networkmanager @ git+https://github.com/balena-io-experimental/python-networkmanager
3030
# via -r requirements.in
3131
pytz==2021.3
3232
# via flask-restful

0 commit comments

Comments
 (0)