Comments (2)
Ah, this error is likely coming from code that calls:
pants/src/rust/engine/options/src/config.rs
Lines 191 to 202 in 13ef2ec
which is
pants/src/rust/engine/options/src/config.rs
Lines 504 to 506 in 13ef2ec
That's an implementation that overrides the default implementation of OptionsSource::get_float
, and that default is what has the int fallback. That is, when reading a toml config file, there's no int fallback behaviour for floats.
Easy enough to add to f64::from_value
.
from pants.
That being the cause is reaffirmed by passing the option as an arg or an env var both working:
pants --pantsd-timeout-when-multiple-invocations=1 version
PANTS_PANTSD_TIMEOUT_WHEN_MULTIPLE_INVOCATIONS=1 pants version
from pants.
Related Issues (20)
- Support exporting downloaded external tools HOT 1
- method to align install_requires of python_distribution with locked depdencies
- scala reproducibility is broken somwhere between 2.14.2 to 2.20.2 HOT 1
- Hard native parser errors cause 2.22 to fail to start, ignores `native_option_validation=warning`
- Link to slack does not work HOT 4
- Using poetry as a build tool with python_distribution does not work HOT 3
- docker buildx bake support HOT 1
- pants 2.21: XML files for unit tests executed with pytest are no longer generated HOT 1
- poetry_requirement defined by relative path generates a lockfile with absolute path HOT 8
- pants fails to download golang module from private repo due to missing git binary HOT 2
- Better shell completions HOT 2
- Conflict between docformatter --check and --in-place options when using Pants HOT 5
- Cannot upgrade Pants from 2.19 due to `ModuleNotFoundError` for `pex`. HOT 1
- python.invalid_lockfile_behavior = "ignore" or "warn" does not ignore sha256 mismatches for stale dependencies HOT 4
- Conflicts between architecture of image present on system when building PEX with `docker_environment`
- Docker containers used by a docker_environment are not cleaned when using `--no-pantsd` HOT 1
- macOS 12 GitHub-hosted runners will stop working from 2024-12-03
- native options parser mismatch with quoted strings in env vars. HOT 3
- Consider using executable_search_path in go backend
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pants.