From 5856e525391b7d2d7745ed93233b091005538a90 Mon Sep 17 00:00:00 2001 From: Philip Hackstock <20710924+phackstock@users.noreply.github.com> Date: Mon, 16 Sep 2024 15:26:01 +0200 Subject: [PATCH] Add pysquirrel as depdency to test GH Windows tests --- poetry.lock | 57 ++++++++++++++++++++++++++++++++++++++++++++++++-- pyproject.toml | 1 + 2 files changed, 56 insertions(+), 2 deletions(-) diff --git a/poetry.lock b/poetry.lock index 41867537..78a8579e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.2 and should not be changed by hand. [[package]] name = "alabaster" @@ -1544,6 +1544,22 @@ testbase = ["pytest", "pytest-benchmark", "pytest-cov", "pytest-subtests"] uncertainties = ["uncertainties (>=3.1.6)"] xarray = ["xarray"] +[[package]] +name = "platformdirs" +version = "4.3.3" +description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." +optional = false +python-versions = ">=3.8" +files = [ + {file = "platformdirs-4.3.3-py3-none-any.whl", hash = "sha256:50a5450e2e84f44539718293cbb1da0a0885c9d14adf21b77bae4e66fc99d9b5"}, + {file = "platformdirs-4.3.3.tar.gz", hash = "sha256:d4e0b7d8ec176b341fb03cb11ca12d0276faa8c485f9cd218f613840463fc2c0"}, +] + +[package.extras] +docs = ["furo (>=2024.8.6)", "proselint (>=0.14)", "sphinx (>=8.0.2)", "sphinx-autodoc-typehints (>=2.4)"] +test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=8.3.2)", "pytest-cov (>=5)", "pytest-mock (>=3.14)"] +type = ["mypy (>=1.11.2)"] + [[package]] name = "pluggy" version = "1.5.0" @@ -1559,6 +1575,27 @@ files = [ dev = ["pre-commit", "tox"] testing = ["pytest", "pytest-benchmark"] +[[package]] +name = "pooch" +version = "1.8.2" +description = "A friend to fetch your data files" +optional = false +python-versions = ">=3.7" +files = [ + {file = "pooch-1.8.2-py3-none-any.whl", hash = "sha256:3529a57096f7198778a5ceefd5ac3ef0e4d06a6ddaf9fc2d609b806f25302c47"}, + {file = "pooch-1.8.2.tar.gz", hash = "sha256:76561f0de68a01da4df6af38e9955c4c9d1a5c90da73f7e40276a5728ec83d10"}, +] + +[package.dependencies] +packaging = ">=20.0" +platformdirs = ">=2.5.0" +requests = ">=2.19.0" + +[package.extras] +progress = ["tqdm (>=4.41.0,<5.0.0)"] +sftp = ["paramiko (>=2.7.0)"] +xxhash = ["xxhash (>=1.4.3)"] + [[package]] name = "psycopg" version = "3.2.1" @@ -1889,6 +1926,22 @@ files = [ [package.extras] diagrams = ["jinja2", "railroad-diagrams"] +[[package]] +name = "pysquirrel" +version = "1.0" +description = "Python package designed to fetch NUTS administrative divisions" +optional = false +python-versions = "<4.0,>=3.10" +files = [ + {file = "pysquirrel-1.0-py3-none-any.whl", hash = "sha256:d82759a31733ecda1fb045a0a2219fba02b37ac799b836c00aa95bf66f91a400"}, + {file = "pysquirrel-1.0.tar.gz", hash = "sha256:ee79915a7140d159a010752dd1ddb7657ad2cc33f0ae53f8c875f3b7c1dfc273"}, +] + +[package.dependencies] +openpyxl = ">=3.1.5,<4.0.0" +pooch = ">=1.8.2,<2.0.0" +pydantic = ">=2.8.2,<3.0.0" + [[package]] name = "pytest" version = "7.4.4" @@ -2706,4 +2759,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = ">=3.10, <3.13" -content-hash = "41bc60ab52c053b074e05975182531371bb3c5cc9d29ee44b89358395e463636" +content-hash = "5a6bd5345981f6cb3c93981ecf8d68eeca84878c669b84ef6418da96d366f1d6" diff --git a/pyproject.toml b/pyproject.toml index 6ef61c21..7856c081 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,6 +18,7 @@ pandas = ">=1.5.2" pycountry = "23.12.11" # pin to guard against "silent" changes in country names gitpython = "^3.1.40" numpy = "^1.23.0" +pysquirrel = "^1.0" [tool.poetry.group.dev.dependencies] ruff = "^0.6.2"