Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: publish MatchSpecOrSubSection for env yaml #855

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

abkfenris
Copy link
Contributor

Description

With the addition of EnvironmentYaml to rattler, I'm taking another swing at adding exporting from Pixi (replacing prefix-dev/pixi#1427 ), and using EnvironmentYaml to reuse code.

Currently the MatchSpecOrSubSection enum isn't published at the library level, so dependencies can't be added from MatchSpecs or Pip subsections. This publishes the enum so that it can be used for constructing EnvironmentYamls from other representations.

Publishes `MatchSpecOrSubSection` enum that is used for constructing environment.yaml files
@wolfv
Copy link
Contributor

wolfv commented Sep 7, 2024

Awesome, thanks for the PR! :)

@baszalmstra
Copy link
Collaborator

Thanks! Looks good to me!

@abkfenris abkfenris marked this pull request as ready for review September 7, 2024 16:25
@wolfv wolfv merged commit d54fd4f into conda:main Sep 7, 2024
15 checks passed
@baszalmstra baszalmstra mentioned this pull request Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants