vaex
vaex copied to clipboard
[FEATURE-REQUEST] Support Python 3.11.2
Hey, I was wondering what makes vaex fail to install on Python 3.11.2
Building wheel for vaex-core (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for vaex-core (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [501 lines of output]
<string>:4: DeprecationWarning: the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-12.5-x86_64-cpython-311
creating build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/scopes.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/geo.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/serialize.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/functions.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/logging.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/misc_cmdline.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/promise.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/expresso.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/execution.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/grids.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/tasks.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/config.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/version.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/encoding.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/benchmark.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/legacy.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/dataset_mmap.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/datatype_test.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/memory.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/_version.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/registry.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/samp.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/events.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/dataframe.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/convert.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/asyncio.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/cpu.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/cache.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/__init__.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/dataset_utils.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/formatting.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/selections.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/export.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/join.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/docstrings.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/rolling.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/dataset.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/hash.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/shift.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/delayed.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/dataframe_protocol.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/utils.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/kld.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/stat.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/csv.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/parallelize.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/settings.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/datatype.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/metal.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/progress.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/array_types.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/agg.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/groupby.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/expression.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/json.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/dataset_misc.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/image.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/__main__.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/multiprocessing.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/strings.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/column.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/struct.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/schema.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/multithreading.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/itertools.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/meta.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
creating build/lib.macosx-12.5-x86_64-cpython-311/vaex/arrow
copying vaex/arrow/utils_test.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/arrow
copying vaex/arrow/_version.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/arrow
copying vaex/arrow/opener.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/arrow
copying vaex/arrow/convert.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/arrow
copying vaex/arrow/dataset.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/arrow
copying vaex/arrow/utils.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/arrow
copying vaex/arrow/numpy_dispatch.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/arrow
creating build/lib.macosx-12.5-x86_64-cpython-311/vaex/core
copying vaex/core/_version.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/core
copying vaex/core/__init__.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/core
creating build/lib.macosx-12.5-x86_64-cpython-311/vaex/file
copying vaex/file/s3arrow.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/file
copying vaex/file/gcs.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/file
copying vaex/file/asyncio.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/file
copying vaex/file/cache.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/file
copying vaex/file/__init__.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/file
copying vaex/file/s3fs.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/file
copying vaex/file/s3_test.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/file
copying vaex/file/s3.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/file
copying vaex/file/column.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/file
creating build/lib.macosx-12.5-x86_64-cpython-311/vaex/test
copying vaex/test/misc.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test
copying vaex/test/expresso.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test
copying vaex/test/plot.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test
copying vaex/test/ui.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test
copying vaex/test/__init__.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test
copying vaex/test/all.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test
copying vaex/test/dataset.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test
copying vaex/test/__main__.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test
copying vaex/test/cmodule.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test
creating build/lib.macosx-12.5-x86_64-cpython-311/vaex/ext
copying vaex/ext/ipyvolume.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/ext
copying vaex/ext/jprops.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/ext
copying vaex/ext/readcol.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/ext
copying vaex/ext/__init__.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/ext
copying vaex/ext/common.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/ext
copying vaex/ext/bokeh.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/ext
creating build/lib.macosx-12.5-x86_64-cpython-311/vaex/misc
copying vaex/misc/ordereddict.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/misc
copying vaex/misc/samp.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/misc
copying vaex/misc/expressions.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/misc
copying vaex/misc/__init__.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/misc
copying vaex/misc/pandawrap.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/misc
copying vaex/misc/progressbar.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/misc
copying vaex/misc/parallelize.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/misc
creating build/lib.macosx-12.5-x86_64-cpython-311/vaex/datasets
copying vaex/datasets/__init__.py -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/datasets
running egg_info
writing vaex_core.egg-info/PKG-INFO
writing dependency_links to vaex_core.egg-info/dependency_links.txt
writing entry points to vaex_core.egg-info/entry_points.txt
writing requirements to vaex_core.egg-info/requires.txt
writing top-level names to vaex_core.egg-info/top_level.txt
reading manifest file 'vaex_core.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching '*.c' under directory 'vendor'
warning: no files found matching '*.h' under directory 'src'
warning: no files found matching '*.c' under directory 'src'
adding license file 'LICENSE.txt'
writing manifest file 'vaex_core.egg-info/SOURCES.txt'
/private/var/folders/ph/kl0lzzgd7rj651qtlhdqy17m0000gn/T/pip-build-env-my16up7p/overlay/lib/python3.11/site-packages/setuptools/command/build_py.py:201: _Warning: Package 'vaex.test.files' is absent from the `packages` configuration.
!!
********************************************************************************
############################
# Package would be ignored #
############################
Python recognizes 'vaex.test.files' as an importable package[^1],
but it is absent from setuptools' `packages` configuration.
This leads to an ambiguous overall configuration. If you want to distribute this
package, please make sure that 'vaex.test.files' is explicitly added
to the `packages` configuration field.
Alternatively, you can also rely on setuptools' discovery methods
(for example by using `find_namespace_packages(...)`/`find_namespace:`
instead of `find_packages(...)`/`find:`).
You can read more about "package discovery" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/package_discovery.html
If you don't want 'vaex.test.files' to be distributed and are
already explicitly excluding 'vaex.test.files' via
`find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
you can try to use `exclude_package_data`, or `include-package-data=False` in
combination with a more fine grained `package-data` configuration.
You can read more about "package data files" on setuptools documentation page:
- https://setuptools.pypa.io/en/latest/userguide/datafiles.html
[^1]: For Python, any directory (with suitable naming) can be imported,
even if it does not contain any `.py` files.
On the other hand, currently there is no concept of package data
directory, all directories are treated like packages.
********************************************************************************
!!
check.warn(importable)
copying vaex/pcre.dll -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/pcrecpp.dll -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
copying vaex/vcruntime140_1.dll -> build/lib.macosx-12.5-x86_64-cpython-311/vaex
creating build/lib.macosx-12.5-x86_64-cpython-311/vaex/test/files
copying vaex/test/files/gaia-small-colfits-basic.fits -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test/files
copying vaex/test/files/gaia-small-fits-basic.fits -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test/files
copying vaex/test/files/gaia-small-colfits-plus.fits -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test/files
copying vaex/test/files/gaia-small-fits-plus.fits -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test/files
copying vaex/test/files/gaia-small-votable.vot -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test/files
copying vaex/test/files/default_amuse_plummer.hdf5 -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/test/files
copying vaex/datasets/iris.hdf5 -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/datasets
copying vaex/datasets/titanic.hdf5 -> build/lib.macosx-12.5-x86_64-cpython-311/vaex/datasets
running build_ext
building 'vaex.vaexfast' extension
creating build/temp.macosx-12.5-x86_64-cpython-311
creating build/temp.macosx-12.5-x86_64-cpython-311/src
clang -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/private/var/folders/ph/kl0lzzgd7rj651qtlhdqy17m0000gn/T/pip-build-env-my16up7p/overlay/lib/python3.11/site-packages/numpy/core/include -I/Users/franz/.pyenv/versions/3.11.2/include/python3.11 -c src/vaexfast.cpp -o build/temp.macosx-12.5-x86_64-cpython-311/src/vaexfast.o -std=c++11 -O3 -funroll-loops -Werror=return-type -Wno-unused-parameter -g -mmacosx-version-min=10.9
In file included from src/vaexfast.cpp:31:
In file included from /private/var/folders/ph/kl0lzzgd7rj651qtlhdqy17m0000gn/T/pip-build-env-my16up7p/overlay/lib/python3.11/site-packages/numpy/core/include/numpy/arrayobject.h:5:
In file included from /private/var/folders/ph/kl0lzzgd7rj651qtlhdqy17m0000gn/T/pip-build-env-my16up7p/overlay/lib/python3.11/site-packages/numpy/core/include/numpy/ndarrayobject.h:12:
In file included from /private/var/folders/ph/kl0lzzgd7rj651qtlhdqy17m0000gn/T/pip-build-env-my16up7p/overlay/lib/python3.11/site-packages/numpy/core/include/numpy/ndarraytypes.h:1948:
/private/var/folders/ph/kl0lzzgd7rj651qtlhdqy17m0000gn/T/pip-build-env-my16up7p/overlay/lib/python3.11/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-W#warnings]
#warning "Using deprecated NumPy API, disable it with " \
^
src/vaexfast.cpp:743:2: warning: '/*' within block comment [-Wcomment]
/**/
^
src/vaexfast.cpp:665:12: warning: unused variable 'i_x' [-Wunused-variable]
long long i_x = offset_x;
^
src/vaexfast.cpp:666:12: warning: unused variable 'i_y' [-Wunused-variable]
long long i_y = offset_y;
^
4 warnings generated.
clang++ -bundle -undefined dynamic_lookup -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/franz/.pyenv/versions/3.11.2/lib -Wl,-rpath,/Users/franz/.pyenv/versions/3.11.2/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/readline/lib -L/Users/franz/.pyenv/versions/3.11.2/lib -Wl,-rpath,/Users/franz/.pyenv/versions/3.11.2/lib -L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/lib build/temp.macosx-12.5-x86_64-cpython-311/src/vaexfast.o -L/Users/franz/.pyenv/versions/3.11.2/lib -o build/lib.macosx-12.5-x86_64-cpython-311/vaex/vaexfast.cpython-311-darwin.so
building 'vaex.superstrings' extension
clang -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/private/var/folders/ph/kl0lzzgd7rj651qtlhdqy17m0000gn/T/pip-build-env-my16up7p/overlay/lib/python3.11/site-packages/numpy/core/include -Ivendor/pybind11/include -Ivendor/pybind11/include -Ivendor/string-view-lite/include -Ivendor/boost -I/Users/franz/.pyenv/versions/3.11.2/include -I/Users/franz/.pyenv/versions/3.11.2/Library/include -I/private/var/folders/ph/kl0lzzgd7rj651qtlhdqy17m0000gn/T/pip-install-jmyl0ajg/vaex-core_1fde4995c5534df5b6d81a87468ebc0f/vendor/pcre/Library/include -I/Users/franz/.pyenv/versions/3.11.2/include/python3.11 -c src/string_utils.cpp -o build/temp.macosx-12.5-x86_64-cpython-311/src/string_utils.o -std=c++11 -O3 -funroll-loops -Werror=return-type -Wno-unused-parameter -g -mmacosx-version-min=10.9
clang -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include -I/private/var/folders/ph/kl0lzzgd7rj651qtlhdqy17m0000gn/T/pip-build-env-my16up7p/overlay/lib/python3.11/site-packages/numpy/core/include -Ivendor/pybind11/include -Ivendor/pybind11/include -Ivendor/string-view-lite/include -Ivendor/boost -I/Users/franz/.pyenv/versions/3.11.2/include -I/Users/franz/.pyenv/versions/3.11.2/Library/include -I/private/var/folders/ph/kl0lzzgd7rj651qtlhdqy17m0000gn/T/pip-install-jmyl0ajg/vaex-core_1fde4995c5534df5b6d81a87468ebc0f/vendor/pcre/Library/include -I/Users/franz/.pyenv/versions/3.11.2/include/python3.11 -c src/strings.cpp -o build/temp.macosx-12.5-x86_64-cpython-311/src/strings.o -std=c++11 -O3 -funroll-loops -Werror=return-type -Wno-unused-parameter -g -mmacosx-version-min=10.9
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
In file included from vendor/pybind11/include/pybind11/pybind11.h:44:
In file included from vendor/pybind11/include/pybind11/attr.h:13:
In file included from vendor/pybind11/include/pybind11/cast.h:16:
vendor/pybind11/include/pybind11/detail/internals.h:200:9: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
PyEval_InitThreads();
^
/Users/franz/.pyenv/versions/3.11.2/include/python3.11/ceval.h:132:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here
Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
^
/Users/franz/.pyenv/versions/3.11.2/include/python3.11/pyport.h:336:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
In file included from vendor/pybind11/include/pybind11/pybind11.h:44:
In file included from vendor/pybind11/include/pybind11/attr.h:13:
vendor/pybind11/include/pybind11/cast.h:442:36: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
" " + handle(frame->f_code->co_filename).cast<std::string>() +
^
/Users/franz/.pyenv/versions/3.11.2/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
In file included from vendor/pybind11/include/pybind11/pybind11.h:44:
In file included from vendor/pybind11/include/pybind11/attr.h:13:
vendor/pybind11/include/pybind11/cast.h:444:29: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
handle(frame->f_code->co_name).cast<std::string>() + "\n";
^
/Users/franz/.pyenv/versions/3.11.2/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
In file included from vendor/pybind11/include/pybind11/pybind11.h:44:
In file included from vendor/pybind11/include/pybind11/attr.h:13:
vendor/pybind11/include/pybind11/cast.h:445:26: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame = frame->f_back;
^
/Users/franz/.pyenv/versions/3.11.2/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
vendor/pybind11/include/pybind11/pybind11.h:2021:49: error: no member named 'frame' in '_ts'
PyFrameObject *frame = PyThreadState_Get()->frame;
~~~~~~~~~~~~~~~~~~~ ^
vendor/pybind11/include/pybind11/pybind11.h:2022:41: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
if (frame && (std::string) str(frame->f_code->co_name) == name &&
^
/Users/franz/.pyenv/versions/3.11.2/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
vendor/pybind11/include/pybind11/pybind11.h:2023:14: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame->f_code->co_argcount > 0) {
^
/Users/franz/.pyenv/versions/3.11.2/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
vendor/pybind11/include/pybind11/pybind11.h:2026:18: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
^
/Users/franz/.pyenv/versions/3.11.2/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
vendor/pybind11/include/pybind11/pybind11.h:2026:52: error: member access into incomplete type 'PyFrameObject' (aka '_frame')
frame->f_locals, PyTuple_GET_ITEM(frame->f_code->co_varnames, 0));
^
/Users/franz/.pyenv/versions/3.11.2/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame'
typedef struct _frame PyFrameObject;
^
src/strings.cpp:278:27: warning: comparison of integers of different signs: 'int64_t' (aka 'long long') and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]
if ((i < 0) || (i > length)) {
~ ^ ~~~~~~
src/strings.cpp:287:27: warning: comparison of integers of different signs: 'int64_t' (aka 'long long') and 'const size_t' (aka 'const unsigned long') [-Wsign-compare]
if ((i < 0) || (i > length)) {
~ ^ ~~~~~~
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:838:18: warning: variable 'has_null' set but not used [-Wunused-but-set-variable]
bool has_null = false;
^
In file included from src/strings.cpp:6:
src/superstring.hpp:500:173: warning: field '_own_null_bitmap' will be initialized after field 'indices_length' [-Wreorder-ctor]
: StringSequenceBase(string_count, null_bitmap, null_offset), bytes(0), byte_length(byte_length), indices(0), offset(offset), _own_bytes(true), _own_indices(true), _own_null_bitmap(false), indices_length(length+1) {
~~~~~~~~~~ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
indices_length(length+1) indices(0) offset(offset _own_bytes(true _own_indices(true _own_null_bitmap(false
src/superstring.hpp:865:28: note: in instantiation of member function 'StringList<int>::StringList' requested here
StringList *list = new StringList(_this->byte_size(), _this->length, 0, _this->null_bitmap, _this->null_offset);
^
src/superstring.hpp:890:16: note: in instantiation of function template specialization '_apply_seq<StringList<int>, stripper>' requested here
return _apply_seq<StringList32, W>(_this, word_transform);
^
src/superstring.hpp:1092:76: note: in instantiation of function template specialization '_apply_seq<stripper>' requested here
StringSequenceBase *StringSequenceBase::lstrip(std::string chars) { return _apply_seq<>(this, stripper(chars, true, false)); }
^
src/superstring.hpp:500:173: warning: field '_own_null_bitmap' will be initialized after field 'indices_length' [-Wreorder-ctor]
: StringSequenceBase(string_count, null_bitmap, null_offset), bytes(0), byte_length(byte_length), indices(0), offset(offset), _own_bytes(true), _own_indices(true), _own_null_bitmap(false), indices_length(length+1) {
~~~~~~~~~~ ~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~
indices_length(length+1) indices(0) offset(offset _own_bytes(true _own_indices(true _own_null_bitmap(false
src/superstring.hpp:1161:28: note: in instantiation of member function 'StringList<long long>::StringList' requested here
StringList64 *sl = new StringList64(byte_size(), length);
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
vendor/pybind11/include/pybind11/pybind11.h:1078:9: warning: expression result unused [-Wunused-value]
PYBIND11_EXPAND_SIDE_EFFECTS(add_base<options>(record));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/pybind11/include/pybind11/detail/common.h:651:47: note: expanded from macro 'PYBIND11_EXPAND_SIDE_EFFECTS'
#define PYBIND11_EXPAND_SIDE_EFFECTS(PATTERN) pybind11::detail::expand_side_effects{ ((PATTERN), void(), false)..., false }
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/strings.cpp:730:65: note: in instantiation of function template specialization 'pybind11::class_<StringSequence, std::shared_ptr<StringSequence>>::class_<>' requested here
py::class_<StringSequence, std::shared_ptr<StringSequence>> string_sequence(m, "StringSequence");
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
vendor/pybind11/include/pybind11/pybind11.h:1078:9: warning: expression result unused [-Wunused-value]
PYBIND11_EXPAND_SIDE_EFFECTS(add_base<options>(record));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/pybind11/include/pybind11/detail/common.h:651:47: note: expanded from macro 'PYBIND11_EXPAND_SIDE_EFFECTS'
#define PYBIND11_EXPAND_SIDE_EFFECTS(PATTERN) pybind11::detail::expand_side_effects{ ((PATTERN), void(), false)..., false }
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/strings.cpp:731:73: note: in instantiation of function template specialization 'pybind11::class_<StringSequenceBase, std::shared_ptr<StringSequenceBase>>::class_<pybind11::class_<StringSequence, std::shared_ptr<StringSequence>>>' requested here
py::class_<StringSequenceBase, std::shared_ptr<StringSequenceBase>> string_sequence_base(m, "StringSequenceBase", string_sequence);
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
vendor/pybind11/include/pybind11/pybind11.h:1078:9: warning: expression result unused [-Wunused-value]
PYBIND11_EXPAND_SIDE_EFFECTS(add_base<options>(record));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/pybind11/include/pybind11/detail/common.h:651:47: note: expanded from macro 'PYBIND11_EXPAND_SIDE_EFFECTS'
#define PYBIND11_EXPAND_SIDE_EFFECTS(PATTERN) pybind11::detail::expand_side_effects{ ((PATTERN), void(), false)..., false }
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/strings.cpp:797:5: note: in instantiation of function template specialization 'pybind11::class_<StringListList>::class_<>' requested here
py::class_<StringListList>(m, "StringListList")
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
vendor/pybind11/include/pybind11/pybind11.h:1078:9: warning: expression result unused [-Wunused-value]
PYBIND11_EXPAND_SIDE_EFFECTS(add_base<options>(record));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/pybind11/include/pybind11/detail/common.h:651:47: note: expanded from macro 'PYBIND11_EXPAND_SIDE_EFFECTS'
#define PYBIND11_EXPAND_SIDE_EFFECTS(PATTERN) pybind11::detail::expand_side_effects{ ((PATTERN), void(), false)..., false }
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/strings.cpp:529:5: note: in instantiation of function template specialization 'pybind11::class_<StringList<int>, std::shared_ptr<StringList<int>>>::class_<pybind11::class_<StringSequenceBase, std::shared_ptr<StringSequenceBase>>>' requested here
py::class_<StringList, std::shared_ptr<StringList>>(m, class_name, base)
^
src/strings.cpp:804:5: note: in instantiation of function template specialization 'add_string_list<StringList<int>, pybind11::class_<StringSequenceBase, std::shared_ptr<StringSequenceBase>>, pybind11::module>' requested here
add_string_list<StringList32>(m, string_sequence_base, "StringList32");
^
In file included from src/strings.cpp:6:
src/superstring.hpp:493:11: warning: field '_own_null_bitmap' will be initialized after field 'indices_length' [-Wreorder-ctor]
_own_null_bitmap(false), indices_length(length+1) {}
^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
_own_indices(false _own_null_bitmap(false
src/strings.cpp:539:29: note: in instantiation of member function 'StringList<int>::StringList' requested here
return new StringList((char *)bytes_info.ptr, bytes_info.shape[0], (typename StringList::index_type *)indices_info.ptr, string_count, offset);
^
src/strings.cpp:804:5: note: in instantiation of function template specialization 'add_string_list<StringList<int>, pybind11::class_<StringSequenceBase, std::shared_ptr<StringSequenceBase>>, pybind11::module>' requested here
add_string_list<StringList32>(m, string_sequence_base, "StringList32");
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
vendor/pybind11/include/pybind11/pybind11.h:1078:9: warning: expression result unused [-Wunused-value]
PYBIND11_EXPAND_SIDE_EFFECTS(add_base<options>(record));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/pybind11/include/pybind11/detail/common.h:651:47: note: expanded from macro 'PYBIND11_EXPAND_SIDE_EFFECTS'
#define PYBIND11_EXPAND_SIDE_EFFECTS(PATTERN) pybind11::detail::expand_side_effects{ ((PATTERN), void(), false)..., false }
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/strings.cpp:529:5: note: in instantiation of function template specialization 'pybind11::class_<StringList<long long>, std::shared_ptr<StringList<long long>>>::class_<pybind11::class_<StringSequenceBase, std::shared_ptr<StringSequenceBase>>>' requested here
py::class_<StringList, std::shared_ptr<StringList>>(m, class_name, base)
^
src/strings.cpp:805:5: note: in instantiation of function template specialization 'add_string_list<StringList<long long>, pybind11::class_<StringSequenceBase, std::shared_ptr<StringSequenceBase>>, pybind11::module>' requested here
add_string_list<StringList64>(m, string_sequence_base, "StringList64");
^
In file included from src/strings.cpp:6:
src/superstring.hpp:493:11: warning: field '_own_null_bitmap' will be initialized after field 'indices_length' [-Wreorder-ctor]
_own_null_bitmap(false), indices_length(length+1) {}
^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~
_own_indices(false _own_null_bitmap(false
src/strings.cpp:539:29: note: in instantiation of member function 'StringList<long long>::StringList' requested here
return new StringList((char *)bytes_info.ptr, bytes_info.shape[0], (typename StringList::index_type *)indices_info.ptr, string_count, offset);
^
src/strings.cpp:805:5: note: in instantiation of function template specialization 'add_string_list<StringList<long long>, pybind11::class_<StringSequenceBase, std::shared_ptr<StringSequenceBase>>, pybind11::module>' requested here
add_string_list<StringList64>(m, string_sequence_base, "StringList64");
^
In file included from src/strings.cpp:6:
In file included from src/superstring.hpp:8:
In file included from vendor/pybind11/include/pybind11/numpy.h:12:
vendor/pybind11/include/pybind11/pybind11.h:1078:9: warning: expression result unused [-Wunused-value]
PYBIND11_EXPAND_SIDE_EFFECTS(add_base<options>(record));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vendor/pybind11/include/pybind11/detail/common.h:651:47: note: expanded from macro 'PYBIND11_EXPAND_SIDE_EFFECTS'
#define PYBIND11_EXPAND_SIDE_EFFECTS(PATTERN) pybind11::detail::expand_side_effects{ ((PATTERN), void(), false)..., false }
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/strings.cpp:806:5: note: in instantiation of function template specialization 'pybind11::class_<StringArray, std::shared_ptr<StringArray>>::class_<pybind11::class_<StringSequenceBase, std::shared_ptr<StringSequenceBase>>>' requested here
py::class_<StringArray, std::shared_ptr<StringArray>>(m, "StringArray", string_sequence_base)
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:868:25: note: in instantiation of function template specialization 'to_string_mask<float>' requested here
m.def("to_string", &to_string_mask<float>);
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:869:25: note: in instantiation of function template specialization 'to_string_mask<double>' requested here
m.def("to_string", &to_string_mask<double>);
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:870:25: note: in instantiation of function template specialization 'to_string_mask<long long>' requested here
m.def("to_string", &to_string_mask<int64_t>);
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:871:25: note: in instantiation of function template specialization 'to_string_mask<int>' requested here
m.def("to_string", &to_string_mask<int32_t>);
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:872:25: note: in instantiation of function template specialization 'to_string_mask<short>' requested here
m.def("to_string", &to_string_mask<int16_t>);
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:873:25: note: in instantiation of function template specialization 'to_string_mask<signed char>' requested here
m.def("to_string", &to_string_mask<int8_t>);
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:874:25: note: in instantiation of function template specialization 'to_string_mask<unsigned long long>' requested here
m.def("to_string", &to_string_mask<uint64_t>);
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:875:25: note: in instantiation of function template specialization 'to_string_mask<unsigned int>' requested here
m.def("to_string", &to_string_mask<uint32_t>);
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:876:25: note: in instantiation of function template specialization 'to_string_mask<unsigned short>' requested here
m.def("to_string", &to_string_mask<uint16_t>);
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:877:25: note: in instantiation of function template specialization 'to_string_mask<unsigned char>' requested here
m.def("to_string", &to_string_mask<uint8_t>);
^
src/strings.cpp:636:24: warning: comparison of integers of different signs: 'pybind11::ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare]
if (info_mask.size != length) {
~~~~~~~~~~~~~~ ^ ~~~~~~
src/strings.cpp:878:25: note: in instantiation of function template specialization 'to_string_mask<bool>' requested here
m.def("to_string", &to_string_mask<bool>);
^
26 warnings and 8 errors generated.
error: command '/usr/bin/clang' failed with exit code 1
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for vaex-core
Building wheel for future (pyproject.toml) ... done
Created wheel for future: filename=future-0.18.3-py3-none-any.whl size=492022 sha256=fa5b0bad4985dce2938da68c243faf97914862e88fe5a30f2995cca7481c44dc
Stored in directory: /Users/franz/Library/Caches/pip/wheels/da/19/ca/9d8c44cd311a955509d7e13da3f0bea42400c469ef825b580b
Building wheel for aplus (pyproject.toml) ... done
Created wheel for aplus: filename=aplus-0.11.0-py3-none-any.whl size=4366 sha256=9172fe615d21111d49ff4d5e75996b64589b1104021fa0c9460975705f8055d6
Stored in directory: /Users/franz/Library/Caches/pip/wheels/74/1c/74/052c2629ccf684eaf53e267e24052316d65242c3e02fb79a68
Successfully built future aplus
Failed to build vaex-core
ERROR: Could not build wheels for vaex-core, which is required to install pyproject.toml-based projects
It would be nice to have Python 3.11 support already, especially since 3.12 will be out in 5 months.
Currently, vaex
does not support python 3.11
, because it uses an outdated version of pybind
.
The error member access into incomplete type 'PyFrameObject'
originates from using an outdated versionof pybind
, as explained here:
https://github.com/pybind/pybind11/discussions/4333
Updating the pybind
dependency is not trivial, because, as is stated in the linked issue, some pybind
fields were changed or removed entirely.
will be fixed by https://github.com/vaexio/vaex/pull/2331
It's quite shocking I came here looking for Python 3.12 support, to see an issue about Python 3.11 support still open.
I created an issue for Python 3.12 support (#2397), and I hope that both are supported soon.
Feel free to open a PR @EwoutH
Looks like there already is a major effort (https://github.com/vaexio/vaex/pull/2331) to get Python 3.11 and 3.12 support on their way, and it's currently stuck on some CI files being lost (https://github.com/vaexio/vaex/pull/2331#issuecomment-1702344845).
I hope they find them of find another workaround, but depending on the development of the situation this might be become a nice bus_factor == 1
example.