From 269411e94b4d112d46df36677aee70927f7885d6 Mon Sep 17 00:00:00 2001 From: Mike Fogel Date: Sat, 6 Jul 2024 14:57:22 -0700 Subject: [PATCH] Explicitly depend on pytz for dev env To allow lint to work on all files, including ones that import pytz --- poetry.lock | 13 ++++++++++++- pyproject.toml | 1 + 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index dbd2b0a..a62702d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -673,6 +673,17 @@ files = [ [package.dependencies] pytest = ">=2.5.2,<7" +[[package]] +name = "pytz" +version = "2024.1" +description = "World timezone definitions, modern and historical" +optional = false +python-versions = "*" +files = [ + {file = "pytz-2024.1-py2.py3-none-any.whl", hash = "sha256:328171f4e3623139da4983451950b28e95ac706e13f3f2630a879749e7a8b319"}, + {file = "pytz-2024.1.tar.gz", hash = "sha256:2a29735ea9c18baf14b448846bde5a48030ed267578472d8955cd0e7443a9812"}, +] + [[package]] name = "sqlparse" version = "0.5.0" @@ -825,4 +836,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "39f07c586abdfcaf94c217d8f06487823f727fbb378cbb4ec44971fe349d9440" +content-hash = "c67f51be40ea91964a848b14d74229d87cdbf403b9376c1d61d3ba6768ca73d9" diff --git a/pyproject.toml b/pyproject.toml index 91b0d8b..9b9cda3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,7 @@ pytest-django = "^4.5.2" pytest-pythonpath = "^0.7.3" pytest-lazy-fixture = "^0.6.3" pytest-cov = "^3.0.0" +pytz = "^2024.1" black = "^23.3.0" isort = "^5.11.5" pylint = "^2.13.9"