pytest-codspeed 3.1.0__tar.gz → 3.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_codspeed-3.1.0/src/pytest_codspeed.egg-info → pytest_codspeed-3.1.1}/PKG-INFO +1 -1
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/pyproject.toml +2 -2
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/setup.py +17 -7
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/__init__.py +2 -2
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1/src/pytest_codspeed.egg-info}/PKG-INFO +1 -1
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed.egg-info/SOURCES.txt +0 -1
- pytest_codspeed-3.1.0/src/pytest_codspeed/instruments/valgrind/_wrapper/wrapper.h +0 -6
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/LICENSE +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/README.md +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/setup.cfg +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/instruments/__init__.py +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/instruments/valgrind/__init__.py +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/instruments/valgrind/_wrapper/__init__.py +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/instruments/valgrind/_wrapper/build.py +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/instruments/valgrind/_wrapper/wrapper.c +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/instruments/valgrind/_wrapper/wrapper.pyi +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/instruments/walltime.py +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/plugin.py +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/py.typed +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/utils.py +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed.egg-info/dependency_links.txt +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed.egg-info/entry_points.txt +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed.egg-info/requires.txt +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed.egg-info/top_level.txt +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/tests/test_pytest_plugin.py +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/tests/test_pytest_plugin_cpu_instrumentation.py +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/tests/test_pytest_plugin_walltime.py +0 -0
- {pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/tests/test_utils.py +0 -0
|
@@ -60,8 +60,8 @@ version = { attr = "pytest_codspeed.__version__" }
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
[tool.bumpver]
|
|
63
|
-
current_version = "3.1.
|
|
64
|
-
version_pattern = "MAJOR.MINOR.PATCH[-TAG]"
|
|
63
|
+
current_version = "3.1.1"
|
|
64
|
+
version_pattern = "MAJOR.MINOR.PATCH[-TAG[NUM]]"
|
|
65
65
|
commit_message = "Release v{new_version} 🚀"
|
|
66
66
|
tag_message = "Release v{new_version} 🚀"
|
|
67
67
|
tag_scope = "default"
|
|
@@ -28,12 +28,19 @@ IS_EXTENSION_BUILDABLE = system == "Linux" and current_arch in [
|
|
|
28
28
|
IS_EXTENSION_REQUIRED = (
|
|
29
29
|
os.environ.get("PYTEST_CODSPEED_FORCE_EXTENSION_BUILD") is not None
|
|
30
30
|
)
|
|
31
|
+
|
|
32
|
+
SKIP_EXTENSION_BUILD = (
|
|
33
|
+
os.environ.get("PYTEST_CODSPEED_SKIP_EXTENSION_BUILD") is not None
|
|
34
|
+
)
|
|
35
|
+
|
|
36
|
+
if SKIP_EXTENSION_BUILD and IS_EXTENSION_REQUIRED:
|
|
37
|
+
raise ValueError("Extension build required but the build requires to skip it")
|
|
38
|
+
|
|
31
39
|
if IS_EXTENSION_REQUIRED and not IS_EXTENSION_BUILDABLE:
|
|
32
40
|
raise ValueError(
|
|
33
41
|
"The extension is required but the current platform is not supported"
|
|
34
42
|
)
|
|
35
43
|
|
|
36
|
-
|
|
37
44
|
ffi_extension = build.ffibuilder.distutils_extension()
|
|
38
45
|
ffi_extension.optional = not IS_EXTENSION_REQUIRED
|
|
39
46
|
|
|
@@ -43,11 +50,14 @@ print(
|
|
|
43
50
|
)
|
|
44
51
|
|
|
45
52
|
setup(
|
|
46
|
-
|
|
47
|
-
"pytest_codspeed": [
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
53
|
+
exclude_package_data={
|
|
54
|
+
"pytest_codspeed.instruments.valgrind._wrapper": [
|
|
55
|
+
"*.c",
|
|
56
|
+
"*.h",
|
|
57
|
+
"build.py",
|
|
58
|
+
],
|
|
51
59
|
},
|
|
52
|
-
ext_modules=
|
|
60
|
+
ext_modules=(
|
|
61
|
+
[ffi_extension] if IS_EXTENSION_BUILDABLE and not SKIP_EXTENSION_BUILD else []
|
|
62
|
+
),
|
|
53
63
|
)
|
|
@@ -18,7 +18,6 @@ src/pytest_codspeed/instruments/valgrind/__init__.py
|
|
|
18
18
|
src/pytest_codspeed/instruments/valgrind/_wrapper/__init__.py
|
|
19
19
|
src/pytest_codspeed/instruments/valgrind/_wrapper/build.py
|
|
20
20
|
src/pytest_codspeed/instruments/valgrind/_wrapper/wrapper.c
|
|
21
|
-
src/pytest_codspeed/instruments/valgrind/_wrapper/wrapper.h
|
|
22
21
|
src/pytest_codspeed/instruments/valgrind/_wrapper/wrapper.pyi
|
|
23
22
|
tests/test_pytest_plugin.py
|
|
24
23
|
tests/test_pytest_plugin_cpu_instrumentation.py
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed/instruments/valgrind/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/src/pytest_codspeed.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_codspeed-3.1.0 → pytest_codspeed-3.1.1}/tests/test_pytest_plugin_cpu_instrumentation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|