jolly-kite-50076
02/17/2021, 8:34 PM1.23.0
). One of my projects started randomly failing the build process with pants. This is the more relevant part of the error but I'd be happy to provide the full error if needed. Has anyone else encountered similar issues?
New virtual environment successfully created at /aurora/.cache/pants/setup/bootstrap-Linux-x86_64/1.23.0_py38.
18:21:25 [INFO] Resolving new plugins...:
pantsbuild.pants.contrib.python.checks==1.23.0
/aurora/.cache/pants/setup/bootstrap-Linux-x86_64/1.23.0_py38/lib/python3.8/site-packages/pex/pep425tags.py:274: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
**** Failed to install cryptography-3.4.6 (caused by: NonZeroExit("received exit code 1 during execution of `['/aurora/.cache/pants/setup/bootstrap-Linux-x86_64/pants.wbiSRj/install/bin/python3.8', '-s', '-', 'bdist_wheel', '--dist-dir=/tmp/tmpy5ahhlii']` while trying to execute `['/aurora/.cache/pants/setup/bootstrap-Linux-x86_64/pants.wbiSRj/install/bin/python3.8', '-s', '-', 'bdist_wheel', '--dist-dir=/tmp/tmpy5ahhlii']`")
):
stdout:
=============================DEBUG ASSISTANCE==========================
If you are seeing an error here please try the following to
successfully install cryptography:
Upgrade to the latest pip and try again. This will fix errors for most
users. See: <https://pip.pypa.io/en/stable/installing/#upgrading-pip>
=============================DEBUG ASSISTANCE==========================
stderr:
Traceback (most recent call last):
File "<stdin>", line 14, in <module>
File "<string>", line 14, in <module>
ModuleNotFoundError: No module named 'setuptools_rust'
jolly-kite-50076
02/17/2021, 8:35 PMhundreds-father-404
02/17/2021, 8:37 PM./pants
bash script to use a newer version of pipjolly-kite-50076
02/17/2021, 8:38 PMjolly-kite-50076
02/18/2021, 7:40 PMInstalling collected packages: pip
Found existing installation: pip 19.0.3
Uninstalling pip-19.0.3:
Successfully uninstalled pip-19.0.3
Successfully installed pip-21.0.
hundreds-father-404
02/18/2021, 7:42 PM./pants test path/to/file.py
) and pants.toml
hundreds-father-404
02/18/2021, 7:44 PMjolly-kite-50076
02/18/2021, 8:32 PMpants.toml
only version since I thought it might be a challenge but it was a breeze to bump up to 1.26
🙂hundreds-father-404
02/18/2021, 8:44 PMhundreds-father-404
02/18/2021, 8:45 PM