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

[debt] Many ResourceWarnings when PYTHONWARNDEFAULTENCODING = 1 #3810

Open
jaraco opened this issue Feb 7, 2023 · 1 comment
Open

[debt] Many ResourceWarnings when PYTHONWARNDEFAULTENCODING = 1 #3810

jaraco opened this issue Feb 7, 2023 · 1 comment

Comments

@jaraco
Copy link
Member

jaraco commented Feb 7, 2023

In jaraco/skeleton, I've rolled out PYTHONWARNDEFAULTENCODING=1. Merging that change into Setuptools causes the test suite to fail due to pytest.ini:filterwarnings[error].

@Avasam
Copy link
Contributor

Avasam commented Nov 28, 2023

I figured this would be already known (it makes tests much harder to read) and I see there's a WIP branch for it.

The rule is still in "preview", but this can be checked for setuptool's own code using https://docs.astral.sh/ruff/rules/unspecified-encoding/

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

No branches or pull requests

2 participants