You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Two generated files in omegaconf 2.2.1 use the typing.io namespace, which has been deprecated since Python 3.8 and will be removed in Python 3.12:
omegaconf/grammar/gen/OmegaConfGrammarLexer.py
omegaconf/grammar/gen/OmegaConfGrammarParser.py
This import can simply be replaced with an import from the main typing namespace as TextIO is available there.
Additional context
OmegaConf version: 2.2.1
Python version: any
Operating system: any
Please provide a minimal repro
The text was updated successfully, but these errors were encountered:
Describe the bug
Two generated files in omegaconf 2.2.1 use the
typing.io
namespace, which has been deprecated since Python 3.8 and will be removed in Python 3.12:This import can simply be replaced with an import from the main
typing
namespace asTextIO
is available there.Additional context
The text was updated successfully, but these errors were encountered: