Skip to content

chore: Add default environments for Pixi tasks - #2661

Merged
kratsg merged 1 commit into
scikit-hep:mainfrom
matthewfeickert:chore/add-default-environment
Jan 14, 2026
Merged

chore: Add default environments for Pixi tasks#2661
kratsg merged 1 commit into
scikit-hep:mainfrom
matthewfeickert:chore/add-default-environment

Conversation

@matthewfeickert

@matthewfeickert matthewfeickert commented Jan 14, 2026

Copy link
Copy Markdown
Member

Description

Follow up to PR #2638

  • Pixi v0.63.0 added support for specifying a default environment for tasks. Using this, add a default environments task to remove the selection between the environment in which their feature exists and the 'dev' environment which includes the other environments.
  • Add 'requires-pixi' of v0.63.0+ to ensure support for default environments.

Checklist Before Requesting Reviewer

  • Tests are passing
  • "WIP" removed from the title of the pull request
  • Selected an Assignee for the PR to be responsible for the log summary

Before Merging

For the PR Assignees:

  • Summarize commit messages into a comprehensive review of the PR
* Pixi v0.63.0 added support for specifying a default environment for tasks.
  Using this, add a default environments task to remove the selection between
  the environment in which their feature exists and the 'dev' environment which
  includes the other environments.
   - c.f. https://github.com/prefix-dev/pixi/releases/tag/v0.63.0
* Add 'requires-pixi' of v0.63.0+ to ensure support for default environments.

* Pixi v0.63.0 added support for specifying a default environment for tasks.
  Using this, add a default environments task to remove the selection between
  the environment in which their feature exists and the 'dev' environment which
  includes the other environments.
   - c.f. https://github.com/prefix-dev/pixi/releases/tag/v0.63.0
* Add 'requires-pixi' of v0.63.0+ to ensure support for default environments.
@matthewfeickert matthewfeickert self-assigned this Jan 14, 2026
@matthewfeickert matthewfeickert added tests pytest chore Other changes that don't modify src or test files labels Jan 14, 2026
@github-project-automation github-project-automation Bot moved this to In progress in pyhf v0.8.0 Jan 14, 2026
@matthewfeickert

Copy link
Copy Markdown
Member Author

This feature was added in prefix-dev/pixi#5164 and released today (2026-01-14).

@matthewfeickert
matthewfeickert marked this pull request as ready for review January 14, 2026 17:07
@codecov

codecov Bot commented Jan 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.24%. Comparing base (42ef2cd) to head (a074666).
⚠️ Report is 29 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2661   +/-   ##
=======================================
  Coverage   98.24%   98.24%           
=======================================
  Files          65       65           
  Lines        4220     4220           
  Branches      464      464           
=======================================
  Hits         4146     4146           
  Misses         45       45           
  Partials       29       29           
Flag Coverage Δ
contrib 98.12% <ø> (ø)
doctest 98.24% <ø> (ø)
unittests-3.10 96.44% <ø> (ø)
unittests-3.11 96.44% <ø> (ø)
unittests-3.12 96.44% <ø> (ø)
unittests-3.13 96.44% <ø> (ø)
unittests-3.9 96.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kratsg
kratsg merged commit f0bd336 into scikit-hep:main Jan 14, 2026
22 checks passed
@github-project-automation github-project-automation Bot moved this from In progress to Done in pyhf v0.8.0 Jan 14, 2026
@matthewfeickert
matthewfeickert deleted the chore/add-default-environment branch January 14, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Other changes that don't modify src or test files tests pytest

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants