jolly-midnight-72759
02/17/2021, 8:49 PMException message: Could not satisfy all requirements for pantsbuild.pants==1.25.0:
pantsbuild.pants==1.25.0(from: pantsbuild.pants.contrib.python.checks==1.25.0)
jolly-midnight-72759
02/17/2021, 8:50 PMlibffi
installed.hundreds-father-404
02/17/2021, 8:52 PMjolly-midnight-72759
02/17/2021, 8:52 PMjolly-midnight-72759
02/17/2021, 8:53 PMjolly-midnight-72759
02/17/2021, 8:53 PMhundreds-father-404
02/17/2021, 8:54 PMjolly-midnight-72759
02/17/2021, 8:56 PMhundreds-father-404
02/17/2021, 8:57 PMjolly-midnight-72759
02/18/2021, 3:41 PMchecks
plugin for Big Sur users and this seems to workhundreds-father-404
02/18/2021, 3:44 PMpants.backend.python.lint.flake8
under backend_packages2
, which is a substantially improved version of that checks
plugin. I definitely recommend using that instead
https://github.com/pantsbuild/flake8-pantsbuild#migrating-from-lintpythonstyle-to-flake8jolly-midnight-72759
02/18/2021, 3:47 PMjolly-midnight-72759
02/18/2021, 3:48 PMjolly-midnight-72759
02/18/2021, 3:48 PMpants.bigsur.ini
file with all the plugin: []
and pycheck
out, it seems to be inheriting from the main pants.ini
jolly-midnight-72759
02/18/2021, 3:49 PMchecks
command?hundreds-father-404
02/18/2021, 3:49 PMhundreds-father-404
02/18/2021, 3:49 PMHow can I prevent it from loading the checks command?I'm not following, what do you mean?
jolly-midnight-72759
02/18/2021, 3:50 PM${BUILDROOT}/pants.orig --pants-config-files=${BUILDROOT}/pants.bigsur.ini
jolly-midnight-72759
02/18/2021, 3:51 PMpants.bigsur.ini
is a copy of our pants.ini
but with
32 │ plugins: [
33 │ "pantsbuild.pants.contrib.python.checks==%(pants_version)s",
34 │ ]
removed. I also removed [pycheck-indentation]
and other pycheck
configs.hundreds-father-404
02/18/2021, 3:51 PM./pants --pants-config-files='["pants.bigsur.ini"]
because this is a list option so right now you're appending to the listjolly-midnight-72759
02/18/2021, 3:52 PMhundreds-father-404
02/18/2021, 3:52 PMPANTS_CONFIG_FILES='["pants.bigsur.ini"]
. Maybe check out envrc to auto-load thatjolly-midnight-72759
02/18/2021, 3:52 PMjolly-midnight-72759
02/18/2021, 3:52 PMjolly-midnight-72759
02/18/2021, 3:52 PMjolly-midnight-72759
02/18/2021, 4:54 PM