spack/share/spack
Harmen Stoppels 526af1cbe7
Sprinkle open(..., encoding=utf-8) (#48006)
Add missing encoding=utf-8 to various open calls. This makes
files like spec.json, spack.yaml, spack.lock, config.yaml etc locale
independent w.r.t. text encoding. In practice this is not often an
issue since Python 3.7, where the C locale is promoted to
C.UTF-8. But it's better to enforce UTF-8 explicitly, since there is
no guarantee text files are written in the right encoding.

Also avoid opening in text mode if it can be avoided.
2024-12-12 21:46:08 +01:00
..
bash Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
bootstrap bootstrap: add clingo 3.13 binaries and more (#47126) 2024-10-24 08:55:14 +02:00
csh Fix setup-env when going back and forth between instances (#40924) 2024-01-05 11:31:32 -06:00
docker Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
docs/docker/module-file-tutorial Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
fish Update copyright year to 2024 (#41919) 2024-01-02 09:21:30 +01:00
gitlab/cloud_pipelines Sprinkle open(..., encoding=utf-8) (#48006) 2024-12-12 21:46:08 +01:00
keys update tutorial command for v0.18.0 and new gpg key (#30904) 2022-05-28 02:36:20 +00:00
logo add artisanal handcrafted SVG Spack logo. (#6165) 2017-11-06 22:42:16 -08:00
qa Fix spack -c <override> when env active (#47403) 2024-11-06 17:18:58 +01:00
templates Don't inject import statements in package recipes 2024-12-05 12:48:00 -08:00
setup-env.bat Normalize Spack Win entry points (#38648) 2024-10-25 15:23:29 -04:00
setup-env.csh fix 'command -v' not in csh (#45845) 2024-10-02 19:15:35 +02:00
setup-env.fish Remove execution permission from setup-env.sh (#45641) 2024-08-09 13:27:07 -07:00
setup-env.ps1 Normalize Spack Win entry points (#38648) 2024-10-25 15:23:29 -04:00
setup-env.sh Remove execution permission from setup-env.sh (#45641) 2024-08-09 13:27:07 -07:00
setup-tutorial-env.sh Remove execution permission from setup-env.sh (#45641) 2024-08-09 13:27:07 -07:00
spack-completion.bash ci: Refactor pipeline generation (#47459) 2024-12-11 19:23:37 +00:00
spack-completion.fish ci: Refactor pipeline generation (#47459) 2024-12-11 19:23:37 +00:00