Skip to content

Commit

Permalink
feat: Pypi supports come out of Beta? (#1120)
Browse files Browse the repository at this point in the history
  • Loading branch information
olivier-lacroix authored Apr 6, 2024
1 parent 526486c commit 0819831
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/project/manifest/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,21 +142,6 @@ impl Manifest {
// Validate the contents of the manifest
manifest.validate(NamedSource::new(file_name, contents.to_owned()), root)?;

// Notify the user that pypi-dependencies are still experimental
if manifest
.features
.values()
.flat_map(|f| f.targets.targets())
.any(|f| f.pypi_dependencies.is_some())
{
match std::env::var("PIXI_BETA_WARNING_OFF") {
Ok(var) if var == *"true" => {}
_ => {
tracing::warn!("BETA feature `[pypi-dependencies]` enabled!\n\nPlease report any and all issues here:\n\n\thttps://github.com/prefix-dev/pixi.\n\nTurn this warning off by setting the environment variable `PIXI_BETA_WARNING_OFF` to `true`.\n");
}
}
}

let source = match manifest_kind {
ManifestKind::Pixi => ManifestSource::PixiToml(document),
ManifestKind::Pyproject => ManifestSource::PyProjectToml(document),
Expand Down

0 comments on commit 0819831

Please sign in to comment.