Skip to content

Replace deprecated codecs.open for Python 3.14 - #354

Open
jantiks wants to merge 1 commit into
chimpler:masterfrom
jantiks:fix/python314-codecs-open
Open

Replace deprecated codecs.open for Python 3.14#354
jantiks wants to merge 1 commit into
chimpler:masterfrom
jantiks:fix/python314-codecs-open

Conversation

@jantiks

@jantiks jantiks commented Aug 2, 2026

Copy link
Copy Markdown

Summary

  • Replace deprecated codecs.open() with the built-in open().

Why

Python 3.14 deprecates codecs.open() and recommends open() instead. This removes the deprecation warning from ConfigFactory.parse_file() and keeps the code compatible with future Python releases.

Use the built-in open() function for Python 3.14 compatibility.
@jantiks jantiks changed the title Replace deprecated codecs.open Replace deprecated codecs.open for Python 3.14 Aug 2, 2026
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.

1 participant