Skip to content

Replace deprecated codecs.open#124

Draft
Mirochill wants to merge 1 commit into
datadriventests:masterfrom
Mirochill:fix-123-codecs-open-warning
Draft

Replace deprecated codecs.open#124
Mirochill wants to merge 1 commit into
datadriventests:masterfrom
Mirochill:fix-123-codecs-open-warning

Conversation

@Mirochill
Copy link
Copy Markdown

@Mirochill Mirochill commented May 21, 2026

Fixes #123.

Python 3.14 deprecates codecs.open(). process_file_data() now uses the built-in open(..., encoding=utf-8), preserving the existing text decoding behavior for JSON and YAML file data while avoiding the warning.

Not run locally.

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.

codecs.open() is deprecated. Use open() instead.

1 participant