Skip to content

Commit 00456da

Browse files
Fix backward-incompatible numpy change.
1 parent 659714e commit 00456da

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/development.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
include:
21-
- py_ver: '3.10'
21+
- py_ver: '3.9'
2222
distro: debian
2323
image: djbase
2424
env:
@@ -44,7 +44,7 @@ jobs:
4444
export HOST_UID=$(id -u)
4545
docker-compose -f docker-compose-build.yaml up --exit-code-from app --build
4646
echo "DJ_VERSION=${DJ_VERSION}" >> $GITHUB_ENV
47-
- if: matrix.py_ver == '3.10' && matrix.distro == 'debian'
47+
- if: matrix.py_ver == '3.9' && matrix.distro == 'debian'
4848
name: Add pip artifacts
4949
uses: actions/upload-artifact@v3
5050
with:
@@ -119,7 +119,7 @@ jobs:
119119
strategy:
120120
matrix:
121121
include:
122-
- py_ver: '3.10'
122+
- py_ver: '3.9'
123123
distro: debian
124124
image: djbase
125125
env:
@@ -204,7 +204,7 @@ jobs:
204204
docker push "${IMAGE}:${TAG}"
205205
docker tag "${IMAGE}:${TAG}" "${IMAGE}:${TAG}-${GITHUB_SHA:0:7}"
206206
docker push "${IMAGE}:${TAG}-${GITHUB_SHA:0:7}"
207-
[ "$PY_VER" == "3.10" ] && [ "$DISTRO" == "debian" ] \
207+
[ "$PY_VER" == "3.9" ] && [ "$DISTRO" == "debian" ] \
208208
&& docker tag "${IMAGE}:${TAG}" "${IMAGE}:latest" \
209209
&& docker push "${IMAGE}:latest" \
210210
|| echo "skipping 'latest' tag..."

tests/test_blob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ def test_recarrays():
166166

167167

168168
def test_object_arrays():
169-
x = np.array(((1, 2, 3), True))
169+
x = np.array(((1, 2, 3), True), dtype='object')
170170
assert_array_equal(x, unpack(pack(x)), "Object array did not serialize correctly")
171171

172172

0 commit comments

Comments
 (0)