python3Packages.conda: 25.1.0 -> 25.5.1
This commit is contained in:
parent
93b02556ec
commit
ad675104af
@ -1,15 +1,17 @@
|
||||
diff --git a/conda/base/context.py b/conda/base/context.py
|
||||
index 34a5e6495..ac017f48b 100644
|
||||
--- a/conda/base/context.py
|
||||
+++ b/conda/base/context.py
|
||||
@@ -754,7 +754,7 @@
|
||||
|
||||
@@ -826,7 +826,7 @@ class Context(Configuration):
|
||||
|
||||
@property
|
||||
def conda_prefix(self):
|
||||
def conda_prefix(self) -> PathType:
|
||||
- return abspath(sys.prefix)
|
||||
+ return expand("~/.conda")
|
||||
|
||||
|
||||
@property
|
||||
@deprecated(
|
||||
@@ -787,27 +787,17 @@
|
||||
@@ -858,25 +858,17 @@ class Context(Configuration):
|
||||
The vars can refer to each other if necessary since the dict is ordered.
|
||||
None means unset it.
|
||||
"""
|
||||
@ -26,12 +28,10 @@
|
||||
- }
|
||||
- else:
|
||||
- exe = "conda.exe" if on_win else "conda"
|
||||
- # I was going to use None to indicate a variable to unset, but that gets tricky with
|
||||
- # error-on-undefined.
|
||||
- return {
|
||||
- "CONDA_EXE": os.path.join(sys.prefix, BIN_DIRECTORY, exe),
|
||||
- "_CE_M": "",
|
||||
- "_CE_CONDA": "",
|
||||
- "_CE_M": None,
|
||||
- "_CE_CONDA": None,
|
||||
- "CONDA_PYTHON_EXE": sys.executable,
|
||||
- }
|
||||
+ import sys
|
||||
@ -45,6 +45,6 @@
|
||||
+ "_CE_CONDA": "conda",
|
||||
+ "CONDA_PYTHON_EXE": sys.executable,
|
||||
+ }
|
||||
|
||||
|
||||
@memoizedproperty
|
||||
def channel_alias(self):
|
||||
def channel_alias(self) -> Channel:
|
||||
|
@ -28,7 +28,7 @@
|
||||
buildPythonPackage rec {
|
||||
__structuredAttrs = true;
|
||||
pname = "conda";
|
||||
version = "25.1.0";
|
||||
version = "25.5.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -36,7 +36,7 @@ buildPythonPackage rec {
|
||||
owner = "conda";
|
||||
repo = "conda";
|
||||
tag = version;
|
||||
hash = "sha256-dFj9ob9RRmeaaVDJeDOVLe06fBkCGEWhavLFKytJ8Mo=";
|
||||
hash = "sha256-BHy0t+5jz1WdSElCQBgFh5VJC3iIYelS01iQeQByr+0=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user