diff --git a/.calcipy_packaging.lock b/.calcipy_packaging.lock index fa4f7aa6..589e7fe7 100644 --- a/.calcipy_packaging.lock +++ b/.calcipy_packaging.lock @@ -15,14 +15,6 @@ "name": "anyio", "version": "4.0.0" }, - "appdirs": { - "datetime": "2020-05-11T07:59:49.499913+00:00", - "domain": "https://pypi.org/pypi/{name}/json", - "latest_datetime": "2020-05-11T07:59:49.499913+00:00", - "latest_version": "1.4.4", - "name": "appdirs", - "version": "1.4.4" - }, "argcomplete": { "datetime": "2023-11-12T21:29:27.611335+00:00", "domain": "https://pypi.org/pypi/{name}/json", @@ -656,12 +648,12 @@ "version": "2.8.1" }, "platformdirs": { - "datetime": "2023-11-10T16:43:06.949502+00:00", + "datetime": "2023-10-02T15:16:29.336774+00:00", "domain": "https://pypi.org/pypi/{name}/json", "latest_datetime": "2023-11-10T16:43:06.949502+00:00", "latest_version": "4.0.0", "name": "platformdirs", - "version": "4.0.0" + "version": "3.11.0" }, "pluggy": { "datetime": "2023-08-26T19:10:18.887822+00:00", @@ -1064,12 +1056,12 @@ "version": "5.1.0" }, "virtualenv": { - "datetime": "2021-05-24T18:15:38.798779+00:00", + "datetime": "2023-10-23T18:22:55.453078+00:00", "domain": "https://pypi.org/pypi/{name}/json", "latest_datetime": "2023-10-23T18:22:55.453078+00:00", "latest_version": "20.24.6", "name": "virtualenv", - "version": "20.4.7" + "version": "20.24.6" }, "watchdog": { "datetime": "2023-03-20T09:20:25.047937+00:00", diff --git a/docs/docs/CHANGELOG.md b/docs/docs/CHANGELOG.md index 5ff5da20..e3a1acdb 100644 --- a/docs/docs/CHANGELOG.md +++ b/docs/docs/CHANGELOG.md @@ -1,5 +1,9 @@ ## Unreleased +### Fix + +- pin a recent version of virtualenv for Python 3.12 + Nox + ## 2.0.2 (2023-11-08) ### Refactor diff --git a/poetry.lock b/poetry.lock index d4064af3..c8ebcf0d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -32,17 +32,6 @@ doc = ["Sphinx (>=7)", "packaging", "sphinx-autodoc-typehints (>=1.2.0)"] test = ["anyio[trio]", "coverage[toml] (>=7)", "hypothesis (>=4.0)", "psutil (>=5.9)", "pytest (>=7.0)", "pytest-mock (>=3.6.1)", "trustme", "uvloop (>=0.17)"] trio = ["trio (>=0.22)"] -[[package]] -name = "appdirs" -version = "1.4.4" -description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -optional = true -python-versions = "*" -files = [ - {file = "appdirs-1.4.4-py2.py3-none-any.whl", hash = "sha256:a841dacd6b99318a741b166adb07e19ee71a274450e68237b4650ca1055ab128"}, - {file = "appdirs-1.4.4.tar.gz", hash = "sha256:7d5d0167b2b1ba821647616af46a749d1c653740dd0d2415100fe26e27afdf41"}, -] - [[package]] name = "argcomplete" version = "3.1.6" @@ -1674,13 +1663,13 @@ terminaltables = "*" [[package]] name = "platformdirs" -version = "4.0.0" +version = "3.11.0" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." optional = false python-versions = ">=3.7" files = [ - {file = "platformdirs-4.0.0-py3-none-any.whl", hash = "sha256:118c954d7e949b35437270383a3f2531e99dd93cf7ce4dc8340d3356d30f173b"}, - {file = "platformdirs-4.0.0.tar.gz", hash = "sha256:cb633b2bcf10c51af60beb0ab06d2f1d69064b43abf4c185ca6b28865f3f9731"}, + {file = "platformdirs-3.11.0-py3-none-any.whl", hash = "sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e"}, + {file = "platformdirs-3.11.0.tar.gz", hash = "sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3"}, ] [package.extras] @@ -2672,24 +2661,23 @@ yarl = "*" [[package]] name = "virtualenv" -version = "20.4.7" +version = "20.24.6" description = "Virtual Python Environment builder" optional = true -python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" +python-versions = ">=3.7" files = [ - {file = "virtualenv-20.4.7-py2.py3-none-any.whl", hash = "sha256:2b0126166ea7c9c3661f5b8e06773d28f83322de7a3ff7d06f0aed18c9de6a76"}, - {file = "virtualenv-20.4.7.tar.gz", hash = "sha256:14fdf849f80dbb29a4eb6caa9875d476ee2a5cf76a5f5415fa2f1606010ab467"}, + {file = "virtualenv-20.24.6-py3-none-any.whl", hash = "sha256:520d056652454c5098a00c0f073611ccbea4c79089331f60bf9d7ba247bb7381"}, + {file = "virtualenv-20.24.6.tar.gz", hash = "sha256:02ece4f56fbf939dbbc33c0715159951d6bf14aaf5457b092e4548e1382455af"}, ] [package.dependencies] -appdirs = ">=1.4.3,<2" -distlib = ">=0.3.1,<1" -filelock = ">=3.0.0,<4" -six = ">=1.9.0,<2" +distlib = ">=0.3.7,<1" +filelock = ">=3.12.2,<4" +platformdirs = ">=3.9.1,<4" [package.extras] -docs = ["proselint (>=0.10.2)", "sphinx (>=3)", "sphinx-argparse (>=0.2.5)", "sphinx-rtd-theme (>=0.4.3)", "towncrier (>=19.9.0rc1)"] -testing = ["coverage (>=4)", "coverage-enable-subprocess (>=1)", "flaky (>=3)", "packaging (>=20.0)", "pytest (>=4)", "pytest-env (>=0.6.2)", "pytest-freezegun (>=0.4.1)", "pytest-mock (>=2)", "pytest-randomly (>=1)", "pytest-timeout (>=1)", "xonsh (>=0.9.16)"] +docs = ["furo (>=2023.7.26)", "proselint (>=0.13)", "sphinx (>=7.1.2)", "sphinx-argparse (>=0.4)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=23.6)"] +test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess (>=1)", "flaky (>=3.7)", "packaging (>=23.1)", "pytest (>=7.4)", "pytest-env (>=0.8.2)", "pytest-freezer (>=0.4.8)", "pytest-mock (>=3.11.1)", "pytest-randomly (>=3.12)", "pytest-timeout (>=2.1)", "setuptools (>=68)", "time-machine (>=2.10)"] [[package]] name = "watchdog" @@ -2957,7 +2945,7 @@ ddict = ["python-box"] doc = ["commitizen", "mkdocs", "mkdocs-build-plantuml-plugin", "mkdocs-gen-files", "mkdocs-git-revision-date-localized-plugin", "mkdocs-include-markdown-plugin", "mkdocs-literate-nav", "mkdocs-material", "mkdocs-section-index", "mkdocstrings", "pandas", "pylint", "pymdown-extensions", "pyyaml", "transitions"] flake8 = ["dlint", "flake8", "flake8-adjustable-complexity", "flake8-annotations-complexity", "flake8-expression-complexity", "flake8-printf-formatting", "flake8-sql", "flake8-string-format"] lint = ["autopep8", "bandit", "pip-check", "ruff"] -nox = ["nox-poetry"] +nox = ["nox-poetry", "virtualenv"] pylint = ["pylint"] stale = ["arrow", "bidict", "httpx", "pyrate_limiter"] tags = ["arrow", "pandas", "pyyaml", "tabulate"] @@ -2967,4 +2955,4 @@ types = ["mypy"] [metadata] lock-version = "2.0" python-versions = "^3.9.13" -content-hash = "d3264ad7b70b34667b3467d2707aa8ab2c041aa0b5df6bb399cdffeac295dc8e" +content-hash = "6f3ab81e2588ad5bd1742f4423a879c9e74c0c0f9166115301bf706d9fa1cb49" diff --git a/pyproject.toml b/pyproject.toml index 10ef7d2c..b1a2b544 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -78,6 +78,7 @@ ruff = {optional = true, version = ">=0.1.5"} # lint semver = ">=3.0.1" # experimental tabulate = {optional = true, version = ">=0.9.0"} # tags: Required for pandas to markdown transitions = {optional = true, version = ">=0.9.0"} # tags: docs +virtualenv = {optional = true, version = ">=20.24.0"} # tags: nox. PRevents 'scripts' KeyError with Python 3.12 [tool.poetry.extras] ddict = ["python-box"] @@ -114,7 +115,7 @@ lint = [ "pip-check", "ruff", ] -nox = ["nox-poetry"] +nox = ["nox-poetry", "virtualenv"] pylint = ["pylint"] stale = [ "arrow",