Skip to content

Commit 81de5dc

Browse files
committed
sqlcipher3: keep the egg-info out of the smoke test's metadata lookup
1 parent 94667fe commit 81de5dc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎.github/workflows/build-sqlcipher3.yml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,10 +136,11 @@ jobs:
136136
CONAN_OPENSSL_CONFIGURATION=linux-generic64
137137
PIP_EXTRA_INDEX_URL=https://pypi.riseproject.dev/simple/
138138
CIBW_BEFORE_ALL_LINUX: command -v yum >/dev/null && yum -y install perl-core || command -v apk >/dev/null && apk add perl || true
139+
# -P keeps the build's {project}/sqlcipher3.egg-info from shadowing the installed metadata.
139140
CIBW_TEST_COMMAND: >
140141
mv {project}/sqlcipher3 {project}/sqlcipher3_ &&
141142
python {project}/tests/ &&
142-
python {project}/smoke_test.py &&
143+
python -P {project}/smoke_test.py &&
143144
mv {project}/sqlcipher3_ {project}/sqlcipher3
144145
145146
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1

0 commit comments

Comments
 (0)