clean-night-52582
11/17/2020, 8:39 PM2.1.0
will be stable? I'm looking to upgrade to pick up some changes.wooden-thailand-8386
11/17/2020, 10:03 PMpackage
and run
are working fine so I’m assuming and hoping that I still get that sweet --changed-dependees=transitive
out of the box too…
2. This one I’m not sure if I’m tripping or not but I have an internal ML lib with classifiers, featurizers and all that # current one
libraries/
ml_stuff/
__init__
BUILD
preprocessing/
__init__
BUILD
classifiers/
...
# new one
libraries/
ml_stuff_preprocessing/
ml_stuff_classifiers/
• Or… pants
can get those specific inside packages in case I only need.. ml_stuff.preprocessing
? And if that requires Tensorflow it would get it, otherwise it wouldnt (?)user
11/17/2020, 10:52 PMjolly-midnight-72759
11/18/2020, 4:24 PMCPython<3,<4,>=2.7.17,>=3.6.8 OR CPython<3,<4,>=2.7.17,>=3.6.8,>=3.6.9'
. Doesn't 2.7.17 satisfies this constraint?helpful-lunch-92084
11/18/2020, 6:12 PMwitty-crayon-22786
11/18/2020, 10:26 PMflat-zoo-31952
11/18/2020, 11:09 PMrequirements.txt
, that causes nearly all targets in my repo to be counted as an affected transitive dependency in ./pants --changed-since= --changed-dependees=transitive *
commands. I suspect the target list is all targets that are using dependency inference, but i haven't confirmed this yet. Is this behavior expected? It seems like all dependnecy inference targets are depending on requirements.txt
as a whole, which is bad because it means any change in requirements will trigger tests and rebuilds of everything in the reposalmon-barista-63163
11/19/2020, 4:37 PMlimited-insurance-37393
11/19/2020, 8:38 PMlimited-insurance-37393
11/19/2020, 8:40 PM./pants dependencies --dependencies-type=source-and-3rdparty src/ol_data_pipelines/edx/
it only shows the source files in that directory but not any of the lib files or third party packages that are being used.cuddly-egg-75110
11/19/2020, 9:49 PM./pants lint ::
or ./pants repl ::
I get a ModuleNotFoundError: No module named 'pex.bin'
, has anyone seen this before? Google isn't giving me any hints. Full stack-trace in thread, thanks for the help and the awesome product!jolly-midnight-72759
11/20/2020, 2:10 AMblack
on BUILD
files to help make them more consistent. Is there a way to use ./pants fmt
to do this for me? Our black
config file already includes the filename pattern, but I suspect ./pants
is not passing the files to black
for formatting.refined-dusk-58376
11/22/2020, 5:04 PMrefined-dusk-58376
11/22/2020, 5:05 PMlimited-insurance-37393
11/23/2020, 8:25 PM./pants dependencies --type=source-and-3rdparty src/mitol-django-mail:mail
src/mitol-django-mail/manage.py:mail
The repository and branch is at https://github.com/mitodl/ol-django/tree/putting_on_pantshappy-fish-67882
11/23/2020, 11:49 PMbash -n
<scriptname> ?
Also, any way I can do more tests like validate output of running flags for the script on the command line?happy-fish-67882
11/23/2020, 11:51 PMhelpful-lunch-92084
11/24/2020, 3:40 PMos.write(self.fileno, b'\x1b[?1l')
OSError: [Errno 9] Bad file descriptor
If you suspect this is an IPython bug, please report it at:
<https://github.com/ipython/ipython/issues>
or send an email to the mailing list at <mailto:ipython-dev@python.org|ipython-dev@python.org>
@jolly-midnight-72759 told me to pass --no-pantsd
to avoid this and pointed me to the ticket here: https://github.com/pantsbuild/pants/issues/9939
just thought i’d mention that this happens on a pants run and not just a pants repl. but it makes sense since it’s a general issue relating to ttys and pantsd it seemsloud-stone-83419
11/24/2020, 5:48 PM16:41:08 [DEBUG] pants.engine.internals.scheduler:pid=68013: computed 1 nodes in 0.000809 seconds. there are 374 total nodes.
Executing tasks in goals: bootstrap -> lint16:41:08 [DEBUG] pants.process.lock:pid=68013: acquiring lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x1105a1c10>
11:41:08 00:01 [bootstrap]
11:41:08 00:01 [substitute-aliased-targets]
expanding //:platform
11:41:08 00:01 [jar-dependency-management]16:41:08 [DEBUG] pants.java.distribution.distribution:pid=68013: Located Distribution('/Users/nicolasjoseph/.sdkman/candidates/java/current/bin', minimum_version=None, maximum_version=None jdk=True) for constraints: minimum_version None, maximum_version None, jdk True
11:41:08 00:01 [bootstrap-jvm-tools]
11:41:08 00:01 [provide-tools-jar]
11:41:08 00:01 [lint]
11:41:08 00:01 [scalafix]
11:41:08 00:01 [scalafmt]
11:41:08 00:01 [scalastyle]
11:41:08 00:01 [checkstyle]
11:41:08 00:01 [jvm-dep-check]16:41:08 [DEBUG] pants.process.lock:pid=68013: releasing lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x1105a1c10>
Waiting for background workers to finish.
11:41:08 00:01 [complete]
SUCCESS
user
11/25/2020, 4:22 PMuser
11/25/2020, 4:22 PMrefined-dusk-58376
11/25/2020, 9:38 PMrefined-dusk-58376
11/26/2020, 4:17 AMsubprocess
to make it work.helpful-lunch-92084
11/30/2020, 6:02 PM12:59:32.16 [TRACE] Completed: Inferring Python dependencies.
12:59:32.16 [TRACE] Completed: Inferring dependencies on `__init__.py` files
12:59:32.16 [TRACE] Completed: Inferring dependencies on `__init__.py` files
12:59:32.16 [TRACE] Completed: Resolve direct dependencies
12:59:32.16 [TRACE] Completed: Resolve direct dependencies
12:59:32.16 [TRACE] Completed: pants.engine.internals.graph.resolve_unexpanded_targets
12:59:32.16 [TRACE] Completed: Inferring Python dependencies.
12:59:32.16 [TRACE] Completed: Inferring dependencies on `__init__.py` files
12:59:32.16 [TRACE] Completed: pants.engine.internals.graph.resolve_unexpanded_targets
12:59:32.16 [TRACE] Completed: Inferring Python dependencies.
12:59:32.16 [TRACE] Completed: Inferring dependencies on `__init__.py` files
12:59:32.16 [TRACE] Completed: Resolve direct dependencies
12:59:32.16 [TRACE] Completed: pants.engine.internals.graph.resolve_targets
12:59:32.16 [TRACE] Completed: pants.engine.internals.graph.resolve_targets
12:59:32.16 [TRACE] Completed: Resolve direct dependencies
12:59:32.16 [TRACE] Completed: pants.engine.internals.graph.resolve_unexpanded_targets
12:59:32.16 [TRACE] Completed: pants.engine.internals.graph.resolve_unexpanded_targets
12:59:32.16 [TRACE] Completed: pants.engine.internals.graph.resolve_targets
12:59:32.16 [TRACE] Completed: pants.engine.internals.graph.resolve_targets
I’m running pants -ltrace --no-pantsd test …
if there’s additional debug flags i can set to get more insight into what it’s doing let me knowsalmon-barista-63163
11/30/2020, 9:50 PM13:46:27.63 [INFO] Filesystem changed during run: retrying `@rule(pants.backend.python.goals.run_pex_binary.create_pex_binary_run_request)` in 500ms...
This breaks some functionality in my ci env and i need to shut it off.helpful-lunch-92084
11/30/2020, 9:54 PMFailed to resolve compatible distributions:
1: boto3==1.10.7 requires botocore<1.14.0,>=1.13.7 but botocore 1.19.25 was resolved
I think the target under question has a direct dep on PyAthena==1.10.0 which transitively has a dep on botocore>=1.5.52
and it seems that this unbounded dep is finding botocore 1.19.25 before resolving the bounded dep botocore<1.14.0,>=1.13.7
from boto3==1.10.7
Is there anyway to work around this?user
12/01/2020, 4:19 AMjolly-midnight-72759
12/01/2020, 5:24 PM[WARN] Ignoring resolve_all_constraints...
? We want to put the minimal number of items in our constraints file as possible but we don't want to innundate people with these warnings.acceptable-guitar-79854
12/01/2020, 6:12 PMglamorous-river-64734
12/01/2020, 9:02 PM