git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #153406 from fabaff/bump-pytest-httpx

python3Packages.pytest-httpx: 0.15.0 -> 0.17.3

commit1dc8fa8c0974be1e890a717c9d582d3e10786541 authorFabian Affolter <fabian@affolter-engineering.ch> dateTue 11 Jan 2022, 14:42 (5 years ago) parent215c5d498c8ce4
9 files changed+54−18
pkgs/development/python-modules/aiocurrencylayer/default.nix+2−2 pkgs/development/python-modules/denonavr/default.nix+10−1 pkgs/development/python-modules/devolo-plc-api/default.nix+5−3 pkgs/development/python-modules/glances-api/default.nix+2−2 pkgs/development/python-modules/luftdaten/default.nix+2−2 pkgs/development/python-modules/netdata/default.nix+2−2 pkgs/development/python-modules/pyrmvtransport/default.nix+10 pkgs/development/python-modules/pytest-httpx/default.nix+13−5 pkgs/development/python-modules/zeep/default.nix+8−1
pkgs/development/python-modules/aiocurrencylayer/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "aiocurrencylayer";
14− version = "1.0.2";
14+ version = "1.0.3";
1515 format = "pyproject";
1616
1717 disabled = pythonOlder "3.8";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "home-assistant-ecosystem";
2121 repo = pname;
2222 rev = version;
23− sha256 = "EVqnrMatOk2I6hiCkiT5FOWvMY9LEK8LlSHqi0x9kuQ=";
23+ sha256 = "sha256-t2Pcoakk25vtUYajIZVITsrEUSdwwiA3fbdswy3n9P8=";
2424 };
2525
2626 nativeBuildInputs = [
pkgs/development/python-modules/denonavr/default.nix+10−1
@@ -16,6 +16,8 @@
1616buildPythonPackage rec {
1717 pname = "denonavr";
1818 version = "0.10.9";
19+ format = "setuptools";
20+
1921 disabled = pythonOlder "3.6";
2022
2123 src = fetchFromGitHub {
@@ -40,7 +42,14 @@ buildPythonPackage rec {
4042 pytest-timeout
4143 ];
4244
43− pythonImportsCheck = [ "denonavr" ];
45+ disabledTestPaths = [
46+ # https://github.com/ol-iver/denonavr/issues/228
47+ "tests/test_denonavr.py"
48+ ];
49+
50+ pythonImportsCheck = [
51+ "denonavr"
52+ ];
4453
4554 meta = with lib; {
4655 description = "Automation Library for Denon AVR receivers";
pkgs/development/python-modules/devolo-plc-api/default.nix+5−3
@@ -1,6 +1,7 @@
11{ lib
22, buildPythonPackage
33, fetchFromGitHub
4+, fetchpatch
45, httpx
56, protobuf
67, pytest-asyncio
@@ -14,7 +15,7 @@
1415
1516buildPythonPackage rec {
1617 pname = "devolo-plc-api";
17− version = "0.7.0";
18+ version = "0.7.1";
1819 format = "setuptools";
1920
2021 disabled = pythonOlder "3.8";
@@ -23,7 +24,7 @@ buildPythonPackage rec {
2324 owner = "2Fake";
2425 repo = "devolo_plc_api";
2526 rev = "v${version}";
26− sha256 = "sha256-qzjH52bKQ/oSFd580V92uE2/Z2g+2nLh/JXOXYqVfSY=";
27+ sha256 = "sha256-XR/daDrnfbLBrUTTMFYtndr6+RxPwnF4qbXAdXsXKHk=";
2728 };
2829
2930 SETUPTOOLS_SCM_PRETEND_VERSION = version;
@@ -38,7 +39,6 @@ buildPythonPackage rec {
3839 zeroconf
3940 ];
4041
41−
4242 checkInputs = [
4343 pytest-asyncio
4444 pytest-httpx
@@ -46,6 +46,8 @@ buildPythonPackage rec {
4646 pytestCheckHook
4747 ];
4848
49+
50+
4951 pythonImportsCheck = [
5052 "devolo_plc_api"
5153 ];
pkgs/development/python-modules/glances-api/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "glances-api";
14− version = "0.3.2";
14+ version = "0.3.3";
1515 format = "pyproject";
1616
1717 disabled = pythonOlder "3.8";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "home-assistant-ecosystem";
2121 repo = "python-glances-api";
2222 rev = version;
23− sha256 = "sha256-zVK63SI8ZeVrY2iEEkgp8pq6RDheKeApb9/RWgZCKGI=";
23+ sha256 = "sha256-F3jmYBZNzI4hRmH1J+S5RwxjouZNcUJOnD3QpX1J39s=";
2424 };
2525
2626 nativeBuildInputs = [
pkgs/development/python-modules/luftdaten/default.nix+2−2
@@ -11,7 +11,7 @@
1111
1212buildPythonPackage rec {
1313 pname = "luftdaten";
14− version = "0.7.1";
14+ version = "0.7.2";
1515 format = "pyproject";
1616
1717 disabled = pythonOlder "3.8";
@@ -20,7 +20,7 @@ buildPythonPackage rec {
2020 owner = "home-assistant-ecosystem";
2121 repo = "python-luftdaten";
2222 rev = version;
23− sha256 = "sha256-76Y5TJet0WtzYXuK8Og0rmpsUIlXK7b37oesh+MliU8=";
23+ sha256 = "sha256-tYaY/F4mdO5k+Oj+RkNFWP8xqh1xuDyoAKBFzAhamkA=";
2424 };
2525
2626 nativeBuildInputs = [
pkgs/development/python-modules/netdata/default.nix+2−2
@@ -12,7 +12,7 @@
1212
1313buildPythonPackage rec {
1414 pname = "netdata";
15− version = "1.0.1";
15+ version = "1.0.2";
1616 format = "pyproject";
1717
1818 disabled = pythonOlder "3.8";
@@ -21,7 +21,7 @@ buildPythonPackage rec {
2121 owner = "home-assistant-ecosystem";
2222 repo = "python-netdata";
2323 rev = version;
24− sha256 = "sha256-4+cTIqytHrCPG7lUZv1IhL7Bk5GlTEveQTtuCkFIepo=";
24+ sha256 = "sha256-D0W+zOpD2+iynhHMZh4obUSJJKmP3DnzA7blNWi6eHk=";
2525 };
2626
2727 nativeBuildInputs = [
pkgs/development/python-modules/pyrmvtransport/default.nix+10
@@ -1,6 +1,7 @@
11{ lib
22, buildPythonPackage
33, fetchFromGitHub
4+, fetchpatch
45, pythonOlder
56, flit
67, async-timeout
@@ -41,6 +42,15 @@ buildPythonPackage rec {
4142 pytest-httpx
4243 ];
4344
45+ patches = [
46+ # Can be removed with next release, https://github.com/cgtobi/PyRMVtransport/pull/55
47+ (fetchpatch {
48+ name = "update-tests.patch";
49+ url = "https://github.com/cgtobi/PyRMVtransport/commit/fe93b3d9d625f9ccf8eb7b0c39e0ff41c72d2e77.patch";
50+ sha256 = "sha256-t+GP5VG1S86vVSsisl85ZHBtOqxIi7QS83DA+HgRet4=";
51+ })
52+ ];
53+
4454 pythonImportsCheck = [
4555 "RMVtransport"
4656 ];
pkgs/development/python-modules/pytest-httpx/default.nix+13−5
@@ -5,20 +5,26 @@
55, pytest
66, pytest-asyncio
77, pytestCheckHook
8+, pythonOlder
89}:
910
1011buildPythonPackage rec {
1112 pname = "pytest-httpx";
12− version = "0.15.0";
13+ version = "0.17.3";
14+ format = "setuptools";
15+
16+ disabled = pythonOlder "3.6";
1317
1418 src = fetchFromGitHub {
1519 owner = "Colin-b";
1620 repo = "pytest_httpx";
1721 rev = "v${version}";
18− sha256 = "08dxvjkxlnam3r0yp17495d1vksyawzzkpykacjql1gi6hqlfrwg";
22+ sha256 = "sha256-cJRzjNIN9Fc8vcjmndW+akjxDSp+wFahY2MEslgXIwM=";
1923 };
2024
21− buildInputs = [ pytest ];
25+ buildInputs = [
26+ pytest
27+ ];
2228
2329 propagatedBuildInputs = [
2430 httpx
@@ -29,12 +35,14 @@ buildPythonPackage rec {
2935 pytestCheckHook
3036 ];
3137
32− pythonImportsCheck = [ "pytest_httpx" ];
38+ pythonImportsCheck = [
39+ "pytest_httpx"
40+ ];
3341
3442 meta = with lib; {
3543 description = "Send responses to httpx";
3644 homepage = "https://github.com/Colin-b/pytest_httpx";
3745 license = licenses.mit;
38− maintainers = with maintainers; [ SuperSandro2000 ];
46+ maintainers = with maintainers; [ fab SuperSandro2000 ];
3947 };
4048}
pkgs/development/python-modules/zeep/default.nix+8−1
@@ -28,6 +28,7 @@
2828buildPythonPackage rec {
2929 pname = "zeep";
3030 version = "4.1.0";
31+
3132 disabled = pythonOlder "3.6";
3233
3334 src = fetchFromGitHub {
@@ -71,9 +72,15 @@ buildPythonPackage rec {
7172 disabledTests = [
7273 # lxml.etree.XMLSyntaxError: Extra content at the end of the document, line 2, column 64
7374 "test_mime_content_serialize_text_xml"
75+ # Tests are outdated
76+ "test_load"
77+ "test_load_cache"
78+ "test_post"
7479 ];
7580
76− pythonImportsCheck = [ "zeep" ];
81+ pythonImportsCheck = [
82+ "zeep"
83+ ];
7784
7885 meta = with lib; {
7986 description = "Python SOAP client";