lol

python313: 3.13.0a3 -> 3.13.0a5

https://docs.python.org/3.13/whatsnew/changelog.html#python-3-13-0-alpha-4
https://docs.python.org/3.13/whatsnew/changelog.html#python-3-13-0-alpha-5

+17 -2
+12
pkgs/development/interpreters/python/cpython/3.13/virtualenv-permissions.patch
··· 1 + diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py 2 + index 4856594755..6769ab8026 100644 3 + --- a/Lib/venv/__init__.py 4 + +++ b/Lib/venv/__init__.py 5 + @@ -522,6 +522,7 @@ def skip_file(f): 6 + with open(dstfile, 'wb') as f: 7 + f.write(new_data) 8 + shutil.copymode(srcfile, dstfile) 9 + + os.chmod(dstfile, 0o644) 10 + 11 + def upgrade_dependencies(self, context): 12 + logger.debug(
+3
pkgs/development/interpreters/python/cpython/default.nix
··· 304 304 # Make sure that the virtualenv activation scripts are 305 305 # owner-writable, so venvs can be recreated without permission 306 306 # errors. 307 + ] ++ optionals (pythonOlder "3.13") [ 307 308 ./virtualenv-permissions.patch 309 + ] ++ optionals (pythonAtLeast "3.13") [ 310 + ./3.13/virtualenv-permissions.patch 308 311 ] ++ optionals mimetypesSupport [ 309 312 # Make the mimetypes module refer to the right file 310 313 ./mimetypes.patch
+2 -2
pkgs/development/interpreters/python/default.nix
··· 93 93 major = "3"; 94 94 minor = "13"; 95 95 patch = "0"; 96 - suffix = "a3"; 96 + suffix = "a5"; 97 97 }; 98 - hash = "sha256-IHhMgwTrHGnID5ZuvfB3W+LjfiPfO2JGHuwSqF3Pfq0="; 98 + hash = "sha256-Hom1NVGD58iYpaAbL2AXKP5J/bidnJeB8TNghHqu+mI="; 99 99 inherit (darwin) configd; 100 100 inherit passthruFun; 101 101 };