happy-kitchen-8948206/18/2022, 2:41 PM
bright-book-625606/18/2022, 3:44 PM
bright-book-625606/18/2022, 3:46 PM
happy-kitchen-8948206/18/2022, 6:40 PM
bright-book-625606/18/2022, 6:41 PM
proud-dentist-2284406/18/2022, 9:33 PM
. That gave me a way to re-implement the current Makefile's (ugly) dependency linting while I wait for
to be available. 😄
wide-midnight-7859806/19/2022, 2:27 AM
target, and my
goal gets the addresses:
- is there a request that will allow me to get all the other files in that target from those addresses? My current attempt feels yuckyish. Take all my addresses (from one or more
targets), get a single address per unique
, use `WrappedTarget`s and then using a
- feels like there must be a request somewhere which will take in a set of addresses and return unique targets (I originally thought this would be handled by
proud-dentist-2284406/19/2022, 7:05 AM
in the StackStorm repo... 😰 I've got the targets setup, a plugin to configure setup.py kwargs, and macros to reduce a bit more of the boilerplate. So far so good. But, I'm struggling with
for the `python_distribution`s. In the old/manual setup.py (that I want to avoid because of so much copy paste, including copies of
functions... ick), it just used
to get the single package in that directory. Do people often have to add dependencies to all of the sub directories? I keep getting
<some file or other that changes every time>. Is there a way to force pants to build incomplete wheels? I want to see what it has so far, but it seems I have to have all of the inter-dependent packages configured first.
NoOwnerError: No python_distribution target found to own
curved-television-656806/19/2022, 7:10 AM
proud-dentist-2284406/19/2022, 7:29 AM
curved-television-656806/19/2022, 7:46 AM
“”"Find the exported target that owns the given target (and therefore exports it).
The owner of T (i.e., the exported target in whose artifact T’s code is published) is:
1. An exported target that depends on T (or is T itself).
2. Is T’s closest filesystem ancestor among those satisfying 1.
If there are multiple such exported targets at the same degree of ancestry, the ownership
is ambiguous and an error is raised. If there is no exported target that depends on T
and is its ancestor, then there is no owner and an error is raised.
curved-television-656806/19/2022, 7:48 AM
curved-television-656806/19/2022, 7:49 AM
proud-dentist-2284406/19/2022, 7:57 AM
proud-dentist-2284406/19/2022, 7:59 AM
curved-television-656806/19/2022, 7:59 AM
damp-ocean-5092506/19/2022, 9:48 AM
docs but im still not quite sure i understand how to work with it.. I am referring to 3rd party dependencies, how are they being managed? should i manage a
file manually? or perhaps should i manage the contents of BUILD files manually? What im trying to solve is the dependencies hell in our monorepo, i have never worked with other build tools like pants before and i feel like im missing something in the dependencies front
happy-kitchen-8948206/19/2022, 4:17 PM
happy-kitchen-8948206/19/2022, 4:17 PM
proud-dentist-2284406/20/2022, 3:56 AM
happy-kitchen-8948206/20/2022, 9:01 AM
happy-kitchen-8948206/20/2022, 9:02 AM
glamorous-helicopter-6848006/20/2022, 10:14 AM
When will Python 3.10 be supported?
No valid Python interpreter found. For `pants_version = "2.11.0"`, Pants requires Python 3.7, 3.8, or 3.9 to run. Please check that a valid interpreter is installed and on your $PATH.
cool-printer-7443206/20/2022, 5:06 PM
to run the target named
bazel run :myapp
in the current directory's
file. It doesn't seem like that's possible with pants? I've only been able to successfully refer to targets with a fully-qualified name.
proud-dentist-2284406/20/2022, 8:39 PM
? https://python-packaging.readthedocs.io/en/latest/command-line-scripts.html#the-scripts-keyword-argument (scripts is not the same thing as entry_points as it can include bash scripts, or unimportable kebab-case python scripts) edit: moved from #plugins because this wasn't a plugin-development-related question
bitter-ability-3219006/20/2022, 9:09 PM
but for registry B we want to use
bitter-ability-3219006/20/2022, 9:10 PM
curved-television-656806/20/2022, 9:24 PM