diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7cdc83470..215a9e07b 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,13 +8,16 @@ "image": "registry.git.rwth-aachen.de/acs/public/villas/node/dev-vscode", // Uncomment to build the devcontainer locally // "build": { - // "dockerfile": "${workspaceFolder}/packaging/docker/Dockerfile.fedora", + // "dockerfile": "../packaging/docker/Dockerfile.fedora", // "target": "dev-vscode", // "context": ".." // }, "remoteUser": "villas", - "runArgs": [ "--privileged", "--security-opt", "seccomp=unconfined"], - + "runArgs": [ + "--privileged", + "--security-opt", + "seccomp=unconfined" + ], "customizations": { "vscode": { "extensions": [ diff --git a/README.md b/README.md index 238f6f9e8..521b6e80e 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ VILLASnode is a client/server application to connect simulation equipment and so - LabView, - and FPGA models -by using protcols such as: +by using protocols such as: - IEEE 802.2 Ethernet / IP / UDP, - ZeroMQ & nanomsg, diff --git a/include/villas/nodes/modbus.hpp b/include/villas/nodes/modbus.hpp index e0f9b61c7..dcee555fc 100644 --- a/include/villas/nodes/modbus.hpp +++ b/include/villas/nodes/modbus.hpp @@ -8,7 +8,6 @@ #pragma once #include -#include #include #include #include diff --git a/packaging/deps.sh b/packaging/deps.sh index 44ddebb81..130c96381 100644 --- a/packaging/deps.sh +++ b/packaging/deps.sh @@ -62,7 +62,7 @@ should_build() { ## Build configuration # Use shallow git clones to speed up downloads -GIT_OPTS+=" --depth=1" +GIT_OPTS+=" --depth=1 --config advice.detachedHead=false" # Install destination PREFIX=${PREFIX:-/usr/local} diff --git a/python/examples/Shmem_CIGRE_MV.py b/python/examples/Shmem_CIGRE_MV.py index fc65c551b..3bfe69c91 100644 --- a/python/examples/Shmem_CIGRE_MV.py +++ b/python/examples/Shmem_CIGRE_MV.py @@ -3,6 +3,7 @@ Author: Steffen Vogel SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University SPDX-License-Identifier: Apache-2.0 """ # noqa: E501 + import time from villas.node.node import Node as VILLASnode diff --git a/python/pyproject.toml b/python/pyproject.toml index 65f4edc34..24c78d910 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -20,13 +20,16 @@ classifiers = [ 'Operating System :: POSIX :: Linux', 'Programming Language :: Python :: 3', ] -dependencies = ['linuxfd', 'requests'] +dependencies = [ + 'linuxfd==1.5', + 'requests==2.31.0', +] optional-dependencies.dev = [ - 'black', - 'flake8', - 'mypy', - 'pytest', - 'types-requests', + 'black==24.2.0', + 'flake8==7.0.0', + 'mypy==1.8.0', + 'pytest==8.0.0', + 'types-requests==2.31.0.20240125', ] [project.urls]