Repository: infinyon/fluvio-client-python (language: python)

Issue:
Update to fluvio 0.9.5
The error text seems to have been updated for fluvio 0.9.5. This causes macOS CI to fail, so the error text needs to be updated.


Discussion / hints:

Fix patch:
diff --git a/Cargo.lock b/Cargo.lock
index 6275f1d8..eca25d96 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -510,9 +510,9 @@ dependencies = [
 
 [[package]]
 name = "fluvio"
-version = "0.9.3"
+version = "0.9.5"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "533531f48a6c0c7f15f6bf4700e22f36ded48cd7b9b10734f9853b7fd451600c"
+checksum = "a3dddf55be8c05c09d39fa5abcdc0e3b92795a4903cd2e745c2b51ed855526b7"
 dependencies = [
  "async-channel",
  "async-lock",
@@ -546,9 +546,9 @@ dependencies = [
 
 [[package]]
 name = "fluvio-controlplane-metadata"
-version = "0.10.0"
+version = "0.11.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "904b37e95c5464ecdd254c19d3a876236a2caefb82478d6c9c644f96d169187a"
+checksum = "ee403ac0924dfc8ea1ede654f2d0fff38a12781f63e935b8b96073dd7c28ac8f"
 dependencies = [
  "async-trait",
  "fluvio-dataplane-protocol",
@@ -680,9 +680,9 @@ dependencies = [
 
 [[package]]
 name = "fluvio-sc-schema"
-version = "0.9.0"
+version = "0.9.4"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6cae60f9810f1d10e26c11f24b47994c8856e74a9fe8f4ce63b1f2dd888777cb"
+checksum = "e9536d844d9107d8700b944e24eeeb4c0909055d6bb007dad1a3146d7f252947"
 dependencies = [
  "fluvio-controlplane-metadata",
  "fluvio-dataplane-protocol",
diff --git a/Cargo.toml b/Cargo.toml
index b0701cb6..81e920af 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,5 +15,5 @@ log = "^0.4.6"
 
 [dependencies]
 cpython = { version = "0.6", features = ["extension-module"] }
-fluvio = { version = "0.9.3" }
+fluvio = { version = "0.9.5" }
 fluvio-future = { version = "0.3.9", features = ["task", "io"] }
diff --git a/Makefile b/Makefile
index e02fd434..34e5c6f0 100644
--- a/Makefile
+++ b/Makefile
@@ -24,10 +24,10 @@ install-wheel: build-wheel
 build-dev: venv-pip
 	$(PYTHON) setup.py develop
 
-integration-tests: install-wheel
+integration-tests: build-dev
 	cd integration-tests && ../venv/bin/python -m unittest
 
-macos-ci-tests: install-wheel
+macos-ci-tests: build-dev
 	cd macos-ci-tests && ../venv/bin/python -m unittest
 
 ci-build: venv-pip
diff --git a/setup.py b/setup.py
index 561f5767..6ed9e794 100644
--- a/setup.py
+++ b/setup.py
@@ -3,7 +3,7 @@
 
 setup(
     name='fluvio',
-    version="0.9.0",
+    version="0.9.5",
     long_description=open('README.md').read(),
     long_description_content_type='text/markdown',
     author = "Fluvio Contributors",


Test patch:
diff --git a/macos-ci-tests/test_connect.py b/macos-ci-tests/test_connect.py
index d5a51a1f..34b24aae 100644
--- a/macos-ci-tests/test_connect.py
+++ b/macos-ci-tests/test_connect.py
@@ -18,10 +18,10 @@ def test_connection_failure(self):
             print('ERROR: %s' % e)
 
         self.assertTrue(error is not None)
-        self.assertTrue(
-            error.args == (
-                'Fluvio config error\nCaused by:\nConfig has no active profile',  # noqa: E501
-            ) or error.args == (
-                'Fluvio socket error\nCaused by:\nConnection refused (os error 111)',  # noqa: E501
-            )
+        self.assertIn(
+            error.args,
+            [
+                ('Fluvio config error: Config has no active profile\nCaused by:\nConfig has no active profile',),  # noqa: E501
+                ('Fluvio socket error: Connection refused (os error 61)\nCaused by:\nConnection refused (os error 61)',),  # noqa: E501
+            ]
         )