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
This commit is contained in:
parent
cb243a9deb
commit
b89f66b768
3 changed files with 17 additions and 2 deletions
|
@ -0,0 +1,12 @@
|
|||
diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
|
||||
index 4856594755..6769ab8026 100644
|
||||
--- a/Lib/venv/__init__.py
|
||||
+++ b/Lib/venv/__init__.py
|
||||
@@ -522,6 +522,7 @@ def skip_file(f):
|
||||
with open(dstfile, 'wb') as f:
|
||||
f.write(new_data)
|
||||
shutil.copymode(srcfile, dstfile)
|
||||
+ os.chmod(dstfile, 0o644)
|
||||
|
||||
def upgrade_dependencies(self, context):
|
||||
logger.debug(
|
|
@ -304,7 +304,10 @@ in with passthru; stdenv.mkDerivation (finalAttrs: {
|
|||
# Make sure that the virtualenv activation scripts are
|
||||
# owner-writable, so venvs can be recreated without permission
|
||||
# errors.
|
||||
] ++ optionals (pythonOlder "3.13") [
|
||||
./virtualenv-permissions.patch
|
||||
] ++ optionals (pythonAtLeast "3.13") [
|
||||
./3.13/virtualenv-permissions.patch
|
||||
] ++ optionals mimetypesSupport [
|
||||
# Make the mimetypes module refer to the right file
|
||||
./mimetypes.patch
|
||||
|
|
|
@ -93,9 +93,9 @@ in {
|
|||
major = "3";
|
||||
minor = "13";
|
||||
patch = "0";
|
||||
suffix = "a3";
|
||||
suffix = "a5";
|
||||
};
|
||||
hash = "sha256-IHhMgwTrHGnID5ZuvfB3W+LjfiPfO2JGHuwSqF3Pfq0=";
|
||||
hash = "sha256-Hom1NVGD58iYpaAbL2AXKP5J/bidnJeB8TNghHqu+mI=";
|
||||
inherit (darwin) configd;
|
||||
inherit passthruFun;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue