From 2348de4365967a7cf18400213a5a84e4da7f0491 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 7 Oct 2024 12:53:35 -0400 Subject: pip_index_provides does not need a separate version * To be more aligned with conda_provides, the version spec has been consolidated into one argument --- include/conda.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/conda.h b/include/conda.h index b5ea926..565b7c9 100644 --- a/include/conda.h +++ b/include/conda.h @@ -190,7 +190,7 @@ int conda_index(const char *path); * @param version package version (may be NULL) * @return not found = 0, found = 1, error = -1 */ -int pip_index_provides(const char *index_url, const char *name, const char *version); +int pip_index_provides(const char *index_url, const char *spec); char *conda_get_active_environment(); -- cgit