From d51b3ca3264899f678b11f35fea7e3a9fb78eda1 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Dec 08 2023 14:46:21 +0000 Subject: Update to 23.11.0 --- diff --git a/0006-shell-assume-shell-plugins-are-in-etc.patch b/0006-shell-assume-shell-plugins-are-in-etc.patch index b7710f9..577c06b 100644 --- a/0006-shell-assume-shell-plugins-are-in-etc.patch +++ b/0006-shell-assume-shell-plugins-are-in-etc.patch @@ -1,51 +1,51 @@ diff --git a/conda/activate.py b/conda/activate.py -index 8149162..0d751e3 100644 +index e7944a2..318cf88 100644 --- a/conda/activate.py +++ b/conda/activate.py -@@ -918,13 +918,7 @@ class PosixActivator(_Activator): +@@ -924,13 +924,7 @@ class PosixActivator(_Activator): set_var_tmpl = "%s='%s'" run_script_tmpl = '. "%s"' -- hook_source_path = join( +- hook_source_path = Path( - CONDA_PACKAGE_ROOT, - "shell", - "etc", - "profile.d", - "conda.sh", - ) -+ hook_source_path = '/etc/profile.d/conda.sh' ++ hook_source_path = "/etc/profile.d/conda.sh" def _update_prompt(self, set_vars, conda_prompt_modifier): ps1 = self.environ.get("PS1", "") -@@ -971,13 +965,7 @@ class CshActivator(_Activator): +@@ -977,13 +971,7 @@ class CshActivator(_Activator): set_var_tmpl = "set %s='%s'" run_script_tmpl = 'source "%s"' -- hook_source_path = join( +- hook_source_path = Path( - CONDA_PACKAGE_ROOT, - "shell", - "etc", - "profile.d", - "conda.csh", - ) -+ hook_source_path = '/etc/profile.d/conda.csh' ++ hook_source_path = "/etc/profile.d/conda.csh" def _update_prompt(self, set_vars, conda_prompt_modifier): prompt = self.environ.get("prompt", "") -@@ -1033,7 +1021,7 @@ class XonshActivator(_Activator): +@@ -1039,7 +1027,7 @@ class XonshActivator(_Activator): else 'source-bash --suppress-skip-message -n "%s"' ) -- hook_source_path = join(CONDA_PACKAGE_ROOT, "shell", "conda.xsh") +- hook_source_path = Path(CONDA_PACKAGE_ROOT, "shell", "conda.xsh") + hook_source_path = "/etc/profile.d/conda.xsh" def _hook_preamble(self) -> str: return '$CONDA_EXE = "%s"' % self.path_conversion(context.conda_exe) -@@ -1074,14 +1062,7 @@ class FishActivator(_Activator): +@@ -1080,14 +1068,7 @@ class FishActivator(_Activator): set_var_tmpl = 'set -g %s "%s"' run_script_tmpl = 'source "%s"' -- hook_source_path = join( +- hook_source_path = Path( - CONDA_PACKAGE_ROOT, - "shell", - "etc", @@ -58,10 +58,10 @@ index 8149162..0d751e3 100644 def _hook_preamble(self) -> str: if on_win: diff --git a/conda/base/context.py b/conda/base/context.py -index c22fafd..cf29eb6 100644 +index 52c789c..4bed062 100644 --- a/conda/base/context.py +++ b/conda/base/context.py -@@ -739,7 +739,7 @@ class Context(Configuration): +@@ -756,7 +756,7 @@ class Context(Configuration): def av_data_dir(self): """Where critical artifact verification data (e.g., various public keys) can be found.""" # TODO (AV): Find ways to make this user configurable? diff --git a/conda.spec b/conda.spec index 9c0d852..2974aca 100644 --- a/conda.spec +++ b/conda.spec @@ -1,7 +1,7 @@ %bcond_without tests Name: conda -Version: 23.10.0 +Version: 23.11.0 Release: %autorelease Summary: Cross-platform, Python-agnostic binary package manager @@ -216,6 +216,7 @@ py.test-%{python3_version} -vv -m "not integration" \ --deselect=tests/cli/test_main_notices.py::test_notices_cannot_read_cache_files \ --deselect=tests/cli/test_main_rename.py \ --deselect=tests/cli/test_main_run.py \ + --deselect=tests/cli/test_subcommands.py::test_create[libmamba] \ --deselect=tests/cli/test_subcommands.py::test_env_create \ --deselect=tests/cli/test_subcommands.py::test_env_update \ --deselect=tests/cli/test_subcommands.py::test_init \ @@ -227,6 +228,8 @@ py.test-%{python3_version} -vv -m "not integration" \ --deselect=tests/cli/test_subcommands.py::test_rename \ --deselect=tests/cli/test_subcommands.py::test_run \ --deselect=tests/cli/test_subcommands.py::test_search \ + --deselect=tests/cli/test_subcommands.py::test_update[libmamba-update] \ + --deselect=tests/cli/test_subcommands.py::test_update[libmamba-upgrade] \ --deselect=tests/cli/test_subcommands.py::test_update[update] \ --deselect=tests/cli/test_subcommands.py::test_update[upgrade] \ --deselect=tests/core/test_package_cache_data.py::test_ProgressiveFetchExtract_prefers_conda_v2_format \ @@ -241,6 +244,8 @@ py.test-%{python3_version} -vv -m "not integration" \ --deselect=tests/core/test_solve.py::test_timestamps_1[libmamba] \ --deselect=tests/core/test_solve.py::test_remove_with_constrained_dependencies[libmamba] \ --deselect=tests/gateways/test_jlap.py::test_download_and_hash \ + --deselect=tests/gateways/test_jlap.py::test_jlap_fetch_ssl[True] \ + --deselect=tests/gateways/test_jlap.py::test_jlap_fetch_ssl[False] \ --deselect=tests/test_plan.py::test_pinned_specs_conda_meta_pinned \ --deselect=tests/test_plan.py::test_pinned_specs_condarc \ --deselect=tests/test_plan.py::test_pinned_specs_all \ diff --git a/sources b/sources index 91b0312..f33503d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (conda-23.10.0.tar.gz) = d7605d734670161cd0de294a5ab15d9bc7ee2072b74c26e627283d3ad416ca7e34bf5a87fde5114da0fff732499aab99ea2d64fca2494deef6f1b370e368c635 +SHA512 (conda-23.11.0.tar.gz) = 0bb2fc1bfc44d7bed617880052e02a6cd3f9d88eeaae80f20251415e1552cd289e63ef1de6e2d6ee1d27d6aabd9224d027c801af731be62ca5e473736e191f35