Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/dev-tools/backends/conda.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Conda Backend <Badge type="warning" text="experimental" />
# Conda Backend

You may install packages directly from [conda-forge](https://conda-forge.org/) and other
Anaconda channels without needing conda or mamba installed.
Expand Down
2 changes: 1 addition & 1 deletion docs/dev-tools/backends/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Below is a list of the available backends in mise:
- [asdf](/dev-tools/backends/asdf) (provide tools through [plugins](/plugins.html))
- [aqua](/dev-tools/backends/aqua)
- [cargo](/dev-tools/backends/cargo)
- [conda](/dev-tools/backends/conda) <Badge type="warning" text="experimental" />
- [conda](/dev-tools/backends/conda)
- [dotnet](/dev-tools/backends/dotnet) <Badge type="warning" text="experimental" />
- [forgejo](/dev-tools/backends/forgejo)
- [gem](/dev-tools/backends/gem)
Expand Down
3 changes: 1 addition & 2 deletions src/backend/backend_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,8 @@ impl BackendType {

/// Returns true if this backend requires experimental mode to be enabled
pub fn is_experimental(&self) -> bool {
use super::{conda, dotnet, s3, spm};
use super::{dotnet, s3, spm};
match self {
BackendType::Conda => conda::EXPERIMENTAL,
BackendType::Dotnet => dotnet::EXPERIMENTAL,
BackendType::S3 => s3::EXPERIMENTAL,
BackendType::Spm => spm::EXPERIMENTAL,
Expand Down
5 changes: 0 additions & 5 deletions src/backend/conda.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ pub struct CondaPackageInfo {
pub checksum: Option<String>,
}

/// Conda backend requires experimental mode to be enabled
pub const EXPERIMENTAL: bool = true;

#[derive(Debug)]
pub struct CondaBackend {
ba: Arc<BackendArg>,
Expand Down Expand Up @@ -683,8 +680,6 @@ impl Backend for CondaBackend {
ctx: &InstallContext,
mut tv: ToolVersion,
) -> Result<ToolVersion> {
Settings::get().ensure_experimental("conda backend")?;

let platform_key = self.get_platform_key();
let has_locked = tv
.lock_platforms
Expand Down
Loading