2025-08-12 will be the same as 2025-08-05
except for having some Bazel-related fixes
and possibly the right files to automatically
push an update to the Bazel Central Registry.
Change-Id: I178dd5ab31eeb29c97d9f687cbe7553d02dca8cb
Reviewed-on: https://code-review.googlesource.com/c/re2/+/63910
Reviewed-by: Russ Cox <rsc@swtch.com>
Reviewed-by: Jeremy Kun <jkun@google.com>
The module has been building wheels for Python 3.9 and later,
but setup.py still declared a minimum of 3.8.
Update the metadata to require 3.9.
Fixes#559.
Change-Id: Id5d06a006f5080529b69bfe163bf629e36b15c34
Reviewed-on: https://code-review.googlesource.com/c/re2/+/63850
Reviewed-by: Alan Donovan <adonovan@google.com>
We need `re2` to be a package, not a module, because it appears that
modules can't have `.pyi` files, so munge the module into a package.
Change-Id: I1a268875743390c32c0fb9cd58f6d83a670ce928
Reviewed-on: https://code-review.googlesource.com/c/re2/+/63270
Reviewed-by: Paul Wankadia <junyer@google.com>
Reviewed-by: Alex Chernyakhovsky <achernya@google.com>
It now uses rules_python, which makes it drastically simpler
and also means that hermetic Python toolchains are used by
default. However, we want local Python toolchains to be used
when building wheels, so we have to do a little dance there.
Change-Id: I0dcd55522aca40aae0de0535439b714eeb85911a
Reviewed-on: https://code-review.googlesource.com/c/re2/+/62710
Reviewed-by: Alex Chernyakhovsky <achernya@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
This should hopefully mean that the `bazel`
command found first in the path is actually
Bazelisk.
Revert various previous attempts to get all
this working...
Change-Id: I9a6267aff334de3dc55c7333d83e67ad2ad4ef05
Reviewed-on: https://code-review.googlesource.com/c/re2/+/61610
Reviewed-by: Perry Lorier <perryl@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
I have no idea what's going on with the
path on GitHub-hosted runners: the `bazelisk`
command works across platforms when called from
`bazel.sh` and also works on macOS when called
from the Python build, but fails on Linux and
Windows when called from the Python build.
Change-Id: I0447cf4a8eef5bd4318d0be7d44c31a357643c19
Reviewed-on: https://code-review.googlesource.com/c/re2/+/61592
Reviewed-by: Perry Lorier <perryl@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
This magically applies the `linux`, `macos` or `windows` configuration
depending on the OS. Apart from simplifying things for us, this should
hopefully also unbreak the RE2 build that Bazel folks run in their CI.
Fixes#428.
Change-Id: I2f4192dd728661558a8c4c4c8dd68a720af3ff71
Reviewed-on: https://code-review.googlesource.com/c/re2/+/61370
Reviewed-by: Perry Lorier <perryl@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
Benchmark on Ubuntu seems problematic with LTO, so... disable LTO.
GoogleTest on Windows makes MSVC's linker give "already defined in
testing.lib(exhaustive_tester.obj)" errors, so... frob the testing
library in the faint hope that the issue will finally be resolved.
Change-Id: Ib4237d44a12aa5bd2783d6b1285a5ccb14df4665
Reviewed-on: https://code-review.googlesource.com/c/re2/+/61330
Reviewed-by: Perry Lorier <perryl@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>
As announced in mid April, RE2 will take a dependency on Abseil in the
`main` branch. This change is one of (quite probably) many that should
ultimately see the `abseil` branch removed.
Change-Id: I0ae5a6643f77d2ebf675443cea7cba558b8c7fef
Reviewed-on: https://code-review.googlesource.com/c/re2/+/61230
Reviewed-by: Alex Chernyakhovsky <achernya@google.com>
Reviewed-by: Paul Wankadia <junyer@google.com>