forked from platypush/platypush
Misc dependencies and mock fixes.
- `iputils` should be an explicit system dependency for `ping`. Some minimal systems (like some Docker images) may not have the `ping` command installed out of the box. - `hid` and `marshmallow_dataclass` should be among the auto-mocked modules.
This commit is contained in:
parent
ed2a56de42
commit
0eae6fd48d
4 changed files with 18 additions and 4 deletions
|
@ -113,8 +113,8 @@ steps:
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- echo "Installing required build dependencies"
|
- echo "Installing required build dependencies"
|
||||||
- apk add --update --no-cache make py3-sphinx py3-myst-parser py3-pip py3-paho-mqtt $(cat platypush/install/requirements/alpine.txt)
|
- apk add --update --no-cache make py3-sphinx py3-myst-parser py3-pip $(cat platypush/install/requirements/alpine.txt)
|
||||||
- pip install -U hid sphinx-rtd-theme sphinx-book-theme
|
- pip install -U sphinx-rtd-theme sphinx-book-theme
|
||||||
- pip install .
|
- pip install .
|
||||||
- mkdir -p /docs/current
|
- mkdir -p /docs/current
|
||||||
- export APPDIR=$PWD
|
- export APPDIR=$PWD
|
||||||
|
|
|
@ -3,6 +3,12 @@ manifest:
|
||||||
platypush.message.event.ping.HostDownEvent: if a host stops responding ping requests
|
platypush.message.event.ping.HostDownEvent: if a host stops responding ping requests
|
||||||
platypush.message.event.ping.HostUpEvent: if a host starts responding ping requests
|
platypush.message.event.ping.HostUpEvent: if a host starts responding ping requests
|
||||||
install:
|
install:
|
||||||
pip: []
|
apt:
|
||||||
|
- iputils-ping
|
||||||
|
dnf:
|
||||||
|
- iputils
|
||||||
|
pacman:
|
||||||
|
- iputils
|
||||||
|
|
||||||
package: platypush.backend.ping
|
package: platypush.backend.ping
|
||||||
type: backend
|
type: backend
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
manifest:
|
manifest:
|
||||||
events: {}
|
events: {}
|
||||||
install:
|
install:
|
||||||
pip: []
|
apt:
|
||||||
|
- iputils-ping
|
||||||
|
dnf:
|
||||||
|
- iputils
|
||||||
|
pacman:
|
||||||
|
- iputils
|
||||||
|
|
||||||
package: platypush.plugins.ping
|
package: platypush.plugins.ping
|
||||||
type: plugin
|
type: plugin
|
||||||
|
|
|
@ -45,6 +45,7 @@ mock_imports = [
|
||||||
"graphyte",
|
"graphyte",
|
||||||
"grpc",
|
"grpc",
|
||||||
"gunicorn",
|
"gunicorn",
|
||||||
|
"hid",
|
||||||
"httplib2",
|
"httplib2",
|
||||||
"icalendar",
|
"icalendar",
|
||||||
"imapclient",
|
"imapclient",
|
||||||
|
@ -60,6 +61,7 @@ mock_imports = [
|
||||||
"keras",
|
"keras",
|
||||||
"linode_api4",
|
"linode_api4",
|
||||||
"luma",
|
"luma",
|
||||||
|
"marshmallow_dataclass",
|
||||||
"mpd",
|
"mpd",
|
||||||
"ndef",
|
"ndef",
|
||||||
"nfc",
|
"nfc",
|
||||||
|
|
Loading…
Reference in a new issue