From 79390d4eea20ca15fd8e088345528f31ed5fad1e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Sat, 21 Dec 2024 10:40:06 -0400 Subject: Upgrade to nixos-24.05 I think this is the only "supported" nixos version now. But in any case scipy seemed to be broken on the older version, and I couldn't build my code that uses llm. Also, this allows me to get rid of the bild.os-unstable thing for Beryllium, which was just a sitting timebomb of breaking stuff. There are a lot of changes here because ruff updated to the very latest, and it changed some minor lint things. Also with the new nixos I get a proper cgit module, and some other breaking changes needed fixing. --- Biz/Dragons/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Biz/Dragons/main.py') diff --git a/Biz/Dragons/main.py b/Biz/Dragons/main.py index 6e2c995..f85d9e7 100644 --- a/Biz/Dragons/main.py +++ b/Biz/Dragons/main.py @@ -47,7 +47,7 @@ def authors_for( def mailmap_users() -> list[str]: """Return users from the .mailmap file.""" - with pathlib.Path(".mailmap").open() as file: + with pathlib.Path(".mailmap").open(encoding="utf8") as file: lines = file.readlines() return [find_user(line) for line in lines] -- cgit v1.2.3