From 55366cc8409fb1440a5959cf30755726bfe94559 Mon Sep 17 00:00:00 2001 From: Tom Parker-Shemilt Date: Sat, 2 Mar 2024 22:03:41 +0000 Subject: [PATCH] Upgrade virtualenv to avoid breaking pre-commit --- poetry.lock | 31 ++++++++++++++++--------------- pyproject.toml | 4 +--- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/poetry.lock b/poetry.lock index be70549..69eafdf 100755 --- a/poetry.lock +++ b/poetry.lock @@ -243,18 +243,19 @@ sgmllib3k = "*" [[package]] name = "filelock" -version = "3.4.1" +version = "3.13.1" description = "A platform independent file lock." optional = false -python-versions = ">=3.6" +python-versions = ">=3.8" files = [ - {file = "filelock-3.4.1-py3-none-any.whl", hash = "sha256:a4bc51381e01502a30e9f06dd4fa19a1712eab852b6fb0f84fd7cce0793d8ca3"}, - {file = "filelock-3.4.1.tar.gz", hash = "sha256:0f12f552b42b5bf60dba233710bf71337d35494fc8bdd4fd6d9f6d082ad45e06"}, + {file = "filelock-3.13.1-py3-none-any.whl", hash = "sha256:57dbda9b35157b05fb3e58ee91448612eb674172fab98ee235ccb0b5bee19a1c"}, + {file = "filelock-3.13.1.tar.gz", hash = "sha256:521f5f56c50f8426f5e03ad3b281b490a87ef15bc6c526f168290f0c7148d44e"}, ] [package.extras] -docs = ["furo (>=2021.8.17b43)", "sphinx (>=4.1)", "sphinx-autodoc-typehints (>=1.12)"] -testing = ["covdefaults (>=1.2.0)", "coverage (>=4)", "pytest (>=4)", "pytest-cov", "pytest-timeout (>=1.4.2)"] +docs = ["furo (>=2023.9.10)", "sphinx (>=7.2.6)", "sphinx-autodoc-typehints (>=1.24)"] +testing = ["covdefaults (>=2.3)", "coverage (>=7.3.2)", "diff-cover (>=8)", "pytest (>=7.4.3)", "pytest-cov (>=4.1)", "pytest-mock (>=3.12)", "pytest-timeout (>=2.2)"] +typing = ["typing-extensions (>=4.8)"] [[package]] name = "identify" @@ -1784,23 +1785,23 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] [[package]] name = "virtualenv" -version = "20.21.1" +version = "20.25.1" description = "Virtual Python Environment builder" optional = false python-versions = ">=3.7" files = [ - {file = "virtualenv-20.21.1-py3-none-any.whl", hash = "sha256:09ddbe1af0c8ed2bb4d6ed226b9e6415718ad18aef9fa0ba023d96b7a8356049"}, - {file = "virtualenv-20.21.1.tar.gz", hash = "sha256:4c104ccde994f8b108163cf9ba58f3d11511d9403de87fb9b4f52bf33dbc8668"}, + {file = "virtualenv-20.25.1-py3-none-any.whl", hash = "sha256:961c026ac520bac5f69acb8ea063e8a4f071bcc9457b9c1f28f6b085c511583a"}, + {file = "virtualenv-20.25.1.tar.gz", hash = "sha256:e08e13ecdca7a0bd53798f356d5831434afa5b07b93f0abdf0797b7a06ffe197"}, ] [package.dependencies] -distlib = ">=0.3.6,<1" -filelock = ">=3.4.1,<4" -platformdirs = ">=2.4,<4" +distlib = ">=0.3.7,<1" +filelock = ">=3.12.2,<4" +platformdirs = ">=3.9.1,<5" [package.extras] -docs = ["furo (>=2023.3.27)", "proselint (>=0.13)", "sphinx (>=6.1.3)", "sphinx-argparse (>=0.4)", "sphinxcontrib-towncrier (>=0.2.1a0)", "towncrier (>=22.12)"] -test = ["covdefaults (>=2.3)", "coverage (>=7.2.3)", "coverage-enable-subprocess (>=1)", "flaky (>=3.7)", "packaging (>=23.1)", "pytest (>=7.3.1)", "pytest-env (>=0.8.1)", "pytest-freezegun (>=0.4.2)", "pytest-mock (>=3.10)", "pytest-randomly (>=3.12)", "pytest-timeout (>=2.1)"] +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 = "zipp" @@ -1829,4 +1830,4 @@ zh = ["jieba"] [metadata] lock-version = "2.0" python-versions = "^3.8" -content-hash = "990aabfee469cca8b56fcb3bdd14d5fc3607201f95ca92d95a7f733851ebee2a" +content-hash = "6fb9cc94fd31a70142ec5c8516131c7e08eb0a439fea7e7620e0b97dc714a318" diff --git a/pyproject.toml b/pyproject.toml index 799413e..6460765 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,9 +61,6 @@ hi = ["indic-nlp-library"] np = ["indic-nlp-library"] ta = ["indic-nlp-library"] - - - [tool.poetry.group.dev.dependencies] coverage = {version = ">=7.3.2", python = "^3.8"} pre-commit = {version = ">=3.5.0", python = "^3.8"} @@ -76,6 +73,7 @@ types-pillow = {version = "^10.2.0.20240213", python = "^3.8"} types-python-dateutil = {version = "^2.8.19.20240106", python = "^3.8"} types-requests = "^2.27.1" types-beautifulsoup4 = {version = "^4.12.0.20240106", python = "^3.8"} +virtualenv = {version = ">=20.25.1"} [tool.poetry.group.docs.dependencies] sphinx = {version = ">=7.0.0", python = "^3.8"}