clever-crayon-70731
10/28/2022, 9:29 AMflat-zoo-31952
10/28/2022, 2:47 PM--changed-since
with actual listed targets in a single Pants command? Like I want the union of what the changed subsystem gives plus the things I specify. The changes subsystem doesn't seem to like this
❯ ./pants --changed-since=origin/main list tests/local/email/test_email.py
10:26:05.80 [ERROR] You used `--changed-since` at the same time as using file arguments. You can only use `--changed-since` or use normal arguments.
hundreds-father-404
10/28/2022, 3:05 PMhundreds-father-404
10/28/2022, 3:06 PMflat-zoo-31952
10/28/2022, 3:09 PMflat-zoo-31952
10/28/2022, 3:10 PMhundreds-father-404
10/28/2022, 3:12 PMflat-zoo-31952
10/28/2022, 3:13 PMsteep-waitress-53641
10/28/2022, 3:27 PMremote_auth_plugin
is not deprecated but is in fact now required to be removed. I'm running through the upgrade now on a bunch of reposproud-dentist-22844
10/28/2022, 5:00 PMA imports B
• A depends on B
• B is like the parent in the relationship
• A is like the child in the relationship (think: things in A can subclass or inherit from things in B)
• B is a dependency
of A
• A is a ___???___
of B
What word/noun in English could replace ___???___
?ripe-cpu-85141
10/28/2022, 5:55 PMripe-cpu-85141
10/28/2022, 7:02 PMhigh-yak-85899
10/28/2022, 7:08 PMpants_requirements(name="pants", resolve="pants-plugins")
in your build file under your plugin directory?ripe-cpu-85141
10/28/2022, 7:10 PMhigh-yak-85899
10/28/2022, 7:10 PMhigh-yak-85899
10/28/2022, 7:11 PMripe-cpu-85141
10/28/2022, 7:14 PMripe-cpu-85141
10/28/2022, 7:14 PMhundreds-father-404
10/28/2022, 7:36 PMripe-cpu-85141
10/28/2022, 7:37 PMhigh-yak-85899
10/28/2022, 7:38 PM# pants: no-infer-dep
or whatever it ishigh-yak-85899
10/28/2022, 7:38 PMpants.toml
to not warn about ithigh-yak-85899
10/28/2022, 7:39 PMhundreds-father-404
10/28/2022, 7:39 PM[python-infer].unowned_dependency_behavior = 'ignore'
I thinkhigh-yak-85899
10/28/2022, 7:40 PMripe-cpu-85141
10/28/2022, 7:46 PMripe-cpu-85141
10/28/2022, 7:46 PMripe-cpu-85141
10/28/2022, 7:49 PM[pytest].xdist_enabled = true
. I wonder if I should add pytest-xdist on [pytest].extra_requirements
(I guess yes given it is on the default value). And also I don't see much difference. The execution seems to set -n 1
on the pytest command line. But I have 2 cpus. Is it expected?steep-waitress-53641
10/28/2022, 8:06 PMbuild_ignore = ['\\{\\{ cookiecutter.__repo_name \\}\\}']
to build_ignore = ['\{\{ cookiecutter.__repo_name \}\}']
.
2. For sh tests that sourced the original sh file, I had to add the original sh file as an explicit dependency to the sh_tests section of the BUILD file. (ie if lib/foo_test.sh
has a line like source lib/foo.sh
I had to add :lib
to the shunit2_tests dependencies. I'm actually not sure how this worked previously, since I had a different repo where I had the explicit dependency, although that used source "$(dirname "${BASH_SOURCE[0]}")/foo.sh"
bumpy-spoon-55438
10/29/2022, 4:07 AMgo test
though