Skip to content

Commit 7586da6

Browse files
Fix fastavro version used in Feast to avoid Timestamp delta error (#490)
* Fix fastavro version used in feast to 0.22.9 * Print python packages version used when e2e test fails
1 parent 6363540 commit 7586da6

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

.prow/scripts/test-end-to-end-batch.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ if [[ ${TEST_EXIT_CODE} != 0 ]]; then
255255
echo "[DEBUG] Printing logs"
256256
ls -ltrh /var/log/feast*
257257
cat /var/log/feast-serving-warehouse.log /var/log/feast-core.log
258+
259+
echo "[DEBUG] Printing Python packages list"
260+
pip list
258261
fi
259262

260263
cd ${ORIGINAL_DIR}

.prow/scripts/test-end-to-end.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ if [[ ${TEST_EXIT_CODE} != 0 ]]; then
229229
echo "[DEBUG] Printing logs"
230230
ls -ltrh /var/log/feast*
231231
cat /var/log/feast-serving-online.log /var/log/feast-core.log
232+
233+
echo "[DEBUG] Printing Python packages list"
234+
pip list
232235
fi
233236

234237
cd ${ORIGINAL_DIR}

sdk/python/setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@
3737
"pandavro==1.5.*",
3838
"protobuf>=3.10",
3939
"PyYAML==5.1.*",
40-
"fastavro==0.*",
40+
# fastavro 0.22.10 and newer will throw this error for e2e batch test:
41+
# TypeError: Timestamp subtraction must have the same timezones or no timezones
42+
"fastavro==0.22.9",
4143
"kafka-python==1.*",
4244
"tabulate==0.8.*",
4345
"toml==0.10.*",

0 commit comments

Comments
 (0)