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

CI: Use pixi for all stages of testing #102

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

matthewfeickert
Copy link
Member

@matthewfeickert matthewfeickert commented Sep 30, 2024

  • Use pixi to provide the runtime environment for removal of the test-package from the scientific-python-nightly-wheels channel.
  • Use prefix-dev/setup-pixi to setup pixi with no environment created.
    • Use run-install: false to setup pixi with no install.
  • Use pixi exec --spec to create a temporary pixi environment with anaconda-client installed for the anaconda remove command.
   $ pixi exec --help
   Run a command in a temporary environment

   Usage: pixi exec [OPTIONS] [COMMAND]...

   Arguments:
     [COMMAND]...
             The executable to run

   Options:
     -s, --spec <SPECS>
             Matchspecs of packages to install. If this is not provided, the
             package is guessed from the command

Copy link
Member

@bsipocz bsipocz left a comment

Choose a reason for hiding this comment

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

Unrelated, but as a good measure for consistency, please change the uv action to use the hash, too.

* Use pixi to provide the runtime environment for removal of the test-package
  from the scientific-python-nightly-wheels channel.
* Use prefix-dev/setup-pixi to setup pixi with no environment created.
   - Use 'run-install: false' to setup pixi with no install.
* Use 'pixi exec --spec' to create a temporary pixi environment with
  anaconda-client installed for the 'anaconda remove' command.

   $ pixi exec --help
   Run a command in a temporary environment

   Usage: pixi exec [OPTIONS] [COMMAND]...

   Arguments:
     [COMMAND]...
             The executable to run

   Options:
     -s, --spec <SPECS>
             Matchspecs of packages to install. If this is not provided, the
             package is guessed from the command
@matthewfeickert
Copy link
Member Author

Unrelated, but as a good measure for consistency, please change the uv action to use the hash, too.

Done in PR #104. 👍

@matthewfeickert matthewfeickert merged commit 920fb59 into main Oct 1, 2024
2 checks passed
@matthewfeickert matthewfeickert deleted the ci/use-pixi-for-full-ci branch October 1, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants