aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/scripts/depfixer.py
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz@archlinux.org>2022-11-02 19:46:32 -0400
committerEli Schwartz <eschwartz@archlinux.org>2022-11-03 15:44:41 -0400
commit608a6196a0ce1bebf66c5ac0cc38a20bfddede9b (patch)
tree1c78b58d4e7ebcfd7374b163b343f79760f28a4f /mesonbuild/scripts/depfixer.py
parentc95001b130227dde480647fec9a9f745b83db1e2 (diff)
downloadmeson-608a6196a0ce1bebf66c5ac0cc38a20bfddede9b.zip
meson-608a6196a0ce1bebf66c5ac0cc38a20bfddede9b.tar.gz
meson-608a6196a0ce1bebf66c5ac0cc38a20bfddede9b.tar.bz2
python 3.11: suppress an incorrect EncodingWarning
python 3.11 adds a warning that in 3.15, UTF-8 mode will be default. This is fantastic news, we'd love that. Less fantastic: this warning is silly, we *want* these checks to be affected. Plus, the recommended alternative API would (in addition to warning people when UTF-8 mode removed the problem) also require using a minimum python version of 3.11 (in which the warning was added) or add verbose if/else soup. The simple, and obvious, approach is to add a warnings filter to hide it.
Diffstat (limited to 'mesonbuild/scripts/depfixer.py')
0 files changed, 0 insertions, 0 deletions