clean-morning-70173
10/15/2021, 10:32 PMclean-morning-70173
10/15/2021, 10:32 PMclean-morning-70173
10/15/2021, 10:33 PMclean-morning-70173
10/15/2021, 10:33 PMResolveError: "ppretty" was not found in namespace "src/python/3rdparty/python". Did you mean one of:
clean-morning-70173
10/15/2021, 10:34 PMclean-morning-70173
10/15/2021, 10:34 PMpython_library(
name='lib',
sources=['*.py'],
dependencies=[
'src/python/libwarp:lib',
'src/python/version:lib',
'src/python/3rdparty/python:flask',
'src/python/3rdparty/python:flask-restful',
'src/python/3rdparty/python:singleton-decorator',
'src/python/3rdparty/python:expiringdict',
'src/python/3rdparty/python:gevent',
'src/python/3rdparty/python:gevent-websocket',
'src/python/3rdparty/python:werkzeug',
'src/python/3rdparty/python:daemonize',
'src/python/3rdparty/python:tinydb',
'src/python/3rdparty/python:lz4',
'src/python/3rdparty/python:ppretty'
],
compatibility='CPython>=2.7,<3',
)
clean-morning-70173
10/15/2021, 10:34 PMhundreds-father-404
10/15/2021, 10:35 PMrequirements.txt
?clean-morning-70173
10/15/2021, 10:35 PMansicolors==1.0.2
mock==2.0.0
six>=1.11.0
munch>=2.3.0
pyyaml>=3.12
click>=6.7
fabric==1.14.0
paramiko==2.7.2
tzlocal==1.4
flask>=1.0.2
flask_restful>=0.3.6
singleton_decorator>=1.0.0
expiringdict>=1.1.4
requests==2.18.4
tabulate==0.8.2
gevent>=1.3.6
gevent-websocket>=0.10
werkzeug>=0.14
sshtunnel>=0.1.4
daemonize==2.4.6
progress==1.4
tinydb>=3.12.0
mypolr==1.3.10
PyQRCode==1.2.1
pypng==0.0.18
lz4==2.1.2
ppretty==1.3
clean-morning-70173
10/15/2021, 10:35 PMhundreds-father-404
10/15/2021, 10:35 PMclean-morning-70173
10/15/2021, 10:36 PMnpm install
and it would update... trying to find the "equivalent" if it's even neededhundreds-father-404
10/15/2021, 10:36 PM--no-pantsd
this time?clean-morning-70173
10/15/2021, 10:36 PMclean-morning-70173
10/15/2021, 10:37 PM./pants test.pytest --no-pantsd --test-pytest-fail-fast --test-pytest-level=debug src/python/libwarp:tests src/python/libwarp/helpers:tests src/python/warpdrive:tests
22:37:16 [ERROR] Unrecognized command line flag '--no-pantsd' on scope 'test.pytest'.
(Run `./pants help-advanced test.pytest` for all available options.)
(Use --print-exception-stacktrace to see more error details.)
clean-morning-70173
10/15/2021, 10:37 PMclean-morning-70173
10/15/2021, 10:38 PM./pants --version [Β±pants-update β bc53735 Add .cache as a direct]
1.30.1
hundreds-father-404
10/15/2021, 10:38 PM./pants --no-pantsd test.pytest --test-pytest-fail-fast --test-pytest-level=debug src/python/libwarp:tests src/python/libwarp/helpers:tests src/python/warpdrive:tests
hundreds-father-404
10/15/2021, 10:38 PM--no-pantsd
at the frontclean-morning-70173
10/15/2021, 10:38 PMclean-morning-70173
10/15/2021, 10:39 PMclean-morning-70173
10/15/2021, 10:39 PMpantsd
do?clean-morning-70173
10/15/2021, 10:40 PMhundreds-father-404
10/15/2021, 10:40 PM./pants test --option path/to:tgt
== ./pants test --test-option path/to:tgt
. So, your original command was thinking you meant the option --no-test-pantsd
, which doesn't exist)hundreds-father-404
10/15/2021, 10:43 PMGLOBAL
section in `pants.toml`:
# Work around for <https://github.com/pantsbuild/pants/issues/7022>
pantsd_invalidation_globs.add = ["**/requirements.txt"]
clean-morning-70173
10/15/2021, 10:43 PMclean-morning-70173
10/15/2021, 10:44 PMclean-morning-70173
10/15/2021, 10:44 PMhappy-kitchen-89482
10/15/2021, 10:44 PMclean-morning-70173
10/15/2021, 10:46 PMhundreds-father-404
10/15/2021, 10:48 PM