rapid-bird-79300
05/28/2021, 4:23 PMthread panicked while processing panic. aborting.
It seems to happen randomly and not sure how to reproduce. Has anyone seen this before? (using pants version 2.5.0
)curved-electrician-64177
05/28/2021, 8:19 PMpytest --junit-xml junit_test.xml test
How could I pass such option in Pants?curved-electrician-64177
05/28/2021, 11:34 PMcold-breakfast-93567
05/29/2021, 5:06 PMcold-breakfast-93567
05/29/2021, 5:06 PM./pants --version
successfully to get through bootstrapping.cold-breakfast-93567
05/29/2021, 5:07 PMpants_version: 1.15.0
with Python 2.7.cold-breakfast-93567
05/29/2021, 5:08 PMcold-breakfast-93567
05/29/2021, 5:09 PMpip
attempting to install psutil==5.4.8
cold-breakfast-93567
05/29/2021, 5:09 PMpsutil/_psutil_osx.c
cold-breakfast-93567
05/29/2021, 5:10 PMpsutil==5.4.8
in my virtualenv separately.cold-breakfast-93567
05/29/2021, 5:11 PMpip install pantsbuild.pants==1.15.0
successfully into my virtual env.cold-breakfast-93567
05/29/2021, 5:12 PM./pants --version
the bootstrapping still kicks in and start installing the packages again including the broken psutil==5.4.8
cold-breakfast-93567
05/29/2021, 5:12 PMpants
.cold-breakfast-93567
05/29/2021, 5:22 PMproud-dentist-22844
05/31/2021, 3:44 PMA
with subdirectories B
, C
, D
(and many others), I want to create a target()
that encompasses the :metadata
targets in all subdirectories (so ./B:metadata
, ./C:metadata
, ./D:metadata
and every other subdirectory). Can I use globs to create dependencies?
I've tried several glob variations, none of which seem to do what I'm looking for: **:metadata
./**:metadata
*:metadata
./*:metadata
...cold-breakfast-93567
06/01/2021, 8:28 PMpants_version: 1.15.0
(I know that this is fairly outdated, but can't upgrade right now) and looking into a weird error:
**** Failed to install setuptools-40.4.3 (caused by: NonZeroExit("received exit code 1 during execution of `['/Users/rormandi/.pyenv/shims/python3.9', '-', 'bdist_egg', '--dist-dir=/var/folders/f6/msrc3w_903vb9clkzfzhnrnh0000gq/T/tmpw5xr2p']` while trying to execute `['/Users/rormandi/.pyenv/shims/python3.9', '-', 'bdist_egg', '--dist-dir=/var/folders/f6/msrc3w_903vb9clkzfzhnrnh0000gq/T/tmpw5xr2p']`",)
regarding my Python environment which is 2.7.18
cold-breakfast-93567
06/01/2021, 8:29 PM--python-setup-interpreter-constraints='==2.7.*'
cold-breakfast-93567
06/01/2021, 8:29 PM./pants clean-all
before the build.cold-breakfast-93567
06/01/2021, 8:30 PMpythhon39
is being picked up even after being super explicit about the version of the python repl?proud-dentist-22844
06/02/2021, 4:36 AM../configs/<current_dir_name>.yaml
?
When I try I'm getting errors like:
InvalidSpecPath: Address spec has un-normalized path part '../configs/dummy_pack_1.yaml'
or
InvalidSpecPath: Address spec has un-normalized path part 'st2tests/st2tests/fixtures/packs/dummy_pack_1/../configs/dummy_pack_1.yaml'
proud-dentist-22844
06/02/2021, 5:24 AMgit worktree
.
For other directories with similar contents, I can just import something (typically a PATH var to that directory generated with an test infra function). But if I do that across the git submodule boundary, python will fail to import if the git submodule isn't checked out, and pants will complain about any dependencies on that empty directory.
(more in the thread)some-psychiatrist-96135
06/02/2021, 6:34 PMproud-dentist-22844
06/03/2021, 3:02 AMcontrib/core
primarily has files+code (in a StackStorm pack) that gets installed with StackStorm itself.
But, it is also distributed as part of the st2tests
module which provides general purpose test fixtures for use in the StackStorm ecosystem.
There are a couple of issues with the symlink. The first of which was disambiguating a dependency which was simple enough:
https://github.com/st2sandbox/st2/blob/pants/contrib/core/tests/BUILD#L3
The next couple of issues are intertwined:
• For all the other fixtures, I used a python import so that pants could infer the dependency from test to fixture. But that get's a little odd with the symlinked code living in two places.
• contrib/core
is a source root (identified by a [source].marker_filenames
file), but st2tests/fixtures/packs/core
should not be a source root.
Please help me think through what to do about this. I'm not even sure what questions to ask. Any thoughts?jolly-midnight-72759
06/03/2021, 4:26 PM.pex/install
and .pex/code
. A new pex I am trying to deploy is failing on not being able to find something on a path that includes .pex/installed_wheels/
. The only recent change I can think of is we recently updated to v2.2.3
of pants.full-intern-53951
06/07/2021, 10:19 AMproud-dentist-22844
06/08/2021, 4:45 PM--no-pantsd
I get colorized output (WARN or ERROR are red). But when running via pantsd
I don't. Shouldn't it detect that I definitely have a TTY? (using 2.6.0.dev1
)cold-breakfast-93567
06/08/2021, 6:22 PMpants 1.1.15
setup when I try to build one of my python target I'm getting the following error:
...
File "/Users/rormandi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pex/resolver.py", line 506, in resolve
return resolver.resolve(resolvables_from_iterable(requirements, builder))
File "/Users/rormandi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pex/resolver.py", line 288, in resolve
resolvable_set.merge(resolvable, packages, parent)
File "/Users/rormandi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pex/resolver.py", line 131, in merge
self._check()
File "/Users/rormandi/.cache/pants/setup/bootstrap-Darwin-x86_64/1.15.0/lib/python2.7/site-packages/pex/resolver.py", line 123, in _check
self._synthesize_parents(name)
Exception message: Could not satisfy all requirements for pyarrow==0.8.0:
pyarrow==0.8.0
cold-breakfast-93567
06/08/2021, 6:22 PMcold-breakfast-93567
06/08/2021, 6:22 PMcold-breakfast-93567
06/08/2021, 6:23 PMpyarrow-0.8.0-cp27-cp27m-macosx_10_6_intel.whl