Hi all! :wave: Our CI jobs that test Pants with Me...
# general
d
Hi all! đź‘‹ Our CI jobs that test Pants with Metals (Scala language server) started failing with the following error
Copy code
/usr/bin/python3.6: can't open file '/home/runner/.cache/pants/setup/bootstrap-Linux-x86_64/virtualenv-16.4.3/virtualenv.py': [Errno 2] No such file or directory
Any idea what might cause this issue? I think it was working OK a week ago
we're using 1.24.0rc1 since that was the only version we could use with
export-dep-as-jar
a few weeks ago, maybe we can upgrade to a more recent version?
a
It looks like it’s trying to download a .tar.gz file with curl, the file it’s downloading wasn’t a gzip’d file (maybe it was interrupted, or was a 503 page or something), and so it couldn’t unzip?
d
Looks like the following curl failed in the
pants
script
Copy code
curl -LO "<https://pypi.io/packages/source/v/virtualenv/${VENV_TARBALL}>"
a
Version numbers look different, so it’s possible you’re overriding some of those env vaars?
d
Maybe the GitHub CI machines changed those variables in a recent update. I will take a look, thanks!
a
Good luck!
c
we had similar issue on installation we changed it to
Copy code
VENV_PACKAGE_URL=$(curl <https://pypi.org/pypi/virtualenv/json> | jq -r ".releases[\"$VENV_VERSION\"][1].url")
      curl -LO $VENV_PACKAGE_URL
lmk if this helps
and also updated venv
VENV_VERSION=${VENV_VERSION:-16.7.10}
a
we saw similar problems, i think pypi was having issues early this morning
h
We saw pypi issues this morning as well (different manifestation, but due to 500s from pypi)
d
I looks like pypi was indeed having issues. Our CI is green again now without any changes to our build
a
Hurrah!
Ish!
d
Thank you for helping investigate this issue!