diff --git a/py3-typing-inspection.yaml b/py3-typing-inspection.yaml new file mode 100644 index 00000000000..3f1cf52ced6 --- /dev/null +++ b/py3-typing-inspection.yaml @@ -0,0 +1,81 @@ +package: + name: py3-typing-inspection + version: 0.4.0 + epoch: 0 + description: Runtime typing introspection tools + copyright: + - license: MIT + dependencies: + provider-priority: 0 + +vars: + pypi-package: typing-inspection + import: typing_inspection + +data: + - name: py-versions + items: + 3.10: "310" + 3.11: "311" + 3.12: "312" + 3.13: "313" + +environment: + contents: + packages: + - py3-supported-build-base-dev + - py3-supported-hatch + - py3-supported-hatch-vcs + - py3-supported-hatchling + +pipeline: + - uses: git-checkout + with: + expected-commit: 34ce565809b97af7782144b88092a197a05a274d + repository: https://github.com/pydantic/typing-inspection + tag: v${{package.version}} + +subpackages: + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}} + description: python${{range.key}} version of ${{vars.pypi-package}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} + + - name: py3-supported-${{vars.pypi-package}} + description: meta package providing ${{vars.pypi-package}} for supported python versions. + dependencies: + runtime: + - py3.10-${{vars.pypi-package}} + - py3.11-${{vars.pypi-package}} + - py3.12-${{vars.pypi-package}} + - py3.13-${{vars.pypi-package}} + +test: + pipeline: + - uses: python/import + with: + imports: | + import ${{vars.import}} + +update: + enabled: true + github: + identifier: pydantic/typing-inspection + use-tag: true + strip-prefix: v