Skip to content

Commit

Permalink
Merge branch 'main' into chore_precommit
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Jan 28, 2025
2 parents 5c649d8 + cc753d2 commit 957e21f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 15 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-39", "test-312"]
"environment": ["test-310", "test-312"]
}')
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-39", "test-310", "test-311", "test-312"]
"environment": ["test-310", "test-311", "test-312"]
}')
echo "MATRIX=$MATRIX" >> $GITHUB_ENV
- name: Set test matrix with 'downstream' option
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ to work with much larger datasets than it would otherwise.

## Installation

Datashader supports Python 3.9, 3.10, 3.11, 3.12, and 3.13 on Linux, Windows, or
Datashader supports Python 3.10, 3.11, 3.12, and 3.13 on Linux, Windows, or
Mac and can be installed with conda:

conda install datashader
Expand Down
17 changes: 6 additions & 11 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ install = "python -m pip install --no-deps --disable-pip-version-check -e ."
PYTHONIOENCODING = "utf-8"

[environments]
test-39 = ["py39", "test-core", "test", "example", "test-example", "test-unit-task"]
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"]
Expand All @@ -23,7 +22,7 @@ lint = ["py311", "lint"]

[dependencies]
python = "<3.13"
numba = "*" # At top as this dictates Python version
numba = "*"
colorcet = "*"
multipledispatch = "*"
numpy = "*"
Expand All @@ -37,26 +36,21 @@ setuptools = "*" # distutils for pyct
toolz = "*"
xarray = "*"

[feature.py39.dependencies]
python = "3.9.*"

[feature.py310.dependencies]
python = "3.10.*"
bokeh_sampledata = "*"

[feature.py311.dependencies]
python = "3.11.*"
bokeh_sampledata = "*"

[feature.py312.dependencies]
python = "3.12.*"
bokeh_sampledata = "*"

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

[feature.example.dependencies]
bokeh = ">3.1"
bokeh_sampledata = "*"
dask-core = "*"
dask-geopandas = "*"
fastparquet = "*"
Expand All @@ -68,11 +62,11 @@ matplotlib-base = ">=3.3"
networkx = "*"
panel = ">1.1"
pillow = "*"
pyogrio = "*"
pyogrio = "*"
pyproj = "*"
python-graphviz = "*"
python-snappy = "*"
rasterio = "!=1.4.0" # 2024-11: Errors and will not solve to latest on Linux + Python 3.9
rasterio = "*"
scikit-image = "*"
shapely = ">=2.0.0"
spatialpandas = "*"
Expand All @@ -95,6 +89,7 @@ test-unit-nojit = { cmd = 'pytest datashader -k "not test_tiles" -n logical --di
test-benchmark = 'pytest datashader/tests --benchmark'

[feature.test.dependencies]
bokeh_sampledata = "*"
dask-core = "*"
dask-expr = "<2"
dask-geopandas = "*"
Expand All @@ -104,7 +99,7 @@ netcdf4 = "*"
pyarrow = "*"
pillow = "*"
pyogrio = "*"
rasterio = "!=1.4.0" # 2024-11: Errors and will not solve to latest on Linux + Python 3.9
rasterio = "*"
rioxarray = "*"
scikit-image = "*"
shapely = ">=2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
Expand Down Expand Up @@ -86,6 +85,7 @@ select = [
"W",
]
ignore = [
"UP038", # isinstance and issubclass uses a |-separated union
# The following should be enabled in the future
"UP030", # format-literals
"UP031", # printf-string-formatting
Expand Down

0 comments on commit 957e21f

Please sign in to comment.