From 29abc8af891278cc4cb45de4e31d43f00aff7dc1 Mon Sep 17 00:00:00 2001 From: Deepak Mallubhotla Date: Sun, 23 Jul 2023 15:07:46 -0500 Subject: [PATCH] deps: adds syrupy --- poetry.lock | 86 ++++++++++++++++++++++---------------------------- pyproject.toml | 3 +- 2 files changed, 40 insertions(+), 49 deletions(-) diff --git a/poetry.lock b/poetry.lock index 460297e..58128ff 100644 --- a/poetry.lock +++ b/poetry.lock @@ -20,28 +20,6 @@ six = "*" [package.extras] test = ["astroid", "pytest"] -[[package]] -name = "atomicwrites" -version = "1.4.0" -description = "Atomic file writes." -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*" - -[[package]] -name = "attrs" -version = "21.4.0" -description = "Classes Without Boilerplate" -category = "dev" -optional = false -python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" - -[package.extras] -dev = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "furo", "sphinx", "sphinx-notfound-page", "pre-commit", "cloudpickle"] -docs = ["furo", "sphinx", "zope.interface", "sphinx-notfound-page"] -tests = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "zope.interface", "cloudpickle"] -tests_no_zope = ["coverage[toml] (>=5.0.2)", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "mypy", "pytest-mypy-plugins", "cloudpickle"] - [[package]] name = "backcall" version = "0.2.0" @@ -91,9 +69,17 @@ category = "dev" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" +[[package]] +name = "colored" +version = "1.4.4" +description = "Simple library for color and formatting to terminal" +category = "dev" +optional = false +python-versions = "*" + [[package]] name = "coverage" -version = "7.0.3" +version = "7.2.7" description = "Code coverage measurement for Python" category = "dev" optional = false @@ -113,6 +99,17 @@ category = "dev" optional = false python-versions = ">=3.5" +[[package]] +name = "exceptiongroup" +version = "1.1.2" +description = "Backport of PEP 654 (exception groups)" +category = "dev" +optional = false +python-versions = ">=3.7" + +[package.extras] +test = ["pytest (>=6)"] + [[package]] name = "executing" version = "0.8.3" @@ -349,14 +346,6 @@ python-versions = "*" [package.extras] tests = ["pytest"] -[[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" @@ -394,24 +383,22 @@ diagrams = ["jinja2", "railroad-diagrams"] [[package]] name = "pytest" -version = "6.2.5" +version = "7.4.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\""} 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", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "nose", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"] [[package]] name = "pytest-cov" @@ -469,12 +456,16 @@ pure-eval = "*" tests = ["pytest", "typeguard", "pygments", "littleutils", "cython"] [[package]] -name = "toml" -version = "0.10.2" -description = "Python Library for Tom's Obvious, Minimal Language" +name = "syrupy" +version = "4.0.8" +description = "Pytest Snapshot Test Utility" category = "dev" optional = false -python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*" +python-versions = ">=3.8.1,<4" + +[package.dependencies] +colored = ">=1.3.92,<2.0.0" +pytest = ">=7.0.0,<8.0.0" [[package]] name = "tomli" @@ -513,20 +504,20 @@ python-versions = "*" [metadata] lock-version = "1.1" -python-versions = "^3.8,<3.10" -content-hash = "f5614947eb2f77e9cd8bd9dc026a924f4cb7394c3fef9cb175ab5afbe201ca73" +python-versions = ">=3.8.1,<3.10" +content-hash = "b64fa03eb381b67f8cc9ce2995e5476dfbccddfad9e208c9823cae835d7dae08" [metadata.files] appnope = [] asttokens = [] -atomicwrites = [] -attrs = [] backcall = [] black = [] click = [] colorama = [] +colored = [] coverage = [] decorator = [] +exceptiongroup = [] executing = [] flake8 = [] iniconfig = [] @@ -547,7 +538,6 @@ pluggy = [] prompt-toolkit = [] ptyprocess = [] pure-eval = [] -py = [] pycodestyle = [] pyflakes = [] pygments = [] @@ -557,7 +547,7 @@ pytest-cov = [] scipy = [] six = [] stack-data = [] -toml = [] +syrupy = [] tomli = [] traitlets = [] typing-extensions = [] diff --git a/pyproject.toml b/pyproject.toml index dd7920b..80becd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ license = "GPL-3.0-only" readme = "README.md" [tool.poetry.dependencies] -python = "^3.8,<3.10" +python = ">=3.8.1,<3.10" numpy = "^1.22.3" scipy = "~1.10" @@ -18,6 +18,7 @@ pytest-cov = "^3.0.0" mypy = "^0.961" ipython = "^8.2.0" black = "^22.3.0" +syrupy = "^4.0.8" [build-system] requires = ["poetry-core>=1.0.0"]