Skip to content

Commit 1f73879

Browse files
authored
SCANPY-232 Fix Windows CI failiure (#291)
1 parent 7421e3d commit 1f73879

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/actions/config-poetry/config-poetry.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ set_build_env() {
1515
config_poetry() {
1616
jf config add repox --artifactory-url "$ARTIFACTORY_URL" --access-token "$ARTIFACTORY_ACCESS_TOKEN"
1717
jf poetry-config --server-id-resolve repox --repo-resolve "$ARTIFACTORY_PYPI_REPO"
18+
# force poetry to use python available in the environment to avoid cached .venv to point to old python version
19+
jf poetry env use python --build-name="$PROJECT" --build-number="$BUILD_NUMBER"
1820
jf poetry install --build-name="$PROJECT" --build-number="$BUILD_NUMBER"
1921
}
2022

0 commit comments

Comments
 (0)