happy-kitchen-89482
03/29/2022, 1:48 PMcoverage==5.2.1
still works on Python 2.7, so you can try pinning to that instead of to 5.0.3freezing-area-97131
03/29/2022, 1:54 PMfreezing-area-97131
03/29/2022, 2:15 PMNo cached artifacts for 254 targets.
Invalidated 254 targets.14:03:36 [WARN] /home/cedriczheng/.cache/pants/setup/bootstrap-Linux-x86_64/1.23.0_py36/lib/python3.6/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 importlib_metadata-4.11.3 (caused by: NonZeroExit("received exit code 1 during execution of `['/usr/bin/python2.7', '-s', '-', 'bdist_wheel', '--dist-dir=/tmp/tmpwfro9psz']` while trying to execute `['/usr/bin/python2.7', '-s', '-', 'bdist_wheel', '--dist-dir=/tmp/tmpwfro9psz']`",)
):
stdout:
stderr:
Traceback (most recent call last):
File "<stdin>", line 13, in <module>
IOError: [Errno 2] No such file or directory: 'setup.py'
Waiting for background workers to finish.
07:03:38 00:04 [complete]
FAILURE
happy-kitchen-89482
03/29/2022, 2:25 PMhappy-kitchen-89482
03/29/2022, 2:26 PMfreezing-area-97131
03/29/2022, 2:28 PMNo cached artifacts for 71 targets.
Invalidated 71 targets.14:25:12 [WARN] /home/cedriczheng/.cache/pants/setup/bootstrap-Linux-x86_64/1.23.0_py36/lib/python3.6/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
freezing-area-97131
03/29/2022, 2:36 PMpython_requirement_library(
name='importlib',
dependencies=[
':importlib-metadata',
],
)
busy-vase-39202
03/29/2022, 3:39 PMbitter-orange-16997
03/29/2022, 4:39 PM1044.85s Building requirements.pex with 21 requirements: Jinja2, SQLAlchemy==1.4.25, aio-pika, aiofile, aiosmtplib, alembic>=1.7.6, asgi-lifespan, asyncpg, fastapi==0.63.0, httpx, numpy, passlib[bcrypt], pydantic[email], pytest-lazy-fixture, python-dateutil, python-jose==3.2.0, python-multipart==0.0.5, pytz, sqlalchemy-stubs, tenacity, uvicorn[standard]==0.17.0.post1
bitter-orange-16997
03/29/2022, 4:40 PMbitter-orange-16997
03/29/2022, 4:40 PMbitter-orange-16997
03/29/2022, 4:42 PMbitter-orange-16997
03/29/2022, 4:42 PMbitter-orange-16997
03/29/2022, 4:49 PMbitter-orange-16997
03/29/2022, 4:49 PMbitter-ability-32190
03/29/2022, 4:52 PMsetup.py
for one of those packages is prompting for info.bitter-ability-32190
03/29/2022, 4:53 PMbitter-orange-16997
03/29/2022, 4:53 PMbitter-orange-16997
03/29/2022, 4:53 PMgorgeous-eve-12553
03/29/2022, 5:01 PMgorgeous-eve-12553
03/29/2022, 5:06 PMbitter-orange-16997
03/29/2022, 6:03 PMbitter-orange-16997
03/29/2022, 6:04 PM-i <http://some-index.com/simple>
foo-package
happy-kitchen-89482
03/29/2022, 8:07 PMhigh-yak-85899
03/29/2022, 11:00 PMupdate-build-files
formatting? I'm using yapf, but I'm not really crazy about what the defaults do. Here's a good example
python_sources(
overrides={"cloud_storage.py": {
"dependencies": ["//:reqs#boto3"]
}})
high-yak-85899
03/30/2022, 12:16 AMbuildifier
as the default formatter. buildifier
is very rigid so I can't customize it to be like yapf
. I also can't associate BUILD.pants files with the Python language because vscode will start complaining about a bunch of errors with the language server running on it. Any recommendations from people who may have experienced similar?freezing-area-97131
03/30/2022, 12:16 AMimportlib-metadata==2.1.3
in requirement.txt but it still failed. Not sure what’s the correct way to pin the version.high-yak-85899
03/30/2022, 1:51 AMpytest.ini
are sometimes getting ignored by pants and pants is complaining that the markers aren't defined. Not sure how best to reproduce at the moment. I just did a whole run pointing to the problem test with ./pants --no-local-cache path/to/my/marked_test.py
and pytest didn't complain. However, on our build system, I've noticed a few times now where it does complain about the marker being undefined.happy-kitchen-89482
03/30/2022, 1:54 AMhappy-kitchen-89482
03/30/2022, 1:54 AM