Comments (2)
pytest-valgrind output:
$ PYTHONMALLOC=malloc valgrind --show-leak-kinds=definite --log-file=/tmp/valgrind-output \
python -m pytest -vv --valgrind --valgrind-log=/tmp/valgrind-output
============================================================================================== test session starts ==============================================================================================
platform linux -- Python 3.10.12, pytest-7.4.3, pluggy-1.3.0 -- /home/marcogorelli/pyo3-polars-dev/polars_business/venv/bin/python
cachedir: .pytest_cache
hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase(PosixPath('/home/marcogorelli/pyo3-polars-dev/polars_business/.hypothesis/examples'))
pytest-valgrind: logfile=/tmp/valgrind-output
pytest-valgrind: Reporting direct+indirect leaks and ignoring the
pytest-valgrind: `--errors-for-leak-kinds` valgrind option.
pytest-valgrind: Python always causes "possible" leaks but you can use
pytest-valgrind: `--errors-for-leak-kinds=direct` to hide indirect leaks.)
rootdir: /home/marcogorelli/pyo3-polars-dev/polars_business
plugins: valgrind-0.2.0, hypothesis-6.91.0
collected 2 items
tests/test_business_offsets.py::test_invalid_roll_strategy PASSED [ 50%]
tests/test_business_offsets.py::test_against_np_busday_count Fatal Python error: Segmentation fault
Current thread 0x0000000004bc3780 (most recent call first):
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/polars/series/series.py", line 420 in name
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/polars/functions/lit.py", line 117 in lit
File "/home/marcogorelli/pyo3-polars-dev/polars_business/tests/test_business_offsets.py", line 25 in test_against_np_busday_count
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/python.py", line 194 in pytest_pyfunc_call
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/python.py", line 1792 in runtest
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/runner.py", line 169 in pytest_runtest_call
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/runner.py", line 262 in <lambda>
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/runner.py", line 341 in from_call
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/runner.py", line 261 in call_runtest_hook
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/runner.py", line 222 in call_and_report
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/runner.py", line 133 in runtestprotocol
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/runner.py", line 114 in pytest_runtest_protocol
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/main.py", line 350 in pytest_runtestloop
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/main.py", line 325 in _main
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/main.py", line 271 in wrap_session
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/main.py", line 318 in pytest_cmdline_main
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_callers.py", line 77 in _multicall
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_manager.py", line 115 in _hookexec
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pluggy/_hooks.py", line 493 in __call__
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/config/__init__.py", line 169 in main
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/_pytest/config/__init__.py", line 192 in console_main
File "/home/marcogorelli/pyo3-polars-dev/polars_business/venv/lib/python3.10/site-packages/pytest/__main__.py", line 5 in <module>
File "/usr/lib/python3.10/runpy.py", line 86 in _run_code
File "/usr/lib/python3.10/runpy.py", line 196 in _run_module_as_main
Extension modules: pytest_valgrind.valgrind (total: 1)
Segmentation fault
from pyo3-polars.
this has since been fixed in polars
from pyo3-polars.
Related Issues (20)
- libc::write argument type error HOT 4
- cannot find -lpython3.10: No such file or directory HOT 1
- Kernel panics when passing list(categorical) as input
- Support for Using Polars Extension with `over` Syntax HOT 1
- How to pass kwarg to func output type HOT 4
- plugins' names not respected? HOT 3
- Namespace API for DataFrame/LazyFrame
- Polars 0.26 rc1: plugins panic when passing String input HOT 2
- `ArrowInvalid` when return a `PyDataFrame` to python HOT 2
- LazyFrame::anonymous_scan can't be send to python HOT 1
- Pluggin list
- The first call to pyfunction returning PyDataFrame is slow HOT 3
- Please add examples of passing dataframes between python and rust HOT 1
- Allow for custom datasources as plugins HOT 10
- Template repository for pyo3-polars
- Upgrade to PyO3 0.21.1 HOT 2
- Maintain input series names, in rust, when a plugin is called within .over() context HOT 4
- Upgrade pyo3-polars and friends to PyO3 0.21 and its new Bound<> APIs
- Support pyo3-0.22 HOT 1
- Compilation error when performant feature is enabled for polars HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyo3-polars.