Specify encoding="utf-8"
in all open functions for future proofing against Python 3.15+
#2006
Labels
chore
Other changes that don't modify src or test files
As @henryiii noted in his PyHEP 2022 talk "What's new in Python 3.11"
which means that
encoding="utf-8"
should be added to allopen()
andclick.open_file()
calls inpyhf
.As of 511d8a9 this includes
The text was updated successfully, but these errors were encountered: