From b11519194d7dd9a895ec697ce06fdfa4b92f99ae Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Fri, 13 Oct 2023 16:03:23 -0400 Subject: [PATCH] Add test dependencies to support testing on python 3.12 --- poetry.lock | 13 ++++++++++++- pyproject.toml | 2 ++ tox.ini | 3 +++ 3 files changed, 17 insertions(+), 1 deletion(-) diff --git a/poetry.lock b/poetry.lock index 43ed972..bcd820b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1515,6 +1515,17 @@ files = [ {file = "pickleshare-0.7.5.tar.gz", hash = "sha256:87683d47965c1da65cdacaf31c8441d12b8044cdec9aca500cd78fc2c683afca"}, ] +[[package]] +name = "pip" +version = "23.2.1" +description = "The PyPA recommended tool for installing Python packages." +optional = false +python-versions = ">=3.7" +files = [ + {file = "pip-23.2.1-py3-none-any.whl", hash = "sha256:7ccf472345f20d35bdc9d1841ff5f313260c2c33fe417f48c30ac46cccabf5be"}, + {file = "pip-23.2.1.tar.gz", hash = "sha256:fb0bd5435b3200c602b5bf61d2d43c2f13c02e29c1707567ae7fbc514eb9faf2"}, +] + [[package]] name = "pkginfo" version = "1.9.6" @@ -2696,4 +2707,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" python-versions = "^3.7.1" -content-hash = "efe9513c66d4d21046ff40ec3b6e70d1153fb18f9cddf14c366de12691a6b9fa" +content-hash = "a3e7194364a3c9be4c8b3414427a6a132bb9de82abd90dd52133afa3a8b99a37" diff --git a/pyproject.toml b/pyproject.toml index 135e420..4a6c4ff 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,6 +42,8 @@ ruamel-yaml = {version = "^0.17.21", python = "^3.10"} # # https://github.com/python-poetry/poetry-plugin-export/issues/176 virtualenv = ">=20.15,<20.16" +setuptools = {version = "^68.2.2", python = "^3.12"} +pip = {version = "^23.2.1", python = "^3.12"} [tool.poetry.group.ci.dependencies] poetry = "^1.4.2" diff --git a/tox.ini b/tox.ini index 33ac9a2..51c1b55 100644 --- a/tox.ini +++ b/tox.ini @@ -19,6 +19,9 @@ commands = --cov-config {toxinidir}/.coveragerc \ --cov-report term-missing +[testenv:.package] +basepython = python3.10 + [testenv:static] description = Static formatting and quality enforcement basepython = python3.10