File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,9 @@ jobs:
349349 - uses : dtolnay/rust-toolchain@nightly
350350 with :
351351 components : rust-src
352- - uses : taiki-e/install-action@cargo-careful
352+ # FIXME: workaround https://github.com/RalfJung/cargo-careful/issues/36
353+ # - uses: taiki-e/install-action@cargo-careful
354+ - run : cargo install cargo-careful
353355 - run : python -m pip install --upgrade pip && pip install nox
354356 - run : nox -s test-rust -- careful skip-full
355357 env :
Original file line number Diff line number Diff line change @@ -869,6 +869,8 @@ def _run_cargo_test(
869869) -> None :
870870 command = ["cargo" ]
871871 if "careful" in session .posargs :
872+ # do explicit setup so failures in setup can be seen
873+ _run_cargo (session , "careful" , "setup" )
872874 command .append ("careful" )
873875 command .extend (("test" , "--no-fail-fast" ))
874876 if "release" in session .posargs :
Original file line number Diff line number Diff line change @@ -12,12 +12,15 @@ def test(session: nox.Session):
1212
1313 def try_install_binary (package : str , constraint : str ):
1414 try :
15- session .install (f "--only-binary={ package } " , f"{ package } { constraint } " )
15+ session .install ("--only-binary=:all: " , f"{ package } { constraint } " )
1616 except CommandFailed :
1717 # No binary wheel available on this platform
1818 pass
1919
2020 try_install_binary ("numpy" , ">=1.16" )
21+ # https://github.com/zopefoundation/zope.interface/issues/316
22+ # - is a dependency of gevent
23+ try_install_binary ("zope.interface" , "<7" )
2124 try_install_binary ("gevent" , ">=22.10.2" )
2225 ignored_paths = []
2326 if sys .version_info < (3 , 10 ):
You can’t perform that action at this time.
0 commit comments