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
[pre-commit.ci] pre-commit autoupdate #717
Conversation
09f0a3f
to
7e490b3
Compare
7e490b3
to
92cc89b
Compare
updates: - [github.com/asottile/pyupgrade: v3.3.1 → v3.4.0](asottile/pyupgrade@v3.3.1...v3.4.0) - [github.com/PyCQA/autoflake: v2.1.0 → v2.1.1](PyCQA/autoflake@v2.1.0...v2.1.1) - [github.com/PyCQA/isort: 5.11.5 → 5.12.0](PyCQA/isort@5.11.5...5.12.0) - [github.com/PyCQA/flake8: 5.0.4 → 6.0.0](PyCQA/flake8@5.0.4...6.0.0)
92cc89b
to
33b8634
Compare
This reverts commit 33b8634. Most of the updates are note compatible with Python 3.7
- [github.com/PyCQA/autoflake: v2.1.0 → v2.1.1](PyCQA/autoflake@v2.1.0...v2.1.1)
There seems to be a problem on macOS for Python 3.10 (installed with brew): ******************** Terminal ($? = 1) ********************
Traceback (most recent call last):
File "/opt/homebrew/Cellar/python@3.10/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/homebrew/Cellar/python@3.10/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cirrus-ci-build/.tox/all/lib/python3.10/site-packages/sphinx/__main__.py", line 5, in <module>
raise SystemExit(main())
File "/private/var/folders/76/zy5ktkns50v6gt5g8r0sf6sc0000gn/T/cirrus-ci-build/.tox/all/lib/python3.10/site-packages/sphinx/cmd/build.py", line 313, in main
locale.setlocale(locale.LC_ALL, '')
File "/opt/homebrew/Cellar/python@3.10/3.10.6_2/Frameworks/Python.framework/Versions/3.10/lib/python3.10/locale.py", line 620, in setlocale
return _setlocale(category, locale)
locale.Error: unsupported locale setting It seems that this is an old problem and that in the past the Sphinx devs used a workaround to silence this error: sphinx-doc/sphinx#5724. I can also see that the associated Not sure why the error is showing up... |
b01aebc
to
b3c07a1
Compare
It seems that `C.UTF-8` is not POSIS and therefore it is not supported by macOS, only by GNU/Linux systems.
b3c07a1
to
aa0fc8e
Compare
Now there are some errors with Python 3.12 due to the removal of the It is been a while that I wanted to remove these plugins... they seem always to bring some sort of complication. Setuptools uses |
It seems that replacing: - LC_ALL: C.UTF-8
- LANG: C.UTF-8
+ LC_ALL: C
+ LC_CTYPE: UTF-8
+ LANG: C Fixes the specific macOS problem ( If you agree, I can go ahead and also modify the Cirrus templates. |
8bb05b5
to
e8c48ac
Compare
e8c48ac
to
bab8efa
Compare
Let's add this one for now... we can revert it later. |
updates: