Skip to content

Commit

Permalink
ci: Add numba channel and test python 3.13 (#1403)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Jan 30, 2025
1 parent 8dae0f1 commit c77a2e6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ jobs:
run: |
MATRIX=$(jq -nsc '{
"os": ["ubuntu-latest", "macos-latest", "windows-latest"],
"environment": ["test-310", "test-312"]
"environment": ["test-310", "test-313"]
}')
echo "MATRIX=$MATRIX" >> $GITHUB_ENV
- name: Set test matrix with 'full' option
if: env.MATRIX_OPTION == 'full'
run: |
MATRIX=$(jq -nsc '{
"os": ["ubuntu-latest", "macos-latest", "windows-latest"],
"environment": ["test-310", "test-311", "test-312"]
"environment": ["test-310", "test-311", "test-312", "test-313"]
}')
echo "MATRIX=$MATRIX" >> $GITHUB_ENV
- name: Set test matrix with 'downstream' option
Expand Down
15 changes: 11 additions & 4 deletions pixi.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "datashader"
channels = ["pyviz/label/dev", "conda-forge"]
channels = ["pyviz/label/dev", "numba", "conda-forge"]
platforms = ["linux-64", "osx-arm64", "osx-64", "win-64"]

[tasks]
Expand All @@ -14,15 +14,16 @@ PYTHONIOENCODING = "utf-8"
test-310 = ["py310", "test-core", "test", "example", "test-example", "test-unit-task"]
test-311 = ["py311", "test-core", "test", "example", "test-example", "test-unit-task"]
test-312 = ["py312", "test-core", "test", "example", "test-example", "test-unit-task"]
test-core = ["py312", "test-core", "test-unit-task"]
test-313 = ["py313", "test-core", "test", "example", "test-example", "test-unit-task"]
test-core = ["py313", "test-core", "test-unit-task"]
test-gpu = ["py312", "test-core", "test-gpu"]
docs = ["py311", "example", "doc"]
build = ["py311", "build"]
lint = ["py311", "lint"]

[dependencies]
python = "<3.13"
numba = "*"
numba = { version = "*", channel = "numba" }
llvmlite = { version = "*", channel = "conda-forge" }
colorcet = "*"
multipledispatch = "*"
numpy = "*"
Expand All @@ -48,6 +49,12 @@ python = "3.12.*"
[feature.py312.activation.env]
COVERAGE_CORE = "sysmon"

[feature.py313.dependencies]
python = "3.13.*"

[feature.py313.activation.env]
COVERAGE_CORE = "sysmon"

[feature.example.dependencies]
bokeh = ">3.1"
bokeh_sampledata = "*"
Expand Down

0 comments on commit c77a2e6

Please sign in to comment.