From 6b7afbf75cf375d2ca9cd26b98f203b13abc592d Mon Sep 17 00:00:00 2001 From: KIU Shueng Chuan Date: Fri, 29 Jan 2021 16:13:27 +0800 Subject: [PATCH] remove six module --- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/main.yml | 2 +- pyqtgraph/tests/test_exit_crash.py | 1 - pyqtgraph/tests/test_ref_cycles.py | 1 - tox.ini | 1 - 5 files changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 05b85ca5..0974fe1f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -20,7 +20,7 @@ jobs: - name: Install Dependencies run: | python -m pip install --upgrade pip - pip install PyQt5 numpy scipy six + pip install PyQt5 numpy scipy echo "CODEQL_PYTHON=$(which python)" >> $GITHUB_ENV # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ea6046a3..781aeebb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -70,7 +70,7 @@ jobs: - name: Install Dependencies run: | pip install --upgrade pip - pip install ${{ matrix.qt-version }} numpy${{ matrix.numpy-version }} scipy pyopengl h5py six matplotlib + pip install ${{ matrix.qt-version }} numpy${{ matrix.numpy-version }} scipy pyopengl h5py matplotlib pip install . pip install pytest pytest-cov pytest-xdist coverage - name: "Install Linux VirtualDisplay" diff --git a/pyqtgraph/tests/test_exit_crash.py b/pyqtgraph/tests/test_exit_crash.py index 41703ce6..e5661386 100644 --- a/pyqtgraph/tests/test_exit_crash.py +++ b/pyqtgraph/tests/test_exit_crash.py @@ -4,7 +4,6 @@ import sys import subprocess import tempfile import pyqtgraph as pg -import six import pytest import textwrap import time diff --git a/pyqtgraph/tests/test_ref_cycles.py b/pyqtgraph/tests/test_ref_cycles.py index 9819790b..905173c9 100644 --- a/pyqtgraph/tests/test_ref_cycles.py +++ b/pyqtgraph/tests/test_ref_cycles.py @@ -6,7 +6,6 @@ Test for unwanted reference cycles import pyqtgraph as pg import numpy as np import gc, weakref -import six import pytest app = pg.mkQApp() diff --git a/tox.ini b/tox.ini index bc2c5403..c05fe689 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,6 @@ deps = scipy pyopengl flake8 - six coverage [testenv]