Skip to content

Conversation

@jl-wynen
Copy link
Member

@jl-wynen jl-wynen force-pushed the warn-about-encoding branch from 9025bb5 to 2c61c99 Compare May 25, 2023 14:03
setenv =
PYTHONPATH = {toxinidir}{/}install
JUPYTER_PLATFORM_DIRS = 1
PYTHONWARNDEFAULTENCODING = 1
Copy link
Member

Choose a reason for hiding this comment

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

Any reason for using the env variable, instead of the -X option? Because that doesn't work with older Python?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because that doesn't work with older Python?

Yes. Also, this seems easier than placing the option in every call to python.

@jl-wynen jl-wynen merged commit 0ec77d9 into main May 26, 2023
@jl-wynen jl-wynen deleted the warn-about-encoding branch May 26, 2023 06:56
@jl-wynen jl-wynen mentioned this pull request Jul 8, 2024
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.

3 participants