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

docs: Mention pixi exec in GHA docs #1724

Merged
merged 3 commits into from
Aug 2, 2024

Conversation

pavelzw
Copy link
Contributor

@pavelzw pavelzw commented Aug 2, 2024

@pavelzw pavelzw marked this pull request as ready for review August 2, 2024 09:19
- run: | # (1)!
import ruamel.yaml
# ...
shell: pixi exec --spec python=3.11.* --spec ruamel.yaml -- python {0}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small note: 'python=3.11.*' doesn't work here as this isn't evaluated in a shell and it would be passed with quotes to pixi which results in the following error:

error: invalid value ''python=3.11.*'' for '--spec <SPECS>': ''python' is not a valid package name. Package names can only contain 0-9, a-z, A-Z, -, _, or .

For more information, try '--help'.

Nothing we need to fix on pixi's side IMO

@ruben-arts ruben-arts merged commit a8f0e1f into prefix-dev:main Aug 2, 2024
5 checks passed
@ruben-arts
Copy link
Contributor

Thanks!!

@pavelzw pavelzw deleted the pixi-exec-gha branch August 2, 2024 12:01
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