billowy-motherboard-58443
09/21/2020, 4:03 PM./pants dependencies --transitive gh/config
(screw it, tired of substituting 'ns' for 'gh')aloof-angle-91616
09/21/2020, 4:03 PMbillowy-motherboard-58443
09/21/2020, 4:03 PM16:02:27 [ERROR] 1 Exception encountered:
Exception: Dependency graph contained a cycle:
Task(pants.engine.internals.graph:125:transitive_target(), (OptionsBootstrapper(args=['--pants-bin-name=./pants', 'dependencies', '--transitive', 'gh/config'], env={}, config=ChainedConfig(['/src/gh-pants-test/pants.toml'])), gh/config:config), TransitiveTarget, true) <-
Task(pants.engine.internals.graph:125:transitive_target(), (OptionsBootstrapper(args=['--pants-bin-name=./pants', 'dependencies', '--transitive', 'gh/config'], env={}, config=ChainedConfig(['/src/gh-pants-test/pants.toml'])), gh/util:util), TransitiveTarget, true)
Task(pants.engine.internals.graph:125:transitive_target(), (OptionsBootstrapper(args=['--pants-bin-name=./pants', 'dependencies', '--transitive', 'gh/config'], env={}, config=ChainedConfig(['/src/gh-pants-test/pants.toml'])), gh/config:config), TransitiveTarget, true) <-
billowy-motherboard-58443
09/21/2020, 4:03 PMaloof-angle-91616
09/21/2020, 4:04 PMgh/util:util
is in both the dependencies
and dependees
of gh/config:config
then?billowy-motherboard-58443
09/21/2020, 4:06 PMbillowy-motherboard-58443
09/21/2020, 4:06 PMbillowy-motherboard-58443
09/21/2020, 4:07 PMbillowy-motherboard-58443
09/21/2020, 4:08 PMgit grep 'from gh.config' gh/util/
gh/util/tests/test_object_input.py:from gh.config.fig import ConfigEntry
$ git grep 'from gh.util' gh/config
gh/config/fig.py:from gh.util.date import UtcDateTimeConverter
gh/config/fig_client/adapter.py:from gh.util import to_boolean
wooden-thailand-8386
09/22/2020, 6:41 PM============== test session starts ===============
platform darwin -- Python 3.7.8, pytest-5.3.5, py-1.9.0, pluggy-0.13.1
cachedir: .pants.d/test/pytest/.pytest_cache
rootdir: /Users/lzfnyy/Projects/clueless, inifile: /dev/null
plugins: cov-2.8.1, sanic-1.6.1, timeout-1.3.4
narrow-activity-17405
09/23/2020, 7:34 AMdamp-address-92963
09/23/2020, 3:00 PMdamp-address-92963
09/23/2020, 3:02 PMwooden-thailand-8386
09/23/2020, 10:04 PMfiles
and `resources`… I have a file that I sort of expected to live at the “root” of my temp pants folder but when I check under .pants.d/pyprep….
it actually creates the full path… I mean I can change how I load the file but I thought files
would put it as a loose file with the rest of the test files and resources
would keep the whole pathhappy-kitchen-89482
09/24/2020, 1:16 AMfull-oyster-41619
09/24/2020, 1:37 PMclean-night-52582
09/24/2020, 2:39 PM1.30.0
and things started to break this morning after the release of 1.30.1
since it was trying to pull that version. I’m using pants_version = '1.30.0'
to set the version but it appears to be pulling 1.30.1
instead. Is there a better way to pin the version?clean-night-52582
09/24/2020, 2:50 PM./pants
when I updated to pants.toml
clean-night-52582
09/24/2020, 2:50 PMflat-zoo-31952
09/24/2020, 3:43 PMbillowy-motherboard-58443
09/24/2020, 5:08 PMbillowy-motherboard-58443
09/24/2020, 5:08 PMbillowy-motherboard-58443
09/24/2020, 5:09 PMpython_distribution.provides.version
... is it true that the ONLY thing which cares about this is when you do setup-py
an actually build an artifact?billowy-motherboard-58443
09/24/2020, 5:10 PMwooden-thailand-8386
09/24/2020, 6:03 PM.ci
folder and I can’t get it to show up when I run list
or any other goal. I have this bad feeling that if it’s a hidden folder pants ignores it but just checking here first.wooden-thailand-8386
09/24/2020, 6:28 PMpex.executor.ExecutableNotFound: caught OSError(2, 'No such file or directory') while trying to execute `[u'/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.7/bin/python3',
polite-vase-75369
09/25/2020, 2:56 PMhappy-kitchen-89482
09/28/2020, 4:01 PMgorgeous-eve-12553
09/28/2020, 9:29 PMfull-oyster-41619
09/29/2020, 11:38 AMsetup-py
goal with --version
arguments? similar to
$ python dist/my-lib-name/setup.py --version
1.0.0
I have tried the following, but it does not show any output
$ ./pants setup-py my-lib-path:my-lib-name -- "--version"
11:37:22.85 [INFO] Writing dist for my-lib-path:my-lib-name under dist/.
Seems that somehow, pants "hides" the output
Is there any other way I can view the version of a python_library/python_dist/python_binary?