Skip to content

Commit 493905a

Browse files
authored
Pixi tweaks (#58)
1 parent df5efd3 commit 493905a

8 files changed

Lines changed: 339 additions & 334 deletions

File tree

.gitattributes

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
# reduce the number of merge conflicts
2-
doc/whats-new.rst merge=union
1+
# SCM syntax highlighting & preventing 3-way merges
2+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
- name: Checkout
1818
uses: actions/checkout@v4
1919

20-
- uses: prefix-dev/setup-pixi@v0.8.10
20+
- uses: prefix-dev/setup-pixi@v0
2121
with:
22-
pixi-version: v0.56.0
22+
pixi-version: v0.57.0
2323
cache: true
2424
environments: docs
2525

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14-
- uses: prefix-dev/setup-pixi@v0.8.10
14+
- uses: prefix-dev/setup-pixi@v0
1515
with:
16-
pixi-version: v0.56.0
16+
pixi-version: v0.57.0
1717
cache: true
1818
environments: lint
1919
- name: Run linters

.github/workflows/pytest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
if: matrix.environment == 'upstream'
5050
run: rm pixi.lock
5151

52-
- uses: prefix-dev/setup-pixi@v0.8.10
52+
- uses: prefix-dev/setup-pixi@v0
5353
with:
54-
pixi-version: v0.56.0
54+
pixi-version: v0.57.0
5555
environments: ${{ matrix.environment }}
5656
cache: ${{ matrix.environment != 'upstream' }}
5757
locked: ${{ matrix.environment != 'upstream' }}

.github/workflows/wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
fetch-depth: 0 # Fetch full git history for hatch-vcs
2121
fetch-tags: true # Fetch tags for hatch-vcs
2222

23-
- uses: prefix-dev/setup-pixi@v0.8.10
23+
- uses: prefix-dev/setup-pixi@v0
2424
with:
25-
pixi-version: v0.56.0
25+
pixi-version: v0.57.0
2626
cache: true
2727
environments: dist
2828

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# pixi environments
2+
.pixi/*
3+
!.pixi/config.toml
4+
15
*.pyc
26
__pycache__
37

pixi.lock

Lines changed: 324 additions & 323 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ enable_error_code = ["ignore-without-code", "possibly-undefined", "truthy-bool"]
135135
module = ["*.tests.*"]
136136
disallow_untyped_defs = false
137137

138-
[tool.pixi.project]
138+
[tool.pixi.workspace]
139139
# TODO pick one depending if you want to test against python release candidates
140140
channels = ["https://prefix.dev/conda-forge"]
141141
# channels = ["https://prefix.dev/conda-forge", "conda-forge/label/python_rc"]

0 commit comments

Comments
 (0)