Skip to content

docs: Mention pixi exec in GHA docs#1724

Merged
ruben-arts merged 3 commits intoprefix-dev:mainfrom
pavelzw:pixi-exec-gha
Aug 2, 2024
Merged

docs: Mention pixi exec in GHA docs#1724
ruben-arts merged 3 commits intoprefix-dev:mainfrom
pavelzw:pixi-exec-gha

Conversation

@pavelzw
Copy link
Copy Markdown
Collaborator

@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
Copy Markdown
Collaborator 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
@ruben-arts
Copy link
Copy Markdown
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