diff options
author | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-02-01 23:19:44 +0100 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2023-02-02 04:38:18 +0100 |
commit | f2898ed00ad78f92feefe5a214314f3d2894e2c8 (patch) | |
tree | 1489173ba57533b1ad57e32a2f2160818b25fe02 | |
parent | 53e22a71db03bde56344f7abadd46b97c2bb61fe (diff) | |
download | nixpkgs-f2898ed00ad78f92feefe5a214314f3d2894e2c8.tar nixpkgs-f2898ed00ad78f92feefe5a214314f3d2894e2c8.tar.gz nixpkgs-f2898ed00ad78f92feefe5a214314f3d2894e2c8.tar.bz2 nixpkgs-f2898ed00ad78f92feefe5a214314f3d2894e2c8.tar.lz nixpkgs-f2898ed00ad78f92feefe5a214314f3d2894e2c8.tar.xz nixpkgs-f2898ed00ad78f92feefe5a214314f3d2894e2c8.tar.zst nixpkgs-f2898ed00ad78f92feefe5a214314f3d2894e2c8.zip |
python3Packages.pymodbus: 3.0.2 -> 3.1.2
https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.1.0 https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.1.1 https://github.com/pymodbus-dev/pymodbus/releases/tag/v3.1.2
-rw-r--r-- | pkgs/development/python-modules/pymodbus/default.nix | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pymodbus/default.nix b/pkgs/development/python-modules/pymodbus/default.nix index 1aba805c59d..a6e3f5eb9a7 100644 --- a/pkgs/development/python-modules/pymodbus/default.nix +++ b/pkgs/development/python-modules/pymodbus/default.nix @@ -10,6 +10,8 @@ , pyserial , pyserial-asyncio , pytest-asyncio +, pytest-rerunfailures +, pytest-xdist , pytestCheckHook , redis , sqlalchemy @@ -19,13 +21,14 @@ buildPythonPackage rec { pname = "pymodbus"; - version = "3.0.2"; + version = "3.1.2"; + format = "setuptools"; src = fetchFromGitHub { - owner = "riptideio"; + owner = "pymodbus-dev"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-7zuFKJuKc+J4g7qoK22xed8dmXJatQbQXz4aKAOcvN8="; + hash = "sha256-kae/TADu23NnCrXkJ/dkDBNIgBm/+BxXf+lh8uMxz/s="; }; # Twisted asynchronous version is not supported due to a missing dependency @@ -43,12 +46,18 @@ buildPythonPackage rec { asynctest mock pytest-asyncio + pytest-rerunfailures + pytest-xdist pytestCheckHook redis sqlalchemy twisted ]; + pytestFlagsArray = [ + "--reruns" "3" # Racy socket tests + ]; + pythonImportsCheck = [ "pymodbus" ]; meta = with lib; { @@ -59,7 +68,8 @@ buildPythonPackage rec { also be used without any third party dependencies if a more lightweight project is needed. ''; - homepage = "https://github.com/riptideio/pymodbus"; + homepage = "https://github.com/pymodbus-dev/pymodbus"; + changelog = "https://github.com/pymodbus-dev/pymodbus/releases/tag/v${version}"; license = with licenses; [ bsd3 ]; maintainers = with maintainers; [ fab ]; }; |