diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 5cba2d64..ba0e6903 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -17,7 +17,7 @@ jobs: name: Python ${{ matrix.python-version }} strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10"] fail-fast: false # Steps represent a sequence of tasks that will be executed as part of the job steps: @@ -35,7 +35,7 @@ jobs: - name: Setup python uses: actions/setup-python@v2 with: - python-version: '3.7' + python-version: '3.8' architecture: x64 - run: ./tools/ci/coverage.sh env: diff --git a/hkube_python_wrapper/communication/DataRequest.py b/hkube_python_wrapper/communication/DataRequest.py index 129624ec..72ba6fd0 100644 --- a/hkube_python_wrapper/communication/DataRequest.py +++ b/hkube_python_wrapper/communication/DataRequest.py @@ -29,8 +29,8 @@ def invoke(self): responseFrames = adapter.invokeAdapter() results = [] for i in range(0, int(len(responseFrames)/2)): - header = responseFrames[i*2] - content = responseFrames[i*2+1] + header = responseFrames[i*2] # pylint: disable=E1136 + content = responseFrames[i*2+1] # pylint: disable=E1136 decoded = self.encoding.decode(header=header, value=content) results.append((len(content), decoded)) return results diff --git a/hkube_python_wrapper/communication/zmq/streaming/ZMQListener.py b/hkube_python_wrapper/communication/zmq/streaming/ZMQListener.py index 6c83f4c8..f05f124f 100644 --- a/hkube_python_wrapper/communication/zmq/streaming/ZMQListener.py +++ b/hkube_python_wrapper/communication/zmq/streaming/ZMQListener.py @@ -84,7 +84,7 @@ def _readMessage(self, timeout=POLL_MS): if (result == zmq.POLLIN): self._pollTimeoutCount = 0 frames = self._worker.recv_multipart() - signal = frames[0] + signal = frames[0] # pylint: disable=E1136 if (signal == signals.PPP_MSG): hasMsg = True diff --git a/setup.py b/setup.py index fcf0ad2e..96b29b84 100644 --- a/setup.py +++ b/setup.py @@ -20,12 +20,12 @@ 'Events==0.4', 'websocket-client==0.57.0', 'simplejson==3.17.2', - 'pymongo==8.0.4', + 'pymongo==4.10.1', 'msgpack==1.0.2', 'boto3<=1.17.20', "wsaccel==0.6.2", "six==1.15.0", - 'pyzmq<=22.0.3', + 'pyzmq<=26.2.1', 'jaeger-client==4.0.0; python_version < "3.2.0"', 'jaeger-client>=4.4.0; python_version >= "3.2.0"', "pympler==0.9"