wide-energy-11069
05/05/2022, 8:05 PMwide-energy-11069
05/05/2022, 8:06 PMhundreds-father-404
05/05/2022, 8:06 PMhundreds-father-404
05/05/2022, 8:07 PMUSE_PY39=true build-support/bin/release.sh publish
hundreds-father-404
05/05/2022, 8:07 PMwide-energy-11069
05/05/2022, 8:08 PM% MODE=debug USE_PY39=true build-support/bin/release.sh publish
[=== 00:00 Building native code... ===]
Compiling pyo3-build-config v0.16.4
Compiling pyo3-macros-backend v0.16.2
Compiling pyo3-ffi v0.16.2
Compiling pyo3 v0.16.2
Compiling engine v0.0.1 (/Users/yic/workspace/oss_pants/src/rust/engine)
Compiling pyo3-macros v0.16.2
Finished dev [unoptimized + debuginfo] target(s) in 12.84s
13:08:30.96 [INFO] Starting: Resolving plugins: hdrhistogram, toolchain.pants.plugin==0.18.0
hundreds-father-404
05/05/2022, 8:10 PMUSE_PY39=true build-support/bin/release.sh publish-apple-silicon
afterwide-energy-11069
05/05/2022, 9:02 PMwide-energy-11069
05/05/2022, 9:03 PMhundreds-father-404
05/05/2022, 9:05 PMwitty-crayon-22786
05/05/2022, 10:15 PMhappy-kitchen-89482
05/06/2022, 1:19 AMsetuptools_scm
(https://github.com/pypa/setuptools_scm) which is a utility that uses various heuristics to grab a version number out of git (it looks at latest tag+changes since the most recent tag). It is typically invoked in setup.py. It typically writes the version to a gitignored source file (e.g., _version.py
) in the source tree. Its configuration, including the destination file, lives in pyproject.toml. I'm trying to figure out how best to implement this in Pants. It's sort-of codegen, but note that there is no original source file, equivalent to a .proto, in this case. In fact, we have to run this codegen every time, and cannot cache it, because git state may have changed from under us.wide-energy-11069
05/06/2022, 2:31 AMwitty-crayon-22786
05/06/2022, 5:39 PM2.12.0a0
was https://github.com/pantsbuild/pants/issues/15315, which was a hiccup due to it being an a
release. so i think that we can cut 2.12.0rc0
today/by-mondaywitty-crayon-22786
05/06/2022, 5:40 PMhundreds-father-404
05/06/2022, 5:43 PMwitty-crayon-22786
05/06/2022, 5:53 PMwitty-crayon-22786
05/06/2022, 5:57 PMneeds-cherrypick
witty-crayon-22786
05/06/2022, 6:17 PM--build-patterns
and --build-ignore
into --build-globs
, using exactly the same (non-recursive by default) syntax as globs in general. i.e., it would default to ['**/BUILD', **/BUILD.*']
, and you could include inline negation there. that would mean one codepath, and one explanation of globs.witty-crayon-22786
05/06/2022, 8:40 PMhundreds-father-404
05/06/2022, 9:21 PMwitty-crayon-22786
05/06/2022, 9:22 PMwitty-crayon-22786
05/06/2022, 9:22 PMwitty-crayon-22786
05/06/2022, 9:22 PMhundreds-father-404
05/06/2022, 9:24 PMwitty-crayon-22786
05/06/2022, 9:25 PMbitter-ability-32190
05/07/2022, 1:14 AMproject/hello/main:cmds
I want to get possible targets it could generate (if any, otherwise I get itself back). I can't seem to figure out how from grokking the codefast-nail-55400
05/07/2022, 3:17 AMbitter-ability-32190
05/08/2022, 1:41 AMOutputPathField
. Unfortunately it's generic, so I don't have a value to plug into OutputPathField.value_or_default
.
Any objects to adding a mandatory field to PackageFieldSet
for the default_file_ending
? I'm guessing there's places this breaks down (like no OutputPath or multiple)?busy-vase-39202
05/09/2022, 4:52 PM