-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Description
(venv) cc@pretty:~$ pip install git+https://github.com/google/re2#subdirectory=python
Collecting git+https://github.com/google/re2#subdirectory=python
Cloning https://github.com/google/re2 to /tmp/pip-req-build-igccge2b
Running command git clone --filter=blob:none --quiet https://github.com/google/re2 /tmp/pip-req-build-igccge2b
Resolved https://github.com/google/re2 to commit e7aec5985072c1dbe735add802653ef4b36c231a
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Building wheels for collected packages: google-re2
Building wheel for google-re2 (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for google-re2 (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
/tmp/pip-build-env-fk8dq2yh/overlay/lib/python3.15t/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!
********************************************************************************
Please consider removing the following classifiers in favor of a SPDX license expression:
License :: OSI Approved :: BSD License
See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.
********************************************************************************
!!
self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-315t/re2
copying re2/__init__.py -> build/lib.linux-x86_64-cpython-315t/re2
running build_ext
building '_re2' extension
creating build/temp.linux-x86_64-cpython-315t
g++ -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fcf-protection -fexceptions -fcf-protection -fexceptions -fcf-protection -O3 -fPIC -I/home/cc/venv/include -I/usr/include/python3.15t -c _re2.cc -o build/temp.linux-x86_64-cpython-315t/_re2.o -fvisibility=hidden
_re2.cc:16:10: fatal error: pybind11/buffer_info.h: No such file or directory
16 | #include "pybind11/buffer_info.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: command '/opt/gcc-latest/bin/g++' 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 google-re2
Failed to build google-re2
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> google-re2
(venv) cc@pretty:~$ pip show pybind11
Name: pybind11
Version: 3.0.1
Summary: Seamless operability between C++11 and Python
Home-page: https://github.com/pybind/pybind11
Author:
Author-email: Wenzel Jakob <wenzel.jakob@epfl.ch>
License-Expression: BSD-3-Clause
Location: /home/cc/venv/lib64/python3.15t/site-packages
Requires:
Required-by:
JabobKrauskopf and Vegoo89
Metadata
Metadata
Assignees
Labels
No labels