From e0588285c93c62835262b2bc555880b364db640c Mon Sep 17 00:00:00 2001 From: scito Date: Sun, 15 Jan 2023 10:20:41 +0100 Subject: [PATCH] require qreader < 2.0.0 due to breaking changes - add more classifiers --- Pipfile | 2 +- Pipfile.lock | 30 +++++++++++++++--------------- pyproject.toml | 5 ++++- requirements.txt | 2 +- 4 files changed, 21 insertions(+), 18 deletions(-) diff --git a/Pipfile b/Pipfile index ceec799..e9b33bc 100644 --- a/Pipfile +++ b/Pipfile @@ -11,7 +11,7 @@ opencv-contrib-python = "*" pillow = "*" protobuf = "*" qrcode = "*" -qreader = "*" +qreader = "<2.0.0" [dev-packages] build = "*" diff --git a/Pipfile.lock b/Pipfile.lock index e0f2819..15cc9f7 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "13e2cc849fbc56593a2179a51a091717bcd4baeb9235b0843bb3abd8a9d1c698" + "sha256": "9b56c9708e464fbb035e36b29b0c89f0250bc50ac37234f3948a366136a8e6c9" }, "pipfile-spec": 6, "requires": { @@ -229,11 +229,11 @@ }, "build": { "hashes": [ - "sha256:1a07724e891cbd898923145eb7752ee7653674c511378eb9c7691aab1612bc3c", - "sha256:38a7a2b7a0bdc61a42a0a67509d88c71ecfc37b393baba770fae34e20929ff69" + "sha256:af266720050a66c893a6096a2f410989eeac74ff9a68ba194b3f6473e8e26171", + "sha256:d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269" ], "index": "pypi", - "version": "==0.9.0" + "version": "==0.10.0" }, "coverage": { "extras": [ @@ -436,14 +436,6 @@ "markers": "python_version >= '3.7'", "version": "==23.0" }, - "pep517": { - "hashes": [ - "sha256:4ba4446d80aed5b5eac6509ade100bff3e7943a8489de249654a5ae9b33ee35b", - "sha256:ae69927c5c172be1add9203726d4b84cf3ebad1edcd5f71fcdc746e66e829f59" - ], - "markers": "python_version >= '3.6'", - "version": "==0.13.0" - }, "platformdirs": { "hashes": [ "sha256:83c8f6d04389165de7c9b6f0c682439697887bca0aa2f1c87ef1826be3584490", @@ -504,13 +496,21 @@ "index": "pypi", "version": "==2.15.10" }, + "pyproject-hooks": { + "hashes": [ + "sha256:283c11acd6b928d2f6a7c73fa0d01cb2bdc5f07c57a2eeb6e83d5e56b97976f8", + "sha256:f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5" + ], + "markers": "python_version >= '3.7'", + "version": "==1.0.0" + }, "pytest": { "hashes": [ - "sha256:892f933d339f068883b6fd5a459f03d85bfcb355e4981e146d2c7616c21fef71", - "sha256:c4014eb40e10f11f355ad4e3c2fb2c6c6d1919c73f3b5a433de4708202cade59" + "sha256:c7c6ca206e93355074ae32f7403e8ea12163b1163c976fee7d4d84027c162be5", + "sha256:d45e0952f3727241918b8fd0f376f5ff6b301cc0777c6f9a556935c92d8a7d42" ], "index": "pypi", - "version": "==7.2.0" + "version": "==7.2.1" }, "pytest-cov": { "hashes": [ diff --git a/pyproject.toml b/pyproject.toml index 3eaf140..bcab23a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,6 +16,8 @@ classifiers = [ "Environment :: Win32 (MS Windows)", "Topic :: System :: Archiving :: Backup", "Topic :: Utilities", + "Topic :: Security", + "Topic :: Multimedia :: Graphics :: Capture :: Digital Camera", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", @@ -27,6 +29,7 @@ classifiers = [ "Programming Language :: Python", "Natural Language :: English", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", + "Typing :: Typed", ] dependencies = [ "colorama>=0.4.6", @@ -36,7 +39,7 @@ dependencies = [ "protobuf", "pyzbar", "qrcode", - "qreader", + "qreader<2.0.0", "typing_extensions; python_version<='3.7'", ] description = "Extracts one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as 'Google Authenticator'" diff --git a/requirements.txt b/requirements.txt index 60001a2..c4e52cd 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,5 +5,5 @@ Pillow protobuf pyzbar qrcode -qreader +qreader<2.0.0 typing_extensions; python_version<='3.7'