File tree 3 files changed +26
-21
lines changed
3 files changed +26
-21
lines changed Original file line number Diff line number Diff line change 1
1
--extra-index-url https://antocuni.github.io/pypy-wheels/manylinux2010/
2
2
numpy == 1.16.6 ; python_version < "3.6" and sys_platform!="win32"
3
3
numpy == 1.18.0 ; platform_python_implementation == "PyPy" and sys_platform=="darwin" and python_version>="3.6"
4
- numpy == 1.19.3 ; (platform_python_implementation!="PyPy" or sys_platform=="linux" ) and python_version>="3.6" and python_version<"3.10"
4
+ numpy == 1.19.3 ; (platform_python_implementation!="PyPy" or sys_platform=="linux" ) and python_version=="3.6"
5
+ numpy == 1.20.0 ; (platform_python_implementation!="PyPy" or sys_platform=="linux" ) and python_version>="3.7" and python_version<"3.10"
5
6
pytest == 4.6.9 ; python_version < "3.5"
6
7
pytest == 6.1.2 ; python_version == "3.5"
7
8
pytest == 6.2.1 ; python_version >= "3.6"
Original file line number Diff line number Diff line change 1
1
# Valgrind suppression file for NumPy & SciPy errors and leaks in pybind11 tests
2
+ #
3
+ # On updating a dependency, to get a list of "default" leaks in e.g. NumPy, run
4
+ # `PYTHONMALLOC=malloc valgrind --leak-check=full --show-leak-kinds=definite,indirect python3.9-dbg -c "import numpy"`
5
+ # To use theses suppression files, add e.g. `--suppressions=valgrind-numpy-scipy.supp`
2
6
3
7
{
4
8
Leaks when importing NumPy
29
33
}
30
34
31
35
{
32
- Leaks when importing NumPy (tris )
36
+ Leaks when importing NumPy (ter )
33
37
Memcheck:Leak
34
38
fun:malloc
35
39
fun:_PyMem_RawMalloc
59
63
fun:_PyObject_GC_Malloc
60
64
fun:_PyObject_GC_NewVar
61
65
fun:tuple_alloc
66
+ fun:_PyTuple_FromArray
67
+ fun:_PyObject_MakeTpCall
68
+ fun:_PyObject_VectorcallTstate
69
+ fun:_PyObject_CallFunctionVa
70
+ fun:PyObject_CallFunction
71
+ fun:PyImport_Import
72
+ }
73
+
74
+ {
75
+ Leaks when importing NumPy (quinquies)
76
+ Memcheck:Leak
77
+ fun:malloc
78
+ fun:_PyMem_RawMalloc
79
+ fun:PyObject_Malloc
80
+ fun:_PyObject_GC_Alloc
81
+ fun:_PyObject_GC_Malloc
82
+ fun:_PyObject_GC_NewVar
83
+ fun:tuple_alloc
62
84
fun:PyTuple_New
63
85
fun:r_object
64
86
fun:r_object
67
89
}
68
90
69
91
{
70
- Leaks when importing NumPy (quinquies )
92
+ Leaks when importing NumPy (sexies )
71
93
Memcheck:Leak
72
94
fun:malloc
73
95
fun:_PyMem_RawMalloc
Original file line number Diff line number Diff line change 115
115
fun:_PyImport_FindSharedFuncptr
116
116
fun:_PyImport_LoadDynamicModuleWithSpec
117
117
}
118
-
119
- # Not really CPython-specific, see link
120
- {
121
- dlopen leak (https://stackoverflow.com/questions/1542457/memory-leak-reported-by-valgrind-in-dlopen)
122
- Memcheck:Leak
123
- fun:malloc
124
- ...
125
- fun:dl_open_worker
126
- fun:_dl_catch_exception
127
- fun:_dl_open
128
- fun:dlopen_doit
129
- fun:_dl_catch_exception
130
- fun:_dl_catch_error
131
- fun:_dlerror_run
132
- fun:dlopen@@GLIBC_2.2.5
133
- fun:_PyImport_FindSharedFuncptr
134
- fun:_PyImport_LoadDynamicModuleWithSpec
135
- }
You can’t perform that action at this time.
0 commit comments