Skip to content

Bump backrefs from 7.0 to 8.0 - #637

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/backrefs-8.0
Open

Bump backrefs from 7.0 to 8.0#637
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/backrefs-8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 31, 2026

Copy link
Copy Markdown
Contributor

Bumps backrefs from 7.0 to 8.0.

Release notes

Sourced from backrefs's releases.

8.0

  • NEW: Backrefs will preemptively fail, raising a PatternError, if parsing and finding an unterminated character set ([]) or an unterminated subpattern (()). Both re and regex already do this (re just issues a warning on Python 3.10), but backrefs will now terminate parsing early instead of waiting for the underlying regular expression parsers to catch it after the fact. This will occur even on Python 3.10. If Python 3.10 behavior is required, please use Backrefs 7.0 until migration is possible.
  • NEW: Backrefs will now raise a PatternError in bre if global flag syntax is not used at the start of the pattern. Python re already does this, except on Python 3.10 where a warning is raised. Backrefs will now do this in bre, even on Python 3.10, to prevent backtracking in Backrefs' parser when global flags are redefined. If the old behavior is required, please use 7.0 until migration is possible.
  • NEW: Backrefs will now raise a PatternError in bregex if a global flag is not used at the start of the pattern. This does not affect inline flags that use the global syntax (e.g. (?i)) as regex allows this to be scoped to subpatterns ((...)) and affects the pattern after its insertion whether in a subpattern or outside a subpattern. While regex doesn't specifically restrict global flag insertion, only the last instance takes effect, Backrefs requires these global flags to be declared at the beginning of the pattern to prevent backtracking when parsing the pattern. If the old behavior is required, please use 7.0 until migration is possible.
  • NEW: Various ValueError and SyntaxError that used to be raised by the bre or bregex parser are now raised as backrefs.util.PatternError.
  • FIX: Fixes in bregex related to regex handling of inline flags using global syntax.
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [backrefs](https://github.com/facelessuser/backrefs) from 7.0 to 8.0.
- [Release notes](https://github.com/facelessuser/backrefs/releases)
- [Commits](facelessuser/backrefs@7.0...8.0)

---
updated-dependencies:
- dependency-name: backrefs
  dependency-version: '8.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Jul 31, 2026
@mergify

mergify Bot commented Jul 31, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants