Skip to content

Commit 7f130bd

Browse files
author
kx79wq
committed
fix: spark4 constraints in unit tests
1 parent 6863972 commit 7f130bd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
python -m pip install --upgrade pip
3737
if [ "${{ matrix.numpy_version }}" = "numpy<2" ]; then
38-
pip install ".[test,pandas,spark,test_numpy_pre2]"
38+
pip install ".[test,pandas,test_spark_pre2,test_numpy_pre2]"
3939
else
4040
pip install ".[test,pandas,spark]"
4141
fi

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ test_numpy_pre2 = [
5555
"numpy<2",
5656
"pandas<2",
5757
]
58+
test_spark_pre2 = [
59+
"pyspark<4; python_version <= '3.11'",
60+
]
5861

5962
# files to be shipped with the installation, under: histogrammar/test_data and histogrammar/notebooks
6063
# after installation, these can be found with the functions in resources.py

0 commit comments

Comments
 (0)