deps: adds syrupy

This commit is contained in:
Deepak Mallubhotla 2023-07-23 15:07:46 -05:00
parent 23e3b95bb6
commit 29abc8af89
Signed by: deepak
GPG Key ID: BEBAEBF28083E022
2 changed files with 40 additions and 49 deletions

86
poetry.lock generated
View File

@ -20,28 +20,6 @@ six = "*"
[package.extras] [package.extras]
test = ["astroid", "pytest"] 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]] [[package]]
name = "backcall" name = "backcall"
version = "0.2.0" version = "0.2.0"
@ -91,9 +69,17 @@ category = "dev"
optional = false optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" 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]] [[package]]
name = "coverage" name = "coverage"
version = "7.0.3" version = "7.2.7"
description = "Code coverage measurement for Python" description = "Code coverage measurement for Python"
category = "dev" category = "dev"
optional = false optional = false
@ -113,6 +99,17 @@ category = "dev"
optional = false optional = false
python-versions = ">=3.5" 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]] [[package]]
name = "executing" name = "executing"
version = "0.8.3" version = "0.8.3"
@ -349,14 +346,6 @@ python-versions = "*"
[package.extras] [package.extras]
tests = ["pytest"] 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]] [[package]]
name = "pycodestyle" name = "pycodestyle"
version = "2.8.0" version = "2.8.0"
@ -394,24 +383,22 @@ diagrams = ["jinja2", "railroad-diagrams"]
[[package]] [[package]]
name = "pytest" name = "pytest"
version = "6.2.5" version = "7.4.0"
description = "pytest: simple powerful testing with Python" description = "pytest: simple powerful testing with Python"
category = "dev" category = "dev"
optional = false optional = false
python-versions = ">=3.6" python-versions = ">=3.7"
[package.dependencies] [package.dependencies]
atomicwrites = {version = ">=1.0", markers = "sys_platform == \"win32\""}
attrs = ">=19.2.0"
colorama = {version = "*", markers = "sys_platform == \"win32\""} colorama = {version = "*", markers = "sys_platform == \"win32\""}
exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""}
iniconfig = "*" iniconfig = "*"
packaging = "*" packaging = "*"
pluggy = ">=0.12,<2.0" pluggy = ">=0.12,<2.0"
py = ">=1.8.2" tomli = {version = ">=1.0.0", markers = "python_version < \"3.11\""}
toml = "*"
[package.extras] [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]] [[package]]
name = "pytest-cov" name = "pytest-cov"
@ -469,12 +456,16 @@ pure-eval = "*"
tests = ["pytest", "typeguard", "pygments", "littleutils", "cython"] tests = ["pytest", "typeguard", "pygments", "littleutils", "cython"]
[[package]] [[package]]
name = "toml" name = "syrupy"
version = "0.10.2" version = "4.0.8"
description = "Python Library for Tom's Obvious, Minimal Language" description = "Pytest Snapshot Test Utility"
category = "dev" category = "dev"
optional = false 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]] [[package]]
name = "tomli" name = "tomli"
@ -513,20 +504,20 @@ python-versions = "*"
[metadata] [metadata]
lock-version = "1.1" lock-version = "1.1"
python-versions = "^3.8,<3.10" python-versions = ">=3.8.1,<3.10"
content-hash = "f5614947eb2f77e9cd8bd9dc026a924f4cb7394c3fef9cb175ab5afbe201ca73" content-hash = "b64fa03eb381b67f8cc9ce2995e5476dfbccddfad9e208c9823cae835d7dae08"
[metadata.files] [metadata.files]
appnope = [] appnope = []
asttokens = [] asttokens = []
atomicwrites = []
attrs = []
backcall = [] backcall = []
black = [] black = []
click = [] click = []
colorama = [] colorama = []
colored = []
coverage = [] coverage = []
decorator = [] decorator = []
exceptiongroup = []
executing = [] executing = []
flake8 = [] flake8 = []
iniconfig = [] iniconfig = []
@ -547,7 +538,6 @@ pluggy = []
prompt-toolkit = [] prompt-toolkit = []
ptyprocess = [] ptyprocess = []
pure-eval = [] pure-eval = []
py = []
pycodestyle = [] pycodestyle = []
pyflakes = [] pyflakes = []
pygments = [] pygments = []
@ -557,7 +547,7 @@ pytest-cov = []
scipy = [] scipy = []
six = [] six = []
stack-data = [] stack-data = []
toml = [] syrupy = []
tomli = [] tomli = []
traitlets = [] traitlets = []
typing-extensions = [] typing-extensions = []

View File

@ -7,7 +7,7 @@ license = "GPL-3.0-only"
readme = "README.md" readme = "README.md"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.8,<3.10" python = ">=3.8.1,<3.10"
numpy = "^1.22.3" numpy = "^1.22.3"
scipy = "~1.10" scipy = "~1.10"
@ -18,6 +18,7 @@ pytest-cov = "^3.0.0"
mypy = "^0.961" mypy = "^0.961"
ipython = "^8.2.0" ipython = "^8.2.0"
black = "^22.3.0" black = "^22.3.0"
syrupy = "^4.0.8"
[build-system] [build-system]
requires = ["poetry-core>=1.0.0"] requires = ["poetry-core>=1.0.0"]