diff --git a/py3-antlr4-python3-runtime.yaml b/py3-antlr4-python3-runtime.yaml index 0ff242e0d7..ffa7a339b7 100644 --- a/py3-antlr4-python3-runtime.yaml +++ b/py3-antlr4-python3-runtime.yaml @@ -1,23 +1,31 @@ package: name: py3-antlr4-python3-runtime version: 4.13.2 - epoch: 1 + epoch: 2 description: ANTLR runtime for Python 3 copyright: - license: BSD-3-Clause + dependencies: + provider-priority: 0 + +vars: + pypi-package: antlr4-python3-runtime + import: antlr4 + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - py3-gpep517 - - py3-pip - - py3-setuptools - - py3-wheel - - python3 - - wolfi-base + - py3-supported-build-base + - py3-supported-gpep517 + - py3-supported-pip pipeline: - uses: git-checkout @@ -26,13 +34,77 @@ pipeline: repository: https://github.com/antlr/antlr4 tag: ${{package.version}} - - uses: py/pip-build-install - working-directory: runtime/Python3 +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}} + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + working-directory: runtime/Python3 + - name: move usr/bin executables for -bin + runs: | + mkdir -p ./cleanup/${{range.key}}/ + mv ${{targets.contextdir}}/usr/bin ./cleanup/${{range.key}}/ + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} + + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}}-bin + description: Executable binaries for ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + - py3-${{vars.pypi-package}}-bin + runtime: + - py${{range.key}}-${{vars.pypi-package}} + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/usr/ + mv ./cleanup/${{range.key}}/bin ${{targets.contextdir}}/usr/ + test: + environment: + contents: + packages: + - apk-tools + pipeline: + - runs: | + apk info -L py${{range.key}}-${{vars.pypi-package}}-bin > "pkg.list" + echo "Please write a test for these:" + grep usr/bin/ pkg.list > bins.list + sed 's,^,> ,' bins.list + + while read line; do + echo == /$line == + /$line --help || : + done < bins.list - - uses: strip + - 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}} - uses: python/import with: imports: | diff --git a/py3-archspec.yaml b/py3-archspec.yaml index 519a64775c..c05df3cdf5 100644 --- a/py3-archspec.yaml +++ b/py3-archspec.yaml @@ -1,19 +1,30 @@ -# Generated from https://pypi.org/project/archspec/ package: name: py3-archspec version: 0.2.4 - epoch: 1 + epoch: 2 description: A library to query system architecture copyright: - license: Apache-2.0 OR MIT + dependencies: + provider-priority: 0 + +vars: + pypi-package: archspec + import: archspec + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - wolfi-base + - py3-supported-build-base + - py3-supported-poetry pipeline: - uses: git-checkout @@ -23,20 +34,83 @@ pipeline: tag: v${{package.version}} recurse-submodules: true - - name: Python Build - uses: python/build-wheel +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}} + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - name: move usr/bin executables for -bin + runs: | + mkdir -p ./cleanup/${{range.key}}/ + mv ${{targets.contextdir}}/usr/bin ./cleanup/${{range.key}}/ + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} - - uses: strip + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}}-bin + description: Executable binaries for ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + - py3-${{vars.pypi-package}}-bin + runtime: + - py${{range.key}}-${{vars.pypi-package}} + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/usr/ + mv ./cleanup/${{range.key}}/bin ${{targets.contextdir}}/usr/ + test: + environment: + contents: + packages: + - apk-tools + pipeline: + - runs: | + apk info -L py${{range.key}}-${{vars.pypi-package}}-bin > "pkg.list" + echo "Please write a test for these:" + grep usr/bin/ pkg.list > bins.list + sed 's,^,> ,' bins.list -update: - enabled: true - github: - identifier: archspec/archspec - strip-prefix: v + while read line; do + echo == /$line == + /$line --help || : + done < bins.list + + - 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}} - runs: | archspec --version archspec cpu archspec --help + +update: + enabled: true + github: + identifier: archspec/archspec + strip-prefix: v diff --git a/py3-argcomplete.yaml b/py3-argcomplete.yaml index 651d0e431b..5b3c6d458a 100644 --- a/py3-argcomplete.yaml +++ b/py3-argcomplete.yaml @@ -1,18 +1,29 @@ package: name: py3-argcomplete version: 3.5.1 - epoch: 0 + epoch: 1 description: Bash/zsh tab completion for argparse copyright: - license: Apache-2.0 + dependencies: + provider-priority: 0 + +vars: + pypi-package: argcomplete + import: argcomplete + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -21,28 +32,81 @@ pipeline: repository: https://github.com/kislyuk/argcomplete tag: v${{package.version}} - - name: Python Build - uses: python/build-wheel +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}} + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - name: move usr/bin executables for -bin + runs: | + mkdir -p ./cleanup/${{range.key}}/ + mv ${{targets.contextdir}}/usr/bin ./cleanup/${{range.key}}/ + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} - - uses: strip + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}}-bin + description: Executable binaries for ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + - py3-${{vars.pypi-package}}-bin + runtime: + - py${{range.key}}-${{vars.pypi-package}} + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/usr/ + mv ./cleanup/${{range.key}}/bin ${{targets.contextdir}}/usr/ + test: + environment: + contents: + packages: + - apk-tools + pipeline: + - runs: | + apk info -L py${{range.key}}-${{vars.pypi-package}}-bin > "pkg.list" + echo "Please write a test for these:" + grep usr/bin/ pkg.list > bins.list + sed 's,^,> ,' bins.list -update: - enabled: true - github: - identifier: kislyuk/argcomplete - strip-prefix: v + while read line; do + echo == /$line == + /$line --help || : + done < bins.list + + - 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: - environment: - contents: - packages: - - busybox pipeline: - uses: python/import with: - import: argcomplete - runs: | - activate-global-python-argcomplete --help - register-python-argcomplete version + imports: | + import ${{vars.import}} - runs: | register-python-argcomplete --help + +update: + enabled: true + github: + identifier: kislyuk/argcomplete + strip-prefix: v diff --git a/py3-argon2-cffi-bindings.yaml b/py3-argon2-cffi-bindings.yaml index 4e9713a5e3..32af3496d3 100644 --- a/py3-argon2-cffi-bindings.yaml +++ b/py3-argon2-cffi-bindings.yaml @@ -1,28 +1,31 @@ -# Generated from https://pypi.org/project/argon2-cffi-bindings/ package: name: py3-argon2-cffi-bindings version: 21.2.0 - epoch: 2 + epoch: 3 description: Low-level CFFI bindings for Argon2 copyright: - license: MIT dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: argon2-cffi-bindings + import: no-valid-import + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - argon2 - argon2-dev - - build-base - - busybox - - ca-certificates-bundle - - py3-cffi - - py3-setuptools - - python-3 - - python-3-dev - - wolfi-base + - py3-supported-build-base-dev environment: ARGON2_CFFI_USE_SYSTEM: 1 @@ -33,10 +36,31 @@ pipeline: repository: https://github.com/hynek/argon2-cffi-bindings tag: ${{package.version}} - - name: Python Build - uses: python/build-wheel +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}} + runtime: + - py${{range.key}}-cffi + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - uses: strip - - uses: strip + - 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}} update: enabled: true diff --git a/py3-asn1.yaml b/py3-asn1.yaml deleted file mode 100644 index 4dfee33caa..0000000000 --- a/py3-asn1.yaml +++ /dev/null @@ -1,40 +0,0 @@ -package: - name: py3-asn1 - version: 0.4.8 - epoch: 6 - description: Python3 ASN1 library - copyright: - - license: BSD-2-Clause - dependencies: - runtime: - - python3 - -environment: - contents: - packages: - - build-base - - busybox - - ca-certificates-bundle - - py3-setuptools - - python3 - - wolfi-base - -pipeline: - - uses: fetch - with: - uri: https://files.pythonhosted.org/packages/source/p/pyasn1/pyasn1-${{package.version}}.tar.gz - expected-sha256: aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba - - - runs: | - python3 setup.py build - - - runs: | - python3 setup.py install --prefix=/usr --root="${{targets.destdir}}" --skip-build - - - uses: strip - -update: - enabled: true - github: - identifier: etingof/pyasn1 - strip-prefix: v diff --git a/py3-astroid.yaml b/py3-astroid.yaml index 2fe65a15a8..7603930107 100644 --- a/py3-astroid.yaml +++ b/py3-astroid.yaml @@ -1,26 +1,30 @@ package: name: py3-astroid version: 3.3.5 - epoch: 0 + epoch: 1 description: A common base representation of python source code for pylint and other projects copyright: - license: LGPL-2.1-or-later dependencies: - runtime: - - python3 + provider-priority: 0 + +vars: + pypi-package: astroid + import: astroid + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - py3-build - - py3-installer - - py3-pip - - py3-setuptools - - python3 - - wolfi-base + - py3-supported-build-base + - py3-supported-pip pipeline: - uses: git-checkout @@ -29,26 +33,48 @@ pipeline: tag: v${{package.version}} expected-commit: 8c74a5f6984753900f0222622ccbf3182de66a47 - - name: Python Build - runs: python -m build +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}} + runtime: + - py${{range.key}}-typing-extensions + 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: Python Install - runs: python -m installer -d "${{targets.destdir}}/" dist/*.whl + - 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}} - - uses: strip +test: + pipeline: + - uses: python/import + with: + imports: | + import ${{vars.import}} update: enabled: true github: identifier: pylint-dev/astroid strip-prefix: v - -test: - environment: - contents: - packages: - - busybox - pipeline: - - uses: python/import - with: - import: astroid diff --git a/py3-asttokens.yaml b/py3-asttokens.yaml index 0d2cceed49..6fc08851e1 100644 --- a/py3-asttokens.yaml +++ b/py3-asttokens.yaml @@ -1,25 +1,29 @@ -# Generated from https://pypi.org/project/asttokens/ package: name: py3-asttokens version: 2.4.1 - epoch: 2 + epoch: 3 description: Annotate AST trees with source code positions copyright: - license: Apache-2.0 dependencies: - runtime: - - py3-six - - python-3 + provider-priority: 0 + +vars: + pypi-package: asttokens + import: asttokens + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - py3-setuptools - - python-3 - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -28,10 +32,45 @@ pipeline: repository: https://github.com/gristlabs/asttokens tag: v${{package.version}} - - name: Python Build - uses: python/build-wheel +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}} + runtime: + - py${{range.key}}-six + 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}} - - uses: strip + - 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 @@ -40,18 +79,3 @@ update: identifier: gristlabs/asttokens strip-prefix: v use-tag: true - -test: - pipeline: - - runs: | - LIBRARY="asttokens" - IMPORT_STATEMENT="import asttokens" - - if ! python -c "$IMPORT_STATEMENT"; then - echo "Failed to import library '$LIBRARY'." - python -c "$IMPORT_STATEMENT" 2>&1 - exit 1 - else - echo "Library '$LIBRARY' is installed and can be imported successfully." - exit 0 - fi diff --git a/py3-avro-python3.yaml b/py3-avro-python3.yaml index 83d675d3a0..567e60d451 100644 --- a/py3-avro-python3.yaml +++ b/py3-avro-python3.yaml @@ -1,24 +1,29 @@ -# Generated from https://pypi.org/project/avro-python3/ package: name: py3-avro-python3 version: 1.10.2 - epoch: 2 + epoch: 3 description: Avro is a serialization and RPC framework. copyright: - license: Apache-2.0 dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: avro-python3 + import: avro + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - py3-setuptools - - python-3 - - wolfi-base + - py3-supported-build-base pipeline: - uses: fetch @@ -26,19 +31,81 @@ pipeline: expected-sha256: 3b63f24e6b04368c3e4a6f923f484be0230d821aad65ac36108edbff29e9aaab uri: https://files.pythonhosted.org/packages/source/a/avro-python3/avro-python3-${{package.version}}.tar.gz - - name: Python Build - uses: python/build-wheel +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}} + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - name: move usr/bin executables for -bin + runs: | + mkdir -p ./cleanup/${{range.key}}/ + mv ${{targets.contextdir}}/usr/bin ./cleanup/${{range.key}}/ + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} - - uses: strip + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}}-bin + description: Executable binaries for ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + - py3-${{vars.pypi-package}}-bin + runtime: + - py${{range.key}}-${{vars.pypi-package}} + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/usr/ + mv ./cleanup/${{range.key}}/bin ${{targets.contextdir}}/usr/ + test: + environment: + contents: + packages: + - apk-tools + pipeline: + - runs: | + apk info -L py${{range.key}}-${{vars.pypi-package}}-bin > "pkg.list" + echo "Please write a test for these:" + grep usr/bin/ pkg.list > bins.list + sed 's,^,> ,' bins.list -update: - enabled: true - release-monitor: - identifier: 73324 + while read line; do + echo == /$line == + /$line --help || : + done < bins.list + + - 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: - # AUTOGENERATED + - uses: python/import + with: + imports: | + import ${{vars.import}} - runs: | avro --version avro --help + +update: + enabled: true + release-monitor: + identifier: 73324 diff --git a/py3-chardet.yaml b/py3-chardet.yaml index a37bc1c0b5..bdc6f9af4c 100644 --- a/py3-chardet.yaml +++ b/py3-chardet.yaml @@ -1,19 +1,29 @@ -# Generated from https://pypi.org/project/chardet/ package: name: py3-chardet version: 5.2.0 - epoch: 2 + epoch: 3 description: Universal encoding detector for Python 3 copyright: - license: LGPL-2.1-or-later + dependencies: + provider-priority: 0 + +vars: + pypi-package: chardet + import: chardet + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -22,13 +32,76 @@ pipeline: repository: https://github.com/chardet/chardet tag: ${{package.version}} - - name: Python Build - uses: python/build-wheel +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}} + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - name: move usr/bin executables for -bin + runs: | + mkdir -p ./cleanup/${{range.key}}/ + mv ${{targets.contextdir}}/usr/bin ./cleanup/${{range.key}}/ + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} + + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}}-bin + description: Executable binaries for ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + - py3-${{vars.pypi-package}}-bin + runtime: + - py${{range.key}}-${{vars.pypi-package}} + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/usr/ + mv ./cleanup/${{range.key}}/bin ${{targets.contextdir}}/usr/ + test: + environment: + contents: + packages: + - apk-tools + pipeline: + - runs: | + apk info -L py${{range.key}}-${{vars.pypi-package}}-bin > "pkg.list" + echo "Please write a test for these:" + grep usr/bin/ pkg.list > bins.list + sed 's,^,> ,' bins.list + + while read line; do + echo == /$line == + /$line --help || : + done < bins.list - - uses: strip + - 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}} - uses: python/import with: imports: | diff --git a/py3-commonmark.yaml b/py3-commonmark.yaml index 1d5d804470..e7a16f19ce 100644 --- a/py3-commonmark.yaml +++ b/py3-commonmark.yaml @@ -1,22 +1,29 @@ -# Generated from https://pypi.org/project/commonmark/ package: name: py3-commonmark version: 0.9.1 - epoch: 0 + epoch: 1 description: Python parser for the CommonMark Markdown spec copyright: - license: BSD-3-Clause dependencies: - runtime: - - py3-future + provider-priority: 0 + +vars: + pypi-package: commonmark + import: commonmark + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -25,19 +32,83 @@ pipeline: repository: https://github.com/rtfd/commonmark.py tag: ${{package.version}} - - name: Python Build - uses: python/build-wheel +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}} + runtime: + - py${{range.key}}-future + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - name: move usr/bin executables for -bin + runs: | + mkdir -p ./cleanup/${{range.key}}/ + mv ${{targets.contextdir}}/usr/bin ./cleanup/${{range.key}}/ + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} - - uses: strip + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}}-bin + description: Executable binaries for ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + - py3-${{vars.pypi-package}}-bin + runtime: + - py${{range.key}}-${{vars.pypi-package}} + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/usr/ + mv ./cleanup/${{range.key}}/bin ${{targets.contextdir}}/usr/ + test: + environment: + contents: + packages: + - apk-tools + pipeline: + - runs: | + apk info -L py${{range.key}}-${{vars.pypi-package}}-bin > "pkg.list" + echo "Please write a test for these:" + grep usr/bin/ pkg.list > bins.list + sed 's,^,> ,' bins.list -update: - enabled: true - manual: false - github: - identifier: rtfd/commonmark.py + while read line; do + echo == /$line == + /$line --help || : + done < bins.list + + - 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: - # AUTOGENERATED + - uses: python/import + with: + imports: | + import ${{vars.import}} - runs: | cmark --help + +update: + enabled: true + manual: false + github: + identifier: rtfd/commonmark.py diff --git a/py3-conda-package-streaming.yaml b/py3-conda-package-streaming.yaml index b204aaf9ee..a021f983fd 100644 --- a/py3-conda-package-streaming.yaml +++ b/py3-conda-package-streaming.yaml @@ -1,28 +1,30 @@ -# Generated from https://pypi.org/project/conda-package-streaming/ package: name: py3-conda-package-streaming version: 0.10.0 - epoch: 0 + epoch: 1 description: An efficient library to read from new and old format .conda and .tar.bz2 conda packages. copyright: - - license: "BSD-3-Clause" + - license: BSD-3-Clause dependencies: - runtime: - - py3-requests - - py3-zstandard - - python3 + provider-priority: 0 + +vars: + pypi-package: conda-package-streaming + import: conda_package_streaming + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - py3-build - - py3-installer - - py3-setuptools - - python3 - - wolfi-base + - py3-supported-build-base + - py3-supported-flit-core pipeline: - uses: git-checkout @@ -31,13 +33,46 @@ pipeline: tag: v${{package.version}} expected-commit: 168beb4da1c971e8c99cee2c06c4862e267f8d81 - - name: Python Build - runs: python -m build +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}} + runtime: + - py${{range.key}}-requests + - py${{range.key}}-zstandard + 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: Python Install - runs: python -m installer -d "${{targets.destdir}}" dist/*.whl + - 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}} - - uses: strip +test: + pipeline: + - uses: python/import + with: + imports: | + import ${{vars.import}} update: enabled: true diff --git a/py3-datadog.yaml b/py3-datadog.yaml index 3741a8c9ca..998a3ad8c0 100644 --- a/py3-datadog.yaml +++ b/py3-datadog.yaml @@ -1,25 +1,30 @@ -# Generated from https://pypi.org/project/datadog/ package: name: py3-datadog version: 0.50.1 - epoch: 1 + epoch: 2 description: The Datadog Python library copyright: - license: BSD-3-Clause dependencies: - runtime: - - py3-requests + provider-priority: 0 + +vars: + pypi-package: datadog + import: datadog + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - wolfi-base - environment: - # This is needed to work around the error "ValueError: ZIP does not support timestamps before 1980" - SOURCE_DATE_EPOCH: 315532800 + - py3-supported-build-base + - py3-supported-hatchling pipeline: - uses: fetch @@ -27,13 +32,78 @@ pipeline: expected-sha256: 579d4db54bd6ef918c5250217edb15b80b7b11582b8e24fce43702768c3f2e2d uri: https://files.pythonhosted.org/packages/source/d/datadog/datadog-${{package.version}}.tar.gz - - name: Python Build - uses: python/build-wheel +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}} + runtime: + - py${{range.key}}-requests + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - name: move usr/bin executables for -bin + runs: | + mkdir -p ./cleanup/${{range.key}}/ + mv ${{targets.contextdir}}/usr/bin ./cleanup/${{range.key}}/ + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} + + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}}-bin + description: Executable binaries for ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + - py3-${{vars.pypi-package}}-bin + runtime: + - py${{range.key}}-${{vars.pypi-package}} + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/usr/ + mv ./cleanup/${{range.key}}/bin ${{targets.contextdir}}/usr/ + test: + environment: + contents: + packages: + - apk-tools + pipeline: + - runs: | + apk info -L py${{range.key}}-${{vars.pypi-package}}-bin > "pkg.list" + echo "Please write a test for these:" + grep usr/bin/ pkg.list > bins.list + sed 's,^,> ,' bins.list + + while read line; do + echo == /$line == + /$line --help || : + done < bins.list - - uses: strip + - 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}} - uses: python/import with: imports: | diff --git a/py3-debugpy.yaml b/py3-debugpy.yaml index fe213b462a..a8ef40e680 100644 --- a/py3-debugpy.yaml +++ b/py3-debugpy.yaml @@ -1,24 +1,29 @@ -# Generated from https://pypi.org/project/debugpy/ package: name: py3-debugpy version: 1.8.6 - epoch: 0 + epoch: 1 description: An implementation of the Debug Adapter Protocol for Python copyright: - license: MIT dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: debugpy + import: debugpy + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - py3-setuptools - - python-3 - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -27,10 +32,79 @@ pipeline: repository: https://github.com/microsoft/debugpy tag: v${{package.version}} - - name: Python Build - uses: python/build-wheel +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}} + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - name: move usr/bin executables for -bin + runs: | + mkdir -p ./cleanup/${{range.key}}/ + mv ${{targets.contextdir}}/usr/bin ./cleanup/${{range.key}}/ + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} + + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}}-bin + description: Executable binaries for ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + - py3-${{vars.pypi-package}}-bin + runtime: + - py${{range.key}}-${{vars.pypi-package}} + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/usr/ + mv ./cleanup/${{range.key}}/bin ${{targets.contextdir}}/usr/ + test: + environment: + contents: + packages: + - apk-tools + pipeline: + - runs: | + apk info -L py${{range.key}}-${{vars.pypi-package}}-bin > "pkg.list" + echo "Please write a test for these:" + grep usr/bin/ pkg.list > bins.list + sed 's,^,> ,' bins.list + + while read line; do + echo == /$line == + /$line --help || : + done < bins.list - - uses: strip + - 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}} + - runs: | + debugpy --version + debugpy --help update: enabled: true @@ -40,20 +114,3 @@ update: github: identifier: microsoft/debugpy strip-prefix: v - -test: - pipeline: - - runs: | - LIBRARY="debugpy" - IMPORT_STATEMENT="import debugpy" - - if ! python -c "$IMPORT_STATEMENT"; then - echo "Failed to import library '$LIBRARY'." - python -c "$IMPORT_STATEMENT" 2>&1 - exit 1 - else - echo "Library '$LIBRARY' is installed and can be imported successfully." - exit 0 - fi - debugpy --version - debugpy --help diff --git a/py3-executing.yaml b/py3-executing.yaml index 0565f148c6..1a4833cbea 100644 --- a/py3-executing.yaml +++ b/py3-executing.yaml @@ -1,24 +1,29 @@ -# Generated from https://pypi.org/project/executing/ package: name: py3-executing version: 2.1.0 - epoch: 1 + epoch: 2 description: Get the currently executing AST node of a frame, and other information copyright: - license: MIT dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: executing + import: executing + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - py3-setuptools - - python-3 - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -27,10 +32,43 @@ pipeline: repository: https://github.com/alexmojaki/executing tag: v${{package.version}} - - name: Python Build - uses: python/build-wheel +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}} - - uses: strip +test: + pipeline: + - uses: python/import + with: + imports: | + import ${{vars.import}} update: enabled: true @@ -38,9 +76,3 @@ update: github: identifier: alexmojaki/executing strip-prefix: v - -test: - pipeline: - - uses: python/import - with: - import: executing diff --git a/py3-face.yaml b/py3-face.yaml index 791c7301d6..74b3570115 100644 --- a/py3-face.yaml +++ b/py3-face.yaml @@ -1,25 +1,30 @@ package: name: py3-face version: 22.0.0 - epoch: 2 - description: "A command-line application framework (and CLI parser). Friendly for users, full-featured for developers." + epoch: 3 + description: A command-line application framework (and CLI parser). Friendly for users, full-featured for developers. copyright: - license: BSD-3-Clause dependencies: - runtime: - - py3-boltons - - python3 + provider-priority: 0 + +vars: + pypi-package: face + import: face + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - busybox - - ca-certificates-bundle - - py3-gpep517 - - py3-setuptools - - py3-wheel - - python3 - - wolfi-base + - py3-supported-build-base + - py3-supported-gpep517 pipeline: - uses: git-checkout @@ -28,26 +33,53 @@ pipeline: tag: v${{package.version}} expected-commit: 6c8b1070312683cca0ed723f1cb99a7307f5ee91 - - runs: | - python3 -m gpep517 build-wheel \ - --wheel-dir dist \ - --output-fd 3 3>&1 >&2 - python3 -m installer \ - -d "${{targets.destdir}}" \ - dist/face-${{package.version}}-*.whl - - - uses: strip +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}} + runtime: + - py${{range.key}}-boltons + 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}} -update: - enabled: true - github: - identifier: mahmoud/face - strip-prefix: v - use-tag: true + - 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}} - uses: python/import with: imports: | from face import Command, echo + +update: + enabled: true + github: + identifier: mahmoud/face + strip-prefix: v + use-tag: true diff --git a/py3-ffwd.yaml b/py3-ffwd.yaml index 48c7c20cf0..a889913551 100644 --- a/py3-ffwd.yaml +++ b/py3-ffwd.yaml @@ -1,19 +1,29 @@ -# Generated from https://pypi.org/project/ffwd/ package: name: py3-ffwd version: 0.0.2 - epoch: 2 + epoch: 3 description: A Python client for FFWD copyright: - license: Apache-2.0 + dependencies: + provider-priority: 0 + +vars: + pypi-package: ffwd + import: ffwd + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - wolfi-base + - py3-supported-build-base pipeline: - uses: fetch @@ -21,13 +31,76 @@ pipeline: expected-sha256: 1167e791b21524bfdf8fe47345d586dfd8fae07dc5ffb855aa2e43bb76e7e2ad uri: https://files.pythonhosted.org/packages/source/f/ffwd/ffwd-${{package.version}}.tar.gz - - name: Python Build - uses: python/build-wheel +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}} + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - name: move usr/bin executables for -bin + runs: | + mkdir -p ./cleanup/${{range.key}}/ + mv ${{targets.contextdir}}/usr/bin ./cleanup/${{range.key}}/ + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} + + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}}-bin + description: Executable binaries for ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + - py3-${{vars.pypi-package}}-bin + runtime: + - py${{range.key}}-${{vars.pypi-package}} + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/usr/ + mv ./cleanup/${{range.key}}/bin ${{targets.contextdir}}/usr/ + test: + environment: + contents: + packages: + - apk-tools + pipeline: + - runs: | + apk info -L py${{range.key}}-${{vars.pypi-package}}-bin > "pkg.list" + echo "Please write a test for these:" + grep usr/bin/ pkg.list > bins.list + sed 's,^,> ,' bins.list + + while read line; do + echo == /$line == + /$line --help || : + done < bins.list - - uses: strip + - 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}} - uses: python/import with: imports: | diff --git a/py3-git-filter-repo.yaml b/py3-git-filter-repo.yaml index 68dc23bd61..f15f1a4485 100644 --- a/py3-git-filter-repo.yaml +++ b/py3-git-filter-repo.yaml @@ -1,23 +1,29 @@ -# Generated from https://pypi.org/project/git-filter-repo/ package: name: py3-git-filter-repo version: 2.45.0 - epoch: 0 + epoch: 1 description: Quickly rewrite git repository history copyright: - license: MIT dependencies: - runtime: - - python-3 - - git + provider-priority: 0 + +vars: + pypi-package: git-filter-repo + import: git_filter_repo + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - ca-certificates-bundle - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -26,21 +32,78 @@ pipeline: repository: https://github.com/newren/git-filter-repo tag: v${{package.version}} - # pyproject.toml isn't included in the 2.83 branch - # It comes from https://github.com/newren/git-filter-repo/blob/main/pyproject.toml - - name: Python Build - uses: python/build-wheel +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}} + runtime: + - git + pipeline: + - uses: py/pip-build-install + with: + python: python${{range.key}} + - name: move usr/bin executables for -bin + runs: | + mkdir -p ./cleanup/${{range.key}}/ + mv ${{targets.contextdir}}/usr/bin ./cleanup/${{range.key}}/ + - uses: strip + test: + pipeline: + - uses: python/import + with: + python: python${{range.key}} + imports: | + import ${{vars.import}} - - uses: strip + - range: py-versions + name: py${{range.key}}-${{vars.pypi-package}}-bin + description: Executable binaries for ${{vars.pypi-package}} installed for python${{range.key}} + dependencies: + provider-priority: ${{range.value}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + - py3-${{vars.pypi-package}}-bin + runtime: + - py${{range.key}}-${{vars.pypi-package}} + pipeline: + - runs: | + mkdir -p ${{targets.contextdir}}/usr/ + mv ./cleanup/${{range.key}}/bin ${{targets.contextdir}}/usr/ + test: + environment: + contents: + packages: + - apk-tools + pipeline: + - runs: | + apk info -L py${{range.key}}-${{vars.pypi-package}}-bin > "pkg.list" + echo "Please write a test for these:" + grep usr/bin/ pkg.list > bins.list + sed 's,^,> ,' bins.list -update: - enabled: true - github: - identifier: newren/git-filter-repo - strip-prefix: v + while read line; do + echo == /$line == + /$line --help || : + done < bins.list + + - 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}} - runs: | cd $(mktemp -d) git init @@ -57,3 +120,9 @@ test: fi git-filter-repo --version git-filter-repo --help + +update: + enabled: true + github: + identifier: newren/git-filter-repo + strip-prefix: v