-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
The current deployment workflow tries to test the uploaded pypi (or testpypi) package by downloading the latest package, installing it, and running the test suite.
However, downloading "the latest package" can fail in multiple ways
- The previous package is downloaded because pypi was not updated quickly enough. This may either lead to failures or false positives.
- When testing with pre-release versions such as 1.1.0rc1,
pip install GridDataFormatsnever considers pre-releases and always installs the latest stable so that we cannot properly test.
We can add a heuristic delay but that also addresses (1). A better approach would be to communicate the version number between workflow steps and then have pip install the exact version. Add either delay or retry functionality.