Repository navigation
Open
Description
This is an install on an Apple M4 chip (ARM), macOS 26.5.1 (25F80).
Using Python 3.15.0a6 environment at: .tox/py315
Resolved 90 packages in 2.15s
× Failed to build `google-re2==1.1.20251105`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit status: 1)
[stdout]
running bdist_wheel
running build
running build_py
creating build/lib.macosx-11.0-arm64-cpython-315/re2
copying re2/__init__.py -> build/lib.macosx-11.0-arm64-cpython-315/re2
running build_ext
building '_re2' extension
creating build/temp.macosx-11.0-arm64-cpython-315
c++ -fno-strict-overflow -Wsign-compare -Wunreachable-code -DNDEBUG -g -O3 -Wall -O3 -arch arm64 -mmacosx-version-min=11.0 -Wno-nullability-completeness -Wno-expansion-to-defined -Wno-undef-prefix -fPIC
-I/Users/slott/.cache/uv/builds-v0/.tmpxrcAhw/include -I/Users/slott/.local/share/uv/python/cpython-3.15.0a6-macos-aarch64-none/include/python3.15 -c _re2.cc -o build/temp.macosx-11.0-arm64-cpython-315/_re2.o -fvisibility=hidden
[stderr]
/Users/slott/.cache/uv/builds-v0/.tmpxrcAhw/lib/python3.15/site-packages/setuptools/dist.py:765: 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()
_re2.cc:15:10: fatal error: 'absl/strings/string_view.h' file not found
15 | #include "absl/strings/string_view.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
error: command '/usr/bin/c++' failed with exit code 1
hint: This usually indicates a problem with the package or the build environment.
The needed includes are in /opt/local/include/
ls -l /opt/local/include/absl/strings/string_view.h
-rw-r--r--@ 1 root admin 29629 Aug 1 2024 /opt/local/include/absl/strings/string_view.hMetadata
Metadata
Assignees
Labels
No labels
Activity
MajorTanya commentedon Jul 3, 2026
Did you check the Readme's build instructions?
I have no idea about C++ or building re2, but the error looks like you don't have abseil available to me?
slott56 commentedon Jul 6, 2026
I wasn't expecting to have to build it, since it's published to the Python Package Index.
Your summary is wonderfully helpful! I think I can justify adding these instructions to the project I support so we can test with Python 3.15 until the package on PyPI is more complete.
MajorTanya commentedon Jul 7, 2026
it's probably because the maintainers hasn't published built wheels for the 3.15 betas yet
MajorTanya commentedon Sep 26, 2026
Considering the plan is to release 3.15 on the first of October (in ~5ish days), could @rsc take another look at building wheels & pushing a new release to PyPI for this project?
MajorTanya commentedon Oct 9, 2026
3.15.0 final was just released, so it's now definitely available.
amotl commentedon Oct 17, 2026
Hi there. We are observing the same problem on our CI. Please provide support for Python 3.15 by publishing corresponding wheel packages to PyPI. Thank you!
rsc commentedon Oct 17, 2026
I've left Google and their bot finally noticed and kicked me out of the GitHub repo. I will ask someone to put me back in, and then I will look into publishing the wheels.
rsc commentedon Oct 17, 2026
/cc @adonovan
adonovan commentedon Oct 17, 2026
I've added you to the "maintainer" role.
amotl commentedon Nov 5, 2026
Gentle ping. ;]
romanek-adam-b2c2 commentedon Nov 19, 2026
Is there any update on this?