fix problem of outdated colorama

cv2_1
scito 1 year ago
parent 91b9b3671c
commit 13fcdcd022

@ -34,8 +34,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements-dev.txt pip install -U -r requirements-dev.txt
pip install . pip install -U .
- name: Lint with flake8 - name: Lint with flake8
run: | run: |
# stop the build if there are Python syntax errors or undefined names # stop the build if there are Python syntax errors or undefined names

@ -27,10 +27,8 @@ jobs:
run: | run: |
sudo apt-get install -y libzbar0 sudo apt-get install -y libzbar0
python -m pip install --upgrade pip python -m pip install --upgrade pip
pip install -r requirements-dev.txt pip install -U -r requirements-dev.txt
pip install -e . pip install -U .
# TODO find problem of missing colorama
pip install colorama
pytest pytest
- name: Set up QEMU - name: Set up QEMU

@ -9,7 +9,7 @@ qrcode = "*"
pillow = "*" pillow = "*"
qreader = "*" qreader = "*"
opencv-contrib-python = "*" opencv-contrib-python = "*"
colorama = "*" colorama = ">=0.4.6"
# for macOS: opencv-contrib-python = "<=4.7.0" # for macOS: opencv-contrib-python = "<=4.7.0"
# for PYTHON <= 3.7: typing_extensions = "*" # for PYTHON <= 3.7: typing_extensions = "*"

2
Pipfile.lock generated

@ -1,7 +1,7 @@
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "4cc62fa4427b3a8821438db9164bd5c7c42d4e5f08d3f950c40da381ba7e063e" "sha256": "25b244c44cb891ac15ef20c4011eb043b87fb1f112396d68f470d0bb362e97f7"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": { "requires": {

@ -37,7 +37,7 @@ dependencies = [
"opencv-contrib-python<=4.7.0; sys_platform == 'darwin'", "opencv-contrib-python<=4.7.0; sys_platform == 'darwin'",
"opencv-contrib-python; sys_platform != 'darwin'", "opencv-contrib-python; sys_platform != 'darwin'",
"typing_extensions; python_version<='3.7'", "typing_extensions; python_version<='3.7'",
"colorama", "colorama>=0.4.6",
] ]
description = "Extract two-factor authentication (2FA, TFA, OTP) secret keys from export QR codes of 'Google Authenticator' app" description = "Extract two-factor authentication (2FA, TFA, OTP) secret keys from export QR codes of 'Google Authenticator' app"
dynamic = ["version"] dynamic = ["version"]

@ -6,4 +6,4 @@ opencv-contrib-python<=4.7.0; sys_platform == 'darwin'
opencv-contrib-python; sys_platform != 'darwin' opencv-contrib-python; sys_platform != 'darwin'
pyzbar pyzbar
typing_extensions; python_version<='3.7' typing_extensions; python_version<='3.7'
colorama colorama>=0.4.6

Loading…
Cancel
Save