Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sepcify the encoding #2515

Merged
merged 5 commits into from
Mar 12, 2023
Merged

Sepcify the encoding #2515

merged 5 commits into from
Mar 12, 2023

Conversation

FFY00
Copy link
Member

@FFY00 FFY00 commented Mar 10, 2023

Thanks for contributing, make sure you address all the checklists (for details on how see development documentation)

  • ran the linter to address style issues (tox -e fix)
  • wrote descriptive pull request text
  • ensured there are test(s) validating the fix
  • added news fragment in docs/changelog folder
  • updated/extended the documentation

This PR sets PYTHONWARNDEFAULTENCODING when running the tests, see PEP 597, and explicitly specifies the encoding on all affected calls.

@FFY00 FFY00 force-pushed the specify-default-encoding branch from 1dcd472 to 5f8bc62 Compare March 10, 2023 04:15
@FFY00 FFY00 force-pushed the specify-default-encoding branch from 5f8bc62 to a6b4f12 Compare March 10, 2023 04:35
FFY00 added 2 commits March 10, 2023 04:38
Signed-off-by: Filipe Laíns <[email protected]>
@FFY00 FFY00 force-pushed the specify-default-encoding branch from a1658f3 to 2b747e8 Compare March 10, 2023 04:39
@@ -0,0 +1 @@
Do not assume the default encoding.
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a bugfix, not misc.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops, sorry.

Signed-off-by: Filipe Laíns <[email protected]>
@gaborbernat gaborbernat merged commit e2a9ee5 into pypa:main Mar 12, 2023
tarpas pushed a commit to tarpas/virtualenv that referenced this pull request Jun 8, 2023
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