Skip to content

Release v0.3.7

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 14 Apr 15:04
· 2 commits to master since this release

v0.3.7 (2025-04-14)

New

  • Add basic sphinx docs build using apidoc, update changelog. [Stephen Arnold]

    • 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

Features

  • Feat: Add support for Python 3.13. [Olivier Tétard]

Changes

  • Minor workflow changes to kickstart deployment. [Stephen Arnold]

  • Add gh workflow for sphinx build/deploy. [Stephen Arnold]

    • cleanup docs config, remove dicey sphinx_git extension
    • switch readme badge, download wheel artifacts to single directory
  • One more conda-devenv refactor based on latest docs. [Stephen Arnold]

    • also cleanup the wheel artifact check, download to artifacts/
  • Switch conda env to use mamba with newer workflow cmds. [Stephen Arnold]

  • Make sure conda-devenv installs specific pkgs with pip. [Stephen Arnold]

    • this is essentially a workaround for non-pypi pkg cruft
  • Switch conda workflow to condadev environment. [Stephen Arnold]

  • Swap out flake8 for cython-lint, update setup files, remove pep8 cfg. [Stephen Arnold]

  • Try pkgconf on windows CI runner. [Steve Arnold]

  • Enable findpython policy, use matrix uploads. [Steve Arnold]

    • no epel pkgs for linux aarch64, enable PYBIND11_FINDPYTHON
    • set macos deployment target to 10.9
  • Cleanup metadata and test imports, disable platform whl tests. [Steve Arnold]

    • check if find_package py3 works across all CI runners
  • Update cmake and workflow files, delete unused bits. [Steve Arnold]

    • cleanup ci workflow, remove crufty makefile with deprecated
      setup.py commands
    • remove the package_dir bit from setup.py
  • Add/update cfgs, modernize cibw build workflow. [Steve Arnold]

  • Bump cibw version, update workflows and min py version. [Steve Arnold]

  • Update packaging files, add setuptools_scm support. [Steve Arnold]

    • refactor setup.py after pybind11 upstream changes
  • Update python, deps, GH action versions, and tox file. [Steve Arnold]

    • update pybind11 usage and set cmake python vars to Title_CASE
    • refactor cmake extension build to use pybind11 module bits
    • move emptygroups test from "differences"

Fixes

  • Don’t use cmake 4 to build. [Olivier Tétard]

  • Update release workflow for new platform wheels. [Stephen Arnold]

    • also cleanup sphinx workflow
  • Cleanup tests and fix a raw string test, enable more win32. [Stephen Arnold]

    • split all runners into separate arch via matrix
    • macos does need macos-14 to get a proper arm64 build
  • Bump ubuntu and mac workflow runners. [Stephen Arnold]

    • revert to macos-13 with the same version as target
    • In Theory this should get us full c++17
  • Bump CMake to c++17 with extensions to build against re2-0.2024.07.02. [Stephen L Arnold]

  • Remove failing subscript test in single match group. [Steve Arnold]

    • cleanup asserts and add groups() test
  • Apply emptygroups fix and remove conda-only patch, also. [Stephen L Arnold]

    • release workflow: restrict pypi upload to repo owner
    • tox.ini: replace deprecated pep517 module, update deploy url
  • Limit conda build workflow to py 3.8 and 3.9. [Stephen L Arnold]

  • Conda build workflow: drop py 3.6 and add py 3.10. [Stephen L Arnold]

  • Add conda-only patch for test_emptygroups failure. [Stephen L Arnold]

Other

  • Disable linkcheck. [andreasvc]

  • Refactor: Drop support for Python 2. [Olivier Tétard]

  • Fix #42. [Andreas van Cranenburgh]

  • Include current notification level in cache key. [Andreas van Cranenburgh]

    this prevents a cached regular expression being used that was created
    with a different notification level.

    For example, the following now generates the expected warning:

    In [1]: import re2
    In [2]: re2.compile('a*+')
    Out[2]: re.compile('a*+')
    In [3]: re2.set_fallback_notification(re2.FALLBACK_WARNING)
    In [4]: re2.compile('a*+')
    <ipython-input-5-041122e221c7>:1: UserWarning: WARNING: Using re module. Reason: bad repetition operator: *+
      re2.compile('a*+')
    Out[4]: re.compile('a*+')
    
  • Support fallback to Python re for possessive quantifiers. [Andreas van Cranenburgh]

  • Document lack of support for possessive quantifiers and atomic groups. [Andreas van Cranenburgh]

  • Make tests pass on my system; if this behavior turns out to be inconsistent across versions/platforms, maybe the test should be disabled altogether. #27. [Andreas van Cranenburgh]

  • Add NOFLAGS and RegexFlags constants; #41. [Andreas van Cranenburgh]

  • Remove python versions for make valgrind. [Andreas van Cranenburgh]

  • Add test for Match subscripting. [JustAnotherArchivist]

  • Make Match objects subscriptable. [JustAnotherArchivist]

    Fixes #31