diff --git a/py3-annotated-types.yaml b/py3-annotated-types.yaml index 1dd36479104..fa77f33f4ef 100644 --- a/py3-annotated-types.yaml +++ b/py3-annotated-types.yaml @@ -2,14 +2,23 @@ package: name: py3-annotated-types version: 0.7.0 - epoch: 0 + epoch: 1 description: Reusable constraint types to use with typing.Annotated copyright: - license: MIT dependencies: - runtime: - - py3-typing-extensions - - python3 + provider-priority: 0 + +vars: + pypi-package: annotated-types + module-name: annotated_types + +data: + - name: py-versions + items: + 3.10: "310" + 3.11: "311" + 3.12: "312" environment: contents: @@ -17,10 +26,13 @@ environment: - build-base - busybox - ca-certificates-bundle - - py3-build - - py3-installer - - py3-setuptools - - python3 + - py3-supported-build + - py3-supported-hatchling + - py3-supported-installer + - py3-supported-pip + - py3-supported-python + - py3-supported-setuptools + - py3-supported-wheel - wolfi-base environment: # This is needed to work around the error "ValueError: ZIP does not support timestamps before 1980" @@ -33,13 +45,27 @@ pipeline: tag: v${{package.version}} expected-commit: 0735cd3d4c272b88405b6b04009716b691115210 - - name: Python Build - runs: python -m build - - - name: Python Install - runs: python -m installer -d "${{targets.destdir}}/" dist/*.whl - - - uses: strip +subpackages: + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}} + description: ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + runtime: + - py${{range.key}}-typing-extensions + provides: + - py3-${{vars.pypi-package}} + provider-priority: ${{range.value}} + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + import: ${{vars.module-name}} update: enabled: true