Skip to content

Deprecation warnings from pyparsing library #502

@jennifer-richards

Description

@jennifer-richards

Describe the bug
As of v3.3.0 (Dec 2025), the pyparsing library has begun emitting DeprecationWarnings for use of non-PEP8-compliant method aliases. These are triggered by bibtexparser.

Reproducing

Version: 1.4.3

Code:

import warnings
warnings.simplefilter("always", DeprecationWarning)
import bibtexparser
bibtexparser.bparser.BibTexParser()

Bibtex:
No bibtex required

Workaround
Suppress DeprecationWarnings from the bibtexparser and pyparsing modules. Brute force approach not tailored to the specific warnings:

warnings.filterwarnings("ignore", category=DeprecationWarning, module="bibtexparser")
warnings.filterwarnings("ignore", category=DeprecationWarning, module="pyparsing")

Remaining Questions (Optional)
Please tick all that apply:

  • I would be willing to contribute a PR to fix this issue.
  • This issue is a blocker, I'd be grateful for an early fix.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions