File tree 3 files changed +11
-8
lines changed 3 files changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -408,11 +408,6 @@ def test_wheel(
408
408
"--only-binary=:all:" ,
409
409
"--platform" ,
410
410
platform_tag ,
411
- # This index contains Android wheels for many of the most common packages
412
- # which the wheel under test might depend on. Once enough of those packages
413
- # have been released for Android on PyPI, this argument can be removed.
414
- "--extra-index-url" ,
415
- "https://chaquo.com/pypi-13.1/" ,
416
411
"--target" ,
417
412
site_packages_dir ,
418
413
f"{ wheel } { build_options .test_extras } " ,
Original file line number Diff line number Diff line change @@ -236,13 +236,20 @@ Cross-architecture testing is not supported.
236
236
On Linux, the emulator needs access to the KVM virtualization interface, and a DISPLAY
237
237
environment variable pointing at an X server. Xvfb is acceptable.
238
238
239
+ The test process uses the same testbed used by CPython itself to run the CPython test
240
+ suite. It is a Gradle project that has been configured to have a single JUnit test,
241
+ the result of which reports the success or failure of running the test command.
242
+
239
243
The Android test environment can't support running shell scripts, so the
240
244
[ ` test-command ` ] ( options.md#test-command ) must be a Python command – see its
241
245
documentation for details.
242
246
243
- The test process uses the same testbed used by CPython itself to run the CPython test
244
- suite. It is a Gradle project that has been configured to have a single JUnit test,
245
- the result of which reports the success or failure of running the test command.
247
+ If your package has dependencies which haven't been released on PyPI yet, you may want
248
+ to use the [ ` environment ` ] ( options.md#environment ) option to set ` PIP_EXTRA_INDEX_URL `
249
+ to one of the following URLs:
250
+
251
+ * https://chaquo.com/pypi-13.1
252
+ * https://pypi.anaconda.org/scientific-python-nightly-wheels/simple
246
253
247
254
248
255
## iOS {: #ios}
Original file line number Diff line number Diff line change @@ -232,6 +232,7 @@ def test_api_level(tmp_path, capfd):
232
232
# Verify that Android dependencies can be installed from the Chaquopy repository, and
233
233
# that wheels tagged with an older version of Android (in this case 24) are still
234
234
# accepted.
235
+ "CIBW_ENVIRONMENT" : "PIP_EXTRA_INDEX_URL=https://chaquo.com/pypi-13.1" ,
235
236
"CIBW_TEST_REQUIRES" : "bitarray==3.0.0" ,
236
237
"CIBW_TEST_COMMAND" : (
237
238
"python -c 'from bitarray import bitarray; print(~bitarray(\" 01100\" ))'"
You can’t perform that action at this time.
0 commit comments