Skip to content

Commit eebc470

Browse files
committed
vdk-core: adopt plugin 1.3
Plugy realease of 1.3 on 25th of August introduced a changing renaming pluggy._callers._Result to pluggy.Result. It can be found in the list of changes between 1.2 and 1.3 : pytest-dev/pluggy@1.2.0...1.3.0 As we rely on that as a type for the Result object , it breaks vdk. This changing is adopting the pluggy change
1 parent 02a0d30 commit eebc470

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

projects/vdk-plugins/build-plugin.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ pip install -U pip setuptools
1313
pip install --upgrade --extra-index-url $PIP_EXTRA_INDEX_URL -r requirements.txt
1414
pip install --upgrade -e . --extra-index-url $PIP_EXTRA_INDEX_URL
1515

16+
if [ -n "${USE_VDKCORE_DEV_VERSION}" ] ; then pip install -e ../../vdk-core; fi
17+
1618
# List exceptions to below check here.
1719
# Those are not technically plugins so they would not have entry point defined.
1820
if [ "$PLUGIN_NAME" != 'quickstart-vdk' ] && \
@@ -25,6 +27,8 @@ then
2527
if ! vdk version 2>&1 | grep -q "$PLUGIN_NAME"; then
2628
echo "Plugin entry point seems to be mis-configured."
2729
echo "Make sure to set setup.py entry_points for the plugin or update an exception case in above if statement."
30+
echo "Running vdk version:"
31+
vdk version
2832
exit 1
2933
else
3034
echo "Check passed."
@@ -33,6 +37,5 @@ fi
3337

3438
pip install pytest-cov
3539

36-
if [ -n "${USE_VDKCORE_DEV_VERSION}" ] ; then pip install -e ../../vdk-core; fi
3740

3841
pytest --junitxml=tests.xml --cov vdk --cov-report term-missing --cov-report xml:coverage.xml

0 commit comments

Comments
 (0)