Sun, 08 Nov 2026 17:57:39 UTC Log in
Reusable constraint types to use with typing.Annotated 41.04 KB built 2026-10-17 06:50:00 GMT

Description

PEP-593 added typing.Annotated as a way of adding context-specific metadata to existing types, and specifies that Annotated[T, x] should be treated as T by any tool or library without special logic for x. This package provides metadata objects which can be used to represent common constraints such as upper and lower bounds on scalar values and collection sizes, a Predicate marker for runtime checks, and descriptions of how we intend these metadata to be interpreted. In some cases, we also note alternative representations which do not require this package.

Dependencies

13 total
Requires12
  • (python3dist(tomli) if python3-devel < 3.11)
  • pyproject-rpm-macros
  • python3-devel
  • python3-devel
  • python3dist(hatchling)
  • python3dist(packaging)
  • python3dist(pip) >= 19
  • python3dist(pytest)
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(DynamicBuildRequires) <= 4.15.0-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(RichDependencies) <= 4.12.0-1
Provides1
  • python3-annotated-types = 0.8.0-1.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots