From 6fc77b4b2993e83183925634e9f4cceecc26d6c0 Mon Sep 17 00:00:00 2001 From: Elia Robyn Lake Date: Tue, 25 Oct 2022 14:25:00 -0400 Subject: [PATCH] simplify deps by updating pytest --- poetry.lock | 52 +++++++++++++++++--------------------------------- pyproject.toml | 2 +- 2 files changed, 19 insertions(+), 35 deletions(-) diff --git a/poetry.lock b/poetry.lock index 3e4b6ed..27eab71 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6,14 +6,6 @@ category = "dev" optional = false python-versions = "*" -[[package]] -name = "atomicwrites" -version = "1.4.1" -description = "Atomic file writes." -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" - [[package]] name = "attrs" version = "22.1.0" @@ -87,6 +79,17 @@ category = "dev" optional = false python-versions = ">=3.5" +[[package]] +name = "exceptiongroup" +version = "1.0.0rc9" +description = "Backport of PEP 654 (exception groups)" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.extras] +test = ["pytest (>=6)"] + [[package]] name = "flake8" version = "4.0.1" @@ -379,14 +382,6 @@ category = "dev" optional = false python-versions = "*" -[[package]] -name = "py" -version = "1.11.0" -description = "library with cross-python path, ini-parsing, io, code, log facilities" -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" - [[package]] name = "pycodestyle" version = "2.8.0" @@ -427,25 +422,24 @@ diagrams = ["railroad-diagrams", "jinja2"] [[package]] name = "pytest" -version = "6.2.5" +version = "7.2.0" description = "pytest: simple powerful testing with Python" category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" [package.dependencies] -atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""} attrs = ">=19.2.0" colorama = {version = "*", markers = "sys_platform == \"win32\""} +exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""} importlib-metadata = {version = ">=0.12", markers = "python_version < \"3.8\""} iniconfig = "*" packaging = "*" pluggy = ">=0.12,<2.0" -py = ">=1.8.2" -toml = "*" +tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""} [package.extras] -testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"] +testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "xmlschema"] [[package]] name = "regex" @@ -455,14 +449,6 @@ category = "main" optional = false python-versions = ">=3.6" -[[package]] -name = "toml" -version = "0.10.2" -description = "Python Library for Tom's Obvious, Minimal Language" -category = "dev" -optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" - [[package]] name = "tomli" version = "2.0.1" @@ -535,17 +521,17 @@ mecab = ["mecab-python3", "ipadic", "mecab-ko-dic"] [metadata] lock-version = "1.1" python-versions = "^3.7" -content-hash = "3696519ef6dd938e37966b6c0a29e30de8eaf0c71e50b95797c9d806fe919014" +content-hash = "3701c1761f9f8e16cefafdfdf04e64cb436dc96cda64fc524ed9c8b8204046a6" [metadata.files] appnope = [] -atomicwrites = [] attrs = [] backcall = [] black = [] click = [] colorama = [] decorator = [] +exceptiongroup = [] flake8 = [] ftfy = [] importlib-metadata = [] @@ -571,14 +557,12 @@ platformdirs = [] pluggy = [] prompt-toolkit = [] ptyprocess = [] -py = [] pycodestyle = [] pyflakes = [] pygments = [] pyparsing = [] pytest = [] regex = [] -toml = [] tomli = [] traitlets = [] typed-ast = [] diff --git a/pyproject.toml b/pyproject.toml index 022f262..edaa13d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ mecab-ko-dic = {version = "^1.0.0", optional = true} jieba = {version = ">=0.42", optional = true} [tool.poetry.dev-dependencies] -pytest = "^6.2.5" +pytest = "^7.2.0" mecab-python3 = "^1.0.4" jieba = ">= 0.42" ipadic = "^1.0.0"