From 3dacc2372715037970f0cb5e03c53ac6c8092a0a Mon Sep 17 00:00:00 2001 From: Max Winterstein Date: Sat, 18 Jun 2022 19:53:49 +0200 Subject: [PATCH] Add missing dependencies --- poetry.lock | 61 +++++++++++++++++++++++++++++++++--------------- pyproject.toml | 4 +++- requirements.txt | 16 +++++++------ 3 files changed, 54 insertions(+), 27 deletions(-) diff --git a/poetry.lock b/poetry.lock index 0bb56c2..d38a7ef 100644 --- a/poetry.lock +++ b/poetry.lock @@ -11,7 +11,7 @@ python-dateutil = ">=2.7.0" [[package]] name = "certifi" -version = "2022.5.18.1" +version = "2022.6.15" description = "Python package for providing Mozilla's CA Bundle." category = "main" optional = false @@ -55,7 +55,7 @@ python-dateutil = "*" [[package]] name = "dynaconf" -version = "3.1.8" +version = "3.1.9" description = "The dynamic configurator for your Python Project" category = "main" optional = false @@ -71,6 +71,14 @@ toml = ["toml"] vault = ["hvac"] yaml = ["ruamel.yaml"] +[[package]] +name = "google-play-scraper" +version = "1.1.0" +description = "Google-Play-Scraper provides APIs to easily crawl the Google Play Store for Python without any external dependencies!" +category = "main" +optional = false +python-versions = ">=3.6" + [[package]] name = "humanfriendly" version = "10.0" @@ -129,22 +137,30 @@ python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7" [package.dependencies] six = ">=1.5" +[[package]] +name = "random-user-agent" +version = "1.0.1" +description = "A package to get random user agents based filters provided by user" +category = "main" +optional = false +python-versions = "*" + [[package]] name = "requests" -version = "2.27.1" +version = "2.28.0" description = "Python HTTP for Humans." category = "main" optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" +python-versions = ">=3.7, <4" [package.dependencies] certifi = ">=2017.4.17" -charset-normalizer = {version = ">=2.0.0,<2.1.0", markers = "python_version >= \"3\""} -idna = {version = ">=2.5,<4", markers = "python_version >= \"3\""} +charset-normalizer = ">=2.0.0,<2.1.0" +idna = ">=2.5,<4" urllib3 = ">=1.21.1,<1.27" [package.extras] -socks = ["PySocks (>=1.5.6,!=1.5.7)", "win-inet-pton"] +socks = ["PySocks (>=1.5.6,!=1.5.7)"] use_chardet_on_py3 = ["chardet (>=3.0.2,<5)"] [[package]] @@ -171,14 +187,14 @@ doc = ["reno", "sphinx", "tornado (>=4.5)"] [[package]] name = "tgtg" -version = "0.11.3" +version = "0.11.4" description = "Unoffical python client for TooGoodToGo API" category = "main" optional = false -python-versions = ">=3.6,<4.0" +python-versions = ">=3.7,<4.0" [package.dependencies] -requests = "2.27.1" +requests = ">=2.28.0,<3.0.0" [[package]] name = "urllib3" @@ -196,7 +212,7 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] [metadata] lock-version = "1.1" python-versions = "^3.7" -content-hash = "e3b8d3a7462784e09f13a7c7f730523f2b6f13d079a23ff08de2814895668330" +content-hash = "a2d7fa77334c12177ef2854a57e7801baa5b9cd90e6dc7fba33dde3ec27d367e" [metadata.files] arrow = [ @@ -204,8 +220,8 @@ arrow = [ {file = "arrow-0.17.0.tar.gz", hash = "sha256:ff08d10cda1d36c68657d6ad20d74fbea493d980f8b2d45344e00d6ed2bf6ed4"}, ] certifi = [ - {file = "certifi-2022.5.18.1-py3-none-any.whl", hash = "sha256:f1d53542ee8cbedbe2118b5686372fb33c297fcd6379b050cca0ef13a597382a"}, - {file = "certifi-2022.5.18.1.tar.gz", hash = "sha256:9c5705e395cd70084351dd8ad5c41e65655e08ce46f2ec9cf6c2c08390f71eb7"}, + {file = "certifi-2022.6.15-py3-none-any.whl", hash = "sha256:fe86415d55e84719d75f8b69414f6438ac3547d2078ab91b67e779ef69378412"}, + {file = "certifi-2022.6.15.tar.gz", hash = "sha256:84c85a9078b11105f04f3036a9482ae10e4621616db313fe045dd24743a0820d"}, ] charset-normalizer = [ {file = "charset-normalizer-2.0.12.tar.gz", hash = "sha256:2857e29ff0d34db842cd7ca3230549d1a697f96ee6d3fb071cfa6c7393832597"}, @@ -220,8 +236,11 @@ croniter = [ {file = "croniter-1.3.5.tar.gz", hash = "sha256:7592fc0e8a00d82af98dfa2768b75983b6fb4c2adc8f6d0d7c931a715b7cefee"}, ] dynaconf = [ - {file = "dynaconf-3.1.8-py2.py3-none-any.whl", hash = "sha256:dea41800cf4eef488f49d3b5d1ff6305b85c3c21538f4dcfc39ab34d29606d28"}, - {file = "dynaconf-3.1.8.tar.gz", hash = "sha256:d141a6664fca3648d2d8e84440966af9f58c4f4201ca78353a3f595a67c19ab4"}, + {file = "dynaconf-3.1.9-py2.py3-none-any.whl", hash = "sha256:9eaaa6e64a4a64225f80cdad14379a37656b8f2dc607ab0fd949b75d479674cc"}, + {file = "dynaconf-3.1.9.tar.gz", hash = "sha256:f435c9e5b0b4b1dddf5e17e60a1e4c91ae0e6275aa51522456e671a7be3380eb"}, +] +google-play-scraper = [ + {file = "google-play-scraper-1.1.0.tar.gz", hash = "sha256:9b311b569d75b418b0e64c6a51077349d32da4bc4b0c6909f5661583704376e6"}, ] humanfriendly = [ {file = "humanfriendly-10.0-py2.py3-none-any.whl", hash = "sha256:1697e1a8a8f550fd43c2865cd84542fc175a61dcb779b6fee18cf6b6ccba1477"}, @@ -247,9 +266,13 @@ python-dateutil = [ {file = "python-dateutil-2.8.2.tar.gz", hash = "sha256:0123cacc1627ae19ddf3c27a5de5bd67ee4586fbdd6440d9748f8abb483d3e86"}, {file = "python_dateutil-2.8.2-py2.py3-none-any.whl", hash = "sha256:961d03dc3453ebbc59dbdea9e4e11c5651520a876d0f4db161e8674aae935da9"}, ] +random-user-agent = [ + {file = "random_user_agent-1.0.1-py3-none-any.whl", hash = "sha256:535636a55fb63fe3d74fd0260d854c241d9f2946447026464e578e68eac17dac"}, + {file = "random_user_agent-1.0.1.tar.gz", hash = "sha256:8f8ca26ec8cb1d24ad1758d8b8f700d154064d641dbe9a255cfec42960fbd012"}, +] requests = [ - {file = "requests-2.27.1-py2.py3-none-any.whl", hash = "sha256:f22fa1e554c9ddfd16e6e41ac79759e17be9e492b3587efa038054674760e72d"}, - {file = "requests-2.27.1.tar.gz", hash = "sha256:68d7c56fd5a8999887728ef304a6d12edc7be74f1cfa47714fc8b414525c9a61"}, + {file = "requests-2.28.0-py3-none-any.whl", hash = "sha256:bc7861137fbce630f17b03d3ad02ad0bf978c844f3536d0edda6499dafce2b6f"}, + {file = "requests-2.28.0.tar.gz", hash = "sha256:d568723a7ebd25875d8d1eaf5dfa068cd2fc8194b2e483d7b1f7c81918dbec6b"}, ] six = [ {file = "six-1.16.0-py2.py3-none-any.whl", hash = "sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254"}, @@ -260,8 +283,8 @@ tenacity = [ {file = "tenacity-6.3.1.tar.gz", hash = "sha256:e14d191fb0a309b563904bbc336582efe2037de437e543b38da749769b544d7f"}, ] tgtg = [ - {file = "tgtg-0.11.3-py3-none-any.whl", hash = "sha256:94d2d987907dd9c3ede8f9de4b06f8203b704f57f66fe40bc0d5dd6473be95c6"}, - {file = "tgtg-0.11.3.tar.gz", hash = "sha256:4e99f90d9500d8837a4a24b4bdf922faad56dbda69004f7858163670e5c4b5d3"}, + {file = "tgtg-0.11.4-py3-none-any.whl", hash = "sha256:4705d849a362324fa6ddd66d8b7464c4b249bdd363ffed3910a79b6880f07804"}, + {file = "tgtg-0.11.4.tar.gz", hash = "sha256:157c962c30b640dacfea90a805ff0a12e9c5f59a34cfb0e5f428c9337ede0637"}, ] urllib3 = [ {file = "urllib3-1.26.9-py2.py3-none-any.whl", hash = "sha256:44ece4d53fb1706f667c9bd1c648f5469a2ec925fcf3a776667042d645472c14"}, diff --git a/pyproject.toml b/pyproject.toml index cdb5d97..29f201c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ profile = "black" [tool.poetry] name = "toogoodtogo-ha-mqtt-bridge" -version = "2.2.0" +version = "2.2.1" description = "" authors = ["Max Winterstein "] @@ -19,6 +19,8 @@ coloredlogs = "^15.0" tenacity = "^6.3.1" arrow = "^0.17.0" croniter = "^1.1.0" +google-play-scraper = "^1.1.0" +random_user_agent = "^1.0.1" [build-system] requires = ["poetry-core>=1.0.0"] diff --git a/requirements.txt b/requirements.txt index 85e7ec2..1375573 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,17 +1,19 @@ arrow==0.17.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0") -certifi==2022.5.18.1; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.6.0" -charset-normalizer==2.0.12; python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.6.0" +certifi==2022.6.15; python_version >= "3.7" and python_version < "4" +charset-normalizer==2.0.12; python_version >= "3.7" and python_version < "4" and python_full_version >= "3.5.0" coloredlogs==15.0.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0") croniter==1.3.5; (python_version >= "2.6" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0") -dynaconf==3.1.8; python_version >= "3.7" +dynaconf==3.1.9; python_version >= "3.7" +google-play-scraper==1.1.0; python_version >= "3.6" humanfriendly==10.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" -idna==3.3; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.6.0" +idna==3.3; python_version >= "3.7" and python_version < "4" paho-mqtt==1.6.1 pyreadline3==3.4.1; sys_platform == "win32" and python_version >= "3.8" and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0") pyreadline==2.1; sys_platform == "win32" and python_version < "3.8" and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0") python-dateutil==2.8.2; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" -requests==2.27.1; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.6.0" +random-user-agent==1.0.1 +requests==2.28.0; python_version >= "3.7" and python_version < "4" six==1.16.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" tenacity==6.3.1 -tgtg==0.11.3; python_version >= "3.6" and python_version < "4.0" -urllib3==1.26.9; python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.6" +tgtg==0.11.4; python_version >= "3.7" and python_version < "4.0" +urllib3==1.26.9; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4" or python_full_version >= "3.5.0" and python_version < "4" and python_version >= "3.7"