From 2067db7aff3b257fcb897e14d826f39a8792668c Mon Sep 17 00:00:00 2001 From: Andrea Zonca Date: Tue, 23 Jun 2020 07:32:37 -0700 Subject: [PATCH] pkg: add importlib resources for Python 3.6 --- poetry.lock | 24 ++++++++++++------------ pyproject.toml | 1 + 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/poetry.lock b/poetry.lock index dac50ca7..89625b49 100644 --- a/poetry.lock +++ b/poetry.lock @@ -254,7 +254,7 @@ category = "main" description = "Read metadata from Python packages" marker = "python_version < \"3.8\"" name = "importlib-metadata" -optional = true +optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" version = "1.6.0" @@ -270,9 +270,9 @@ category = "main" description = "Read resources from Python packages" marker = "python_version < \"3.7\"" name = "importlib-resources" -optional = true +optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" -version = "1.5.0" +version = "2.0.1" [package.dependencies] [package.dependencies.importlib-metadata] @@ -1211,7 +1211,7 @@ description = "Virtual Python Environment builder" name = "virtualenv" optional = true python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" -version = "20.0.21" +version = "20.0.24" [package.dependencies] appdirs = ">=1.4.3,<2" @@ -1225,11 +1225,11 @@ version = ">=0.12,<2" [package.dependencies.importlib-resources] python = "<3.7" -version = ">=1.0,<2" +version = ">=1.0" [package.extras] docs = ["sphinx (>=3)", "sphinx-argparse (>=0.2.5)", "sphinx-rtd-theme (>=0.4.3)", "towncrier (>=19.9.0rc1)", "proselint (>=0.10.2)"] -testing = ["pytest (>=4)", "coverage (>=5)", "coverage-enable-subprocess (>=1)", "pytest-xdist (>=1.31.0)", "pytest-mock (>=2)", "pytest-env (>=0.6.2)", "pytest-randomly (>=1)", "pytest-timeout", "packaging (>=20.0)", "xonsh (>=0.9.16)"] +testing = ["pytest (>=4)", "coverage (>=5)", "coverage-enable-subprocess (>=1)", "pytest-xdist (>=1.31.0)", "pytest-mock (>=2)", "pytest-env (>=0.6.2)", "pytest-randomly (>=1)", "pytest-timeout (>=1)", "pytest-freezegun (>=0.4.1)", "flaky (>=3)", "packaging (>=20.0)", "xonsh (>=0.9.16)"] [[package]] category = "main" @@ -1252,7 +1252,7 @@ category = "main" description = "Backport of pathlib-compatible object wrapper for zip files" marker = "python_version < \"3.8\"" name = "zipp" -optional = true +optional = false python-versions = ">=3.6" version = "3.1.0" @@ -1265,7 +1265,7 @@ docs = ["sphinx", "sphinx-astropy", "nbsphinx", "sphinx-math-dollar", "pandoc", test = ["pytest", "pytest-astropy", "mpi4py", "tox"] [metadata] -content-hash = "803e8b868036f2660bed50cffea037aed37324148800d38421059a7dcdbb1458" +content-hash = "69e4d6af3f40fe17f70d2f440514d9f1037224bd1059134e11b09cbdf2b68ca0" python-versions = "^3.6" [metadata.files] @@ -1426,8 +1426,8 @@ importlib-metadata = [ {file = "importlib_metadata-1.6.0.tar.gz", hash = "sha256:34513a8a0c4962bc66d35b359558fd8a5e10cd472d37aec5f66858addef32c1e"}, ] importlib-resources = [ - {file = "importlib_resources-1.5.0-py2.py3-none-any.whl", hash = "sha256:85dc0b9b325ff78c8bef2e4ff42616094e16b98ebd5e3b50fe7e2f0bbcdcde49"}, - {file = "importlib_resources-1.5.0.tar.gz", hash = "sha256:6f87df66833e1942667108628ec48900e02a4ab4ad850e25fbf07cb17cf734ca"}, + {file = "importlib_resources-2.0.1-py2.py3-none-any.whl", hash = "sha256:83985739b3a6679702f9ab33f0ad016ad564664d0568a31ac14d7c64789453e6"}, + {file = "importlib_resources-2.0.1.tar.gz", hash = "sha256:f5edfcece1cc9435d0979c19e08739521f4cf1aa1adaf6e571f732df6f568962"}, ] ipykernel = [ {file = "ipykernel-5.3.0-py3-none-any.whl", hash = "sha256:a8362e3ae365023ca458effe93b026b8cdadc0b73ff3031472128dd8a2cf0289"}, @@ -1924,8 +1924,8 @@ urllib3 = [ {file = "urllib3-1.25.9.tar.gz", hash = "sha256:3018294ebefce6572a474f0604c2021e33b3fd8006ecd11d62107a5d2a963527"}, ] virtualenv = [ - {file = "virtualenv-20.0.21-py2.py3-none-any.whl", hash = "sha256:a730548b27366c5e6cbdf6f97406d861cccece2e22275e8e1a757aeff5e00c70"}, - {file = "virtualenv-20.0.21.tar.gz", hash = "sha256:a116629d4e7f4d03433b8afa27f43deba09d48bc48f5ecefa4f015a178efb6cf"}, + {file = "virtualenv-20.0.24-py2.py3-none-any.whl", hash = "sha256:1b253c5d0e76afe24c76ce288cdd5dd01ac7deaa55f644998c74e5a799349522"}, + {file = "virtualenv-20.0.24.tar.gz", hash = "sha256:680011aa2995fb8b7c2bbea7da7afd8dcaf382def7a3e02a1b1fba4b402aa8cf"}, ] wcwidth = [ {file = "wcwidth-0.2.3-py2.py3-none-any.whl", hash = "sha256:980fbf4f3c196c0f329cdcd1e84c554d6a211f18e252e525a0cf4223154a41d6"}, diff --git a/pyproject.toml b/pyproject.toml index 1f96e4b5..448a6448 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,7 @@ pytest = {version = "^5.4.3", optional = true} pytest-astropy = {version = "^0.8.0", optional = true} mpi4py = {version = "^3.0.3", optional = true} tox = {version = "^3.15.1", optional = true} +importlib_resources = {version = "^2.0.1", python = "3.6"} [tool.poetry.extras] test = ["pytest", "pytest-astropy", "mpi4py", "tox"]