google / re2

RE2 is a fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python. It is a C++ library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python 3.12

gozdal opened this issue · comments

Would it be possible to build wheels for Python package https://pypi.org/project/google-re2/ for Python 3.12? It seems that building re2 is challenging, especially for Windows, pre-built wheels for Python 3.12 would be great.

In theory, it's simply a matter of adding '3.12' to matrix.ver in the GitHub Actions workflow. In practice, it's also a matter of waiting for GitHub Actions to support Python 3.12 across Linux, macOS and Windows, which should be quite soon, I think.

It seems that there is a 3.12.0 release in https://github.com/actions/python-versions/releases/tag/3.12.0-6381888192
Not sure if this is enough though?

I was looking at this comment posted yesterday.

Mea culpa, I actually wanted to leave this open for now...

Well, I kept tripping over technical debt in the GitHub Actions workflow, but I think Python 3.12 is ready to roll, so I'm going to try to publish wheels tonight.

google_re2-1.1-3-cp312-cp312-win_amd64.whl and google_re2-1.1-3-cp312-cp312-win32.whl have been published to PyPI as per https://pypi.org/project/google-re2/#files. Enjoy. :)

Thanks!