Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoSign in
Socket

pytest-memray

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pytest-memray - pypi Package Compare versions

Comparing version
1.4.0
to
1.4.1
+4
-1
docs/conf.py

@@ -30,3 +30,3 @@ """Sphinx configuration file for pytest-memray documentation."""

"user": ("https://github.com/%s", "@%s"),
"issue": ("https://github.com/bloomberg/pytest-memray/issue/%s", "#%s"),
"issue": ("https://github.com/bloomberg/pytest-memray/issues/%s", "#%s"),
}

@@ -36,2 +36,5 @@ programoutput_prompt_template = "$ pytest --memray /w/demo \n{output}"

here = Path(__file__).parent
linkcheck_allowed_redirects = {
"https://github.com/bloomberg/pytest-memray/issues/.*": "https://github.com/bloomberg/pytest-memray/pull/.*"
}

@@ -38,0 +41,0 @@

+1
-1

@@ -55,3 +55,3 @@ PYTHON ?= python

docs: ## Generate documentation
sphinx-build docs docs/_build/html --color -W --keep-going -n -bhtml
sphinx-build docs docs/_build/html --color -W --keep-going -n -bhtml -b linkcheck -W

@@ -58,0 +58,0 @@ .PHONY: clean

+11
-10
Metadata-Version: 2.1
Name: pytest-memray
Version: 1.4.0
Version: 1.4.1
Summary: A simple plugin to use with pytest

@@ -10,2 +10,3 @@ Project-URL: Bug Tracker, https://github.com/bloomberg/pytest-memray/issues

Maintainer-email: Pablo Galindo Salgado <pgalindo3@bloomberg.net>
License-Expression: Apache-2.0
License-File: LICENSE

@@ -22,21 +23,21 @@ Classifier: Intended Audience :: Developers

Requires-Python: >=3.8
Requires-Dist: memray>=1.4.1
Requires-Dist: memray>=1.5
Requires-Dist: pytest>=7.2
Provides-Extra: docs
Requires-Dist: furo>=2022.9.29; extra == 'docs'
Requires-Dist: furo>=2022.12.7; extra == 'docs'
Requires-Dist: sphinx-argparse>=0.4; extra == 'docs'
Requires-Dist: sphinx-inline-tabs>=2022.1.2b11; extra == 'docs'
Requires-Dist: sphinx>=5.3; extra == 'docs'
Requires-Dist: sphinx>=6.1.3; extra == 'docs'
Requires-Dist: sphinxcontrib-programoutput>=0.17; extra == 'docs'
Requires-Dist: towncrier>=22.8; extra == 'docs'
Requires-Dist: towncrier>=22.12; extra == 'docs'
Provides-Extra: lint
Requires-Dist: black==22.10; extra == 'lint'
Requires-Dist: black==22.12; extra == 'lint'
Requires-Dist: flake8==6; extra == 'lint'
Requires-Dist: isort==5.10.1; extra == 'lint'
Requires-Dist: isort==5.11.4; extra == 'lint'
Requires-Dist: mypy==0.991; extra == 'lint'
Provides-Extra: test
Requires-Dist: covdefaults>=2.2; extra == 'test'
Requires-Dist: coverage>=6.5; extra == 'test'
Requires-Dist: covdefaults>=2.2.2; extra == 'test'
Requires-Dist: coverage>=7.0.5; extra == 'test'
Requires-Dist: flaky>=3.7; extra == 'test'
Requires-Dist: pytest-xdist>=3.0.2; extra == 'test'
Requires-Dist: pytest-xdist>=3.1; extra == 'test'
Requires-Dist: pytest>=7.2; extra == 'test'

@@ -43,0 +44,0 @@ Description-Content-Type: text/markdown

[build-system]
build-backend = "hatchling.build"
requires = ["hatchling>=1.11.1", "hatch-vcs>=0.2"]
requires = ["hatchling>=1.12.2", "hatch-vcs>=0.3"]

@@ -23,24 +23,24 @@ [project]

"pytest>=7.2",
"memray>=1.4.1",
"memray>=1.5",
]
optional-dependencies.docs = [
"furo>=2022.9.29",
"sphinx>=5.3",
"furo>=2022.12.7",
"sphinx>=6.1.3",
"sphinx-argparse>=0.4",
"sphinx-inline-tabs>=2022.1.2b11",
"sphinxcontrib-programoutput>=0.17",
"towncrier>=22.8",
"towncrier>=22.12",
]
optional-dependencies.lint = [
"black==22.10",
"black==22.12",
"flake8==6",
"isort==5.10.1",
"isort==5.11.4",
"mypy==0.991",
]
optional-dependencies.test = [
"covdefaults>=2.2",
"covdefaults>=2.2.2",
"pytest>=7.2",
"coverage>=6.5",
"coverage>=7.0.5",
"flaky>=3.7",
"pytest-xdist>=3.0.2",
"pytest-xdist>=3.1",
]

@@ -47,0 +47,0 @@ dynamic = ["version"]

@@ -1,1 +0,1 @@

__version__ = "1.4.0"
__version__ = "1.4.1"

@@ -94,3 +94,3 @@ from __future__ import annotations

if path is None:
# Check the MEMRAY_RESULT_PAtH environment variable. If this
# Check the MEMRAY_RESULT_PATH environment variable. If this
# is set, it means that we are running in a worker and the main

@@ -139,3 +139,3 @@ # process has set it so we'll use it as the directory to store

def _build_bin_path() -> Path:
if self._tmp_dir is None:
if self._tmp_dir is None and not os.getenv("MEMRAY_RESULT_PATH"):
of_id = pyfuncitem.nodeid.replace("::", "-")

@@ -142,0 +142,0 @@ of_id = of_id.replace(os.sep, "-")

@@ -473,3 +473,4 @@ from __future__ import annotations

def test_foo():
@pytest.mark.parametrize("param", [("unused",)], ids=["x" * 1024])
def test_foo(param):
allocating_func1()

@@ -476,0 +477,0 @@

@@ -9,3 +9,3 @@ [tox]

lint
isolated_build = true
requires = tox>=4.2

@@ -28,4 +28,6 @@ [testenv]

make check
whitelist_externals =
allowlist_externals =
make
package = wheel
wheel_build_env = .pkg

@@ -65,3 +67,3 @@ [testenv:py310-cov]

deps =
towncrier>=22.8
towncrier>=22.12
commands =

@@ -84,1 +86,2 @@ make gen_news VERSION={posargs}

max-line-length = 95
ignore = E501, W503