quiet-ice-72984
11/10/2017, 12:49 AMpython-repos.indicies
from hard-coded (on pants 1.2.1). I tried migrate-config but it threw a bunch of errors, investigating those now. Also it works fine on osx but not ubuntu trusty, if that helps.enough-analyst-54434
11/10/2017, 3:46 PMjsirois@gill ~/dev/pantsbuild/pants (1.2.x) $ ./pants options --scope=python-repos
python-repos.indexes = ['<https://pypi.python.org/simple/>'] (from HARDCODED)
python-repos.repos = [] (from HARDCODED)
Your description (builds on OSX, not Ubuntu) implies the python_binary
target(s) you're building are not multi-platform; ie: you are not trying to build a single pex that can run on both mac and linux. Can you confirm these details?flaky-twilight-29457
11/10/2017, 6:54 PMwitty-crayon-22786
11/10/2017, 6:56 PMwitty-crayon-22786
11/10/2017, 6:57 PMflaky-twilight-29457
11/10/2017, 6:58 PMblue-fish-35856
11/10/2017, 7:10 PMwide-energy-11069
11/10/2017, 7:36 PMblue-fish-35856
11/10/2017, 7:40 PMblue-fish-35856
11/10/2017, 7:41 PMwide-energy-11069
11/10/2017, 7:52 PMastonishing-jelly-60479
11/10/2017, 8:17 PMwide-energy-11069
11/10/2017, 8:35 PM# ./pants -q buildozer --command='print kind' //examples/tests/java/org/pantsbuild/example/useantlr:antlr3_test
junit_tests
wide-energy-11069
11/10/2017, 8:36 PMwide-energy-11069
11/10/2017, 8:36 PMastonishing-jelly-60479
11/10/2017, 8:36 PMastonishing-jelly-60479
11/10/2017, 8:36 PMwide-energy-11069
11/10/2017, 8:36 PMwide-energy-11069
11/10/2017, 8:37 PM# ./pants -q buildozer --command='print rule' //examples/tests/java/org/pantsbuild/example/useantlr:antlr3_test
junit_tests(
name = "antlr3_test",
sources = ["Antlr3Test.java"],
dependencies = [
"3rdparty:junit",
"examples/src/java/org/pantsbuild/example/antlr3",
],
strict_deps = False,
)
wide-energy-11069
11/10/2017, 8:37 PMwide-energy-11069
11/10/2017, 8:39 PMblue-fish-35856
11/10/2017, 9:01 PMwide-energy-11069
11/10/2017, 9:03 PMenough-analyst-54434
11/10/2017, 9:54 PMdeploy_jar_rules
. The BUILD dictionary has some info on this: https://www.pantsbuild.org/build_dictionary.html
Can you confirm that your problem centers around "deploy jars", ie: the product of ./pants binary ...
blue-fish-35856
11/10/2017, 10:04 PMrun
and binary
commands.enough-analyst-54434
11/10/2017, 10:05 PMblue-fish-35856
11/10/2017, 10:06 PMdeploy_jar_rules
thanks for the help!enough-analyst-54434
11/10/2017, 10:20 PMenough-analyst-54434
11/10/2017, 10:21 PMDuplicate.SKIP
which favors your file over those in dependency jars.witty-crayon-22786
11/10/2017, 11:53 PM