Skip to content

Conversation

@DeanF
Copy link
Owner

@DeanF DeanF commented Jun 13, 2022

No description provided.

andreasvc and others added 30 commits April 30, 2020 15:32
- All tests pass.
- Don't test for exotic/deprecated stuff such as non-initial flags in
  patterns and octal escapes without leading 0 or triple digits.
- Known corner cases no longer reported as failed tests.
- support \b inside character class to mean backspace
- use re.error instead of defining subclass RegexError; ensures that
  exceptions can be caught both in re2 and in a potential fallback to re.
- contains() works like match() but returns a bool to avoid creating a
  Match object. see #12
- add wrapper for re.Pattern so that contains() and count() methods are
  also available when falling back to re.
Poetry and other modern build system need to know which build-tools to
install prior to calling setup.py. added a pyproject.toml to specify
cython as a dependency.
Support building wheels automatically using github actions
…se flow

Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
workaroud for manylinux dependency install error plus release automation
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
…ORY)

Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
New cmake and pybind11 build setup
readme: update badges, merge install sections, fix some rendering issues
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen L Arnold <nerdboy@gentoo.org>
add missing tests to sdist package, update readme and ci worflows (#1)
sarnold and others added 30 commits September 8, 2024 09:59
Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
* this is essentially a workaround for non-pypi pkg cruft

Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
* also cleanup the wheel artifact check, download to artifacts/

Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
CI, python, and cmake cleanup
* update .gitignore and .gitchangelog.rc and (re)generate new changelog
* add sphinx docs build using apidoc extension and readme/changelog
  symlinks
* rst apidoc modules are auto-generated and are in .gitignore
  along with the generated html dir
* add dependencies to packaging and add docs/changes cmds to tox file.
  Includes a tox extension for shared tox environments; the new tox
  commands are an example of this => 4 cmds using one tox env

Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
* cleanup docs config, remove dicey sphinx_git extension
* switch readme badge, download wheel artifacts to single directory

Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
* also cleanup sphinx workflow

Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
Signed-off-by: Stephen Arnold <nerdboy@gentoo.org>
add basic sphinx docs build using apidoc
- Drop support for Python 2.
- Add support for Python 3.13 in tests & ciwheelbuild, and move tests/test_charliterals.txt to unitest as the previous test (Python 3.13 error changed).
- Don’t use cmake 4.0 to build the library.
- Fix GitHub Actions’ “release” workflow.
* Add set_fallback_module() to give users choice

Some patterns are not supported by re2.

The existing set_fallback_notification() allows the user to decide what
to do when a pattern is not supported: be quiet, emit a warning, raise
an exception.

This commits adds set_fallback_module() to allow the user to choose
which module use as a fallback. The default/initial choice is Python's
re module, to be consistent with current behavior.

The change has been tested using regex as a fallback module, which in
some scenarios might still be faster than Python's re.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants