diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fc79e0..64b7003 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,8 @@ jobs: if: matrix.python-version == '3.x' - name: Test with pytest run: pytest - if: (matrix.python-version != '3.x' || matrix.platform != 'ubuntu-latest') && matrix.platform != 'macos-latest' + if: (matrix.python-version != '3.x' || matrix.platform != 'ubuntu-latest') + # && matrix.platform != 'macos-latest' - name: Test with pytest (with code coverage) run: pytest --cov=test_extract_otp_secret_keys_pytest --junitxml=pytest.xml --cov-report=term-missing | tee pytest-coverage.txt if: matrix.python-version == '3.x' && matrix.platform == 'ubuntu-latest' diff --git a/pyproject.toml b/pyproject.toml index 3dd62fb..622cbe3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,8 @@ dependencies = [ "Pillow", "qreader", "pyzbar", - "opencv-python", + "opencv-python<=4.7.0; sys_platform == 'darwin'", + "opencv-python; sys_platform != 'darwin'", "typing_extensions; python_version<='3.7'", ] description = "Extract two-factor authentication (2FA, TFA, OTP) secret keys from export QR codes of 'Google Authenticator' app"