pypa / pyproject-hooks

A low-level library for calling build-backends in `pyproject.toml`-based project
https://pyproject-hooks.readthedocs.io/
MIT License
122 stars 49 forks source link

EncodingWarning in wrappers with PYTHONWARNDEFAULTENCODING #174

Closed jaraco closed 1 year ago

jaraco commented 1 year ago

I see this warning when running tests for jaraco.develop:

.tox/py/lib/python3.11/site-packages/pep517/wrappers.py:346
  /Users/jaraco/code/jaraco/jaraco.develop/.tox/py/lib/python3.11/site-packages/pep517/wrappers.py:346: EncodingWarning: 'encoding' argument not specified
    self.reader = os.fdopen(self.fd_read)
takluyver commented 1 year ago

The code causing the warning was already removed; presumably this is an issue because you're using an old version - see #175.