This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
import warnings | |
import threading | |
def raise_warning(): | |
warnings.warn(RuntimeWarning()) | |
def test_pytest_warns(): |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by python configure 3.14, which was | |
generated by GNU Autoconf 2.71. Invocation command line was | |
$ ./configure --prefix=/Users/goldbaum/.pyenv/versions/3.13-dev --enable-shared --libdir=/Users/goldbaum/.pyenv/versions/3.13-dev/lib --with-openssl=/opt/homebrew/opt/openssl@3 --with-dsymutil --disable-gil | |
## --------- ## | |
## Platform. ## |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+(/opt/homebrew/bin/pyenv:23): enable -f /opt/homebrew/bin/../libexec/pyenv-realpath.dylib realpath | |
+(/opt/homebrew/bin/pyenv:30): '[' -z '' ']' | |
++(/opt/homebrew/bin/pyenv:32): type -P readlink | |
+(/opt/homebrew/bin/pyenv:32): READLINK=/usr/bin/readlink | |
+(/opt/homebrew/bin/pyenv:33): '[' -n /usr/bin/readlink ']' | |
+(/opt/homebrew/bin/pyenv:58): '[' -z /Users/goldbaum/.pyenv ']' | |
+(/opt/homebrew/bin/pyenv:61): PYENV_ROOT=/Users/goldbaum/.pyenv | |
+(/opt/homebrew/bin/pyenv:63): export PYENV_ROOT | |
+(/opt/homebrew/bin/pyenv:65): '[' -z '' ']' | |
+(/opt/homebrew/bin/pyenv:66): PYENV_DIR=/Users/goldbaum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run the full numpy test suite | |
$ spin test | |
Invoking `build` prior to running tests: | |
$ /Users/goldbaum/.pyenv/versions/3.13-dev-nogil/bin/python3.13 vendored-meson/meson/meson.py compile -C build | |
INFO: autodetecting backend as ninja | |
INFO: calculating backend command to run: /Users/goldbaum/.pyenv/versions/3.13-dev-nogil/bin/ninja -C /Users/goldbaum/Documents/numpy/build | |
ninja: Entering directory `/Users/goldbaum/Documents/numpy/build' | |
[1/1] Generating numpy/generate-version with a custom command | |
Saving version to numpy/version.py | |
$ /Users/goldbaum/.pyenv/versions/3.13-dev-nogil/bin/python3.13 vendored-meson/meson/meson.py install --only-changed -C build --destdir ../build-install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Change | Before [12aa98e0] <main> | After [8f5b0c5d] <nogil-pythreadtype-lock> | Ratio | Benchmark (Parameter) | | |
|----------|----------------------------|----------------------------------------------|---------|--------------------------------------------------------------------------------------------------------| | |
| + | 41.6±0.3μs | 47.2±0.4μs | 1.13 | bench_ufunc.UFunc.time_ufunc_types('logical_not') | | |
| + | 361±5ns | 396±20ns | 1.09 | bench_ufunc.MethodsV1.time_ndarray_meth('__gt__', 'float64') | | |
| + | 346±3ns | 373±6ns | 1.08 | bench_ufunc.MethodsV1.time_ndarray_meth('__add__', 'int64') | | |
| + |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Change | Before [12aa98e0] <main> | After [080755f2] <nogil-ufunc-caches> | Ratio | Benchmark (Parameter) | | |
|----------|----------------------------|-----------------------------------------|---------|----------------------------------------------------------------------------------------------------------------| | |
| + | 634±4ns | 793±100ns | 1.25 | bench_ufunc.ArgParsingReduce.time_add_reduce_arg_parsing((array([0., 1.]), 0)) | | |
| + | 265±5ns | 315±6ns | 1.19 | bench_ufunc.Scalar.time_add_scalar | | |
| + | 344±3ns | 408±30ns | 1.18 | bench_ufunc.MethodsV1IntOnly.time_ndarray_meth('__or__', 'int64') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Change | Before [ef5f10d6] <main> | After [f133e62e] <test-disable-data-cache> | Ratio | Benchmark (Parameter) | | |
|----------|----------------------------|----------------------------------------------|---------|-------------------------------------------------------------------------------------------------| | |
| + | 4.82±0.01μs | 16.5±3μs | 3.42 | bench_ufunc_strides.BinaryFPSpecial.time_binary_scalar_in1(<ufunc 'maximum'>, 2, 4, 4, 'f') | | |
| + | 31.5±0.4μs | 102±70μs | 3.25 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'tan'>, 1, 1, 'd') | | |
| + | 1.43±0.01μs | 3.72±4μs | 2.6 | bench_ufunc_strides.BinaryIntContig.time_binary_scalar_in0(<ufunc 'logical_and'>, 1, 1, 1, 'l') | | |
| + | 2.67±0.01μs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Change | Before [ef5f10d6] <main> | After [9ffca2be] <test-dict-identity-hash> | Ratio | Benchmark (Parameter) | | |
|----------|----------------------------|----------------------------------------------|---------|------------------------------------------------------------------------------------------------------------| | |
| + | 7.87±0.01μs | 16.9±9μs | 2.14 | bench_ufunc.UFunc.time_ufunc_types('invert') | | |
| + | 39.0±0.02μs | 62.9±30μs | 1.61 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sinh'>, 4, 1, 'e') | | |
| + | 14.1±0.01μs | 20.4±9μs | 1.45 | bench_ufunc_strides.UnaryFP.time_unary(<ufunc 'sinh'>, 4, 1, 'f') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================================== | |
ERROR: runTest (__main__.CythonRunTestCase.runTest) | |
[-1] compiling (cpp/cy2) and running cpp_nonstdint | |
---------------------------------------------------------------------- | |
Traceback (most recent call last): | |
File "/Users/goldbaum/Documents/cython/runtests.py", line 1504, in run | |
ext_so_path = self.runCompileTest() | |
~~~~~~~~~~~~~~~~~~~^^ | |
File "/Users/goldbaum/Documents/cython/runtests.py", line 1119, in runCompileTest | |
return self.compile( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ~/user/github | |
cd !$ | |
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh | |
chmod 755 Miniconda3-latest-Linux-x86_64.sh | |
./Miniconda3-latest-Linux-x86_64.sh -b -f -u -p csp_venv | |
. ~/user/github/csp_venv/etc/profile.d/conda.sh | |
conda config --add channels conda-forge | |
conda config --set channel_priority strict |
NewerOlder