Skip to content

Address DeprecationWarning-s for pyparsing functions#83

Merged
NoureldinYosri merged 2 commits into
quantumlib:mainfrom
pavoljuhas:replace-deprecated-pyparsing-functions
Jan 5, 2026
Merged

Address DeprecationWarning-s for pyparsing functions#83
NoureldinYosri merged 2 commits into
quantumlib:mainfrom
pavoljuhas:replace-deprecated-pyparsing-functions

Conversation

@pavoljuhas

Copy link
Copy Markdown
Contributor
  • replace setParseAction --> set_parse_action
  • replace setResultsName --> set_results_name
  • replace parseString --> parse_string

Fixes pyparsing-related deprecation warnings that show for
python -Wall -c "import tunits"

- replace `setParseAction` --> `set_parse_action`
- replace `setResultsName` --> `set_results_name`
- replace `parseString` --> `parse_string`

Fixes pyparsing-related deprecation warnings that show for
python -Wall -c "import tunits"
Make it explicit the argument is optional.

@NoureldinYosri NoureldinYosri left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @pavoljuhas

@NoureldinYosri NoureldinYosri merged commit 6acfa57 into quantumlib:main Jan 5, 2026
6 checks passed
@pavoljuhas pavoljuhas deleted the replace-deprecated-pyparsing-functions branch January 6, 2026 00:22
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.

2 participants