File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -493,7 +493,6 @@ If you are defining custom platforms in your project and don't want things to cl
493493 ),
494494 "pyproject_toml" : attr .label (
495495 mandatory = False ,
496- allow_single_file = True ,
497496 doc = """\
498497 Label pointing to pyproject.toml file to read the default Python version from.
499498When specified, reads the `requires-python` field from pyproject.toml and uses
@@ -503,7 +502,7 @@ explicitly specify one.
503502The version must be specified as `==X.Y.Z` (exact version with full semver).
504503This is designed to work with dependency management tools like Renovate.
505504
506- :::{versionadded} 1.8.0
505+ :::{versionadded} VERSION_NEXT_FEATURE
507506:::
508507""" ,
509508 ),
@@ -693,6 +692,10 @@ The Python version the dependencies are targetting, in Major.Minor format
693692If an interpreter isn't explicitly provided (using `python_interpreter` or
694693`python_interpreter_target`), then the version specified here must have
695694a corresponding `python.toolchain()` configured.
695+
696+ :::{seealso}
697+ The {obj}`pyproject_toml` attribute for getting the version from a project file.
698+ :::
696699""" ,
697700 ),
698701 "simpleapi_skip" : attr .string_list (
You can’t perform that action at this time.
0 commit comments