Skip to content

Commit 4389a92

Browse files
authored
Support pixi in dask/dask CI (#9264)
1 parent c813e6d commit 4389a92

3 files changed

Lines changed: 39 additions & 0 deletions

File tree

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# SCM syntax highlighting & preventing 3-way merges
2+
pixi.lock merge=binary linguist-language=YAML linguist-generated=true -diff

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,6 @@ test_short_report.html
3939

4040
# Test failures will dump the cluster state in here
4141
test_cluster_dump/
42+
# pixi environments
43+
.pixi/*
44+
!.pixi/config.toml

pixi.toml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# This file is used by pixi-build in other projects (namely, dask/dask)
2+
# to generate a conda package of distributed from git tip
3+
[workspace]
4+
channels = ["https://prefix.dev/conda-forge"]
5+
platforms = ["linux-64", "osx-arm64", "win-64"]
6+
preview = ["pixi-build"]
7+
8+
[package]
9+
name = "distributed"
10+
# FIXME work around poor pixi-build support for SCM versioning
11+
version = "2099.0.0"
12+
13+
[package.build]
14+
backend = { name = "pixi-build-python", version = "*" }
15+
source.path = "."
16+
17+
[package.host-dependencies]
18+
setuptools = "*"
19+
setuptools-scm = "*"
20+
21+
[package.run-dependencies]
22+
# Don't pin dask/dask here to avoid headaches
23+
# when installing from git tip with pixi-build
24+
dask-core = "*"
25+
# Skip dependencies redundant with dask-core
26+
jinja2 = ">=2.10.3"
27+
locket = ">=1.0.0"
28+
msgpack-python = ">=1.0.2"
29+
psutil = ">=5.8.0"
30+
sortedcontainers = ">=2.0.5"
31+
tblib = ">=1.6.0,!=3.2.0,!=3.2.1"
32+
tornado = ">=6.2.0"
33+
urllib3 = ">=1.26.5"
34+
zict = ">=3.0.0"

0 commit comments

Comments
 (0)