Skip to content

Commit 79b98fa

Browse files
rickeylevjanwinkler1
authored andcommitted
replace version marker, remove allow_single_file=True
1 parent 9a43def commit 79b98fa

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

python/private/pypi/extension.bzl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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.
499498
When specified, reads the `requires-python` field from pyproject.toml and uses
@@ -503,7 +502,7 @@ explicitly specify one.
503502
The version must be specified as `==X.Y.Z` (exact version with full semver).
504503
This 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
693692
If an interpreter isn't explicitly provided (using `python_interpreter` or
694693
`python_interpreter_target`), then the version specified here must have
695694
a 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(

0 commit comments

Comments
 (0)