diff --git a/.github/actions/docker-run/action.yaml b/.github/actions/docker-run/action.yaml index 0114fd3a77..52be0a65df 100644 --- a/.github/actions/docker-run/action.yaml +++ b/.github/actions/docker-run/action.yaml @@ -6,7 +6,7 @@ inputs: required: true image: description: "The image to use" - default: "ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5" + default: "ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8" required: false workdir: description: "The images working directory" diff --git a/.github/workflows/build-beta.yaml b/.github/workflows/build-beta.yaml index 58ad131cd4..349d37c03f 100644 --- a/.github/workflows/build-beta.yaml +++ b/.github/workflows/build-beta.yaml @@ -152,7 +152,7 @@ jobs: container: # NOTE: This step only signs and uploads, so it doesn't need any privileges - image: ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + image: ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 steps: - name: Harden Runner diff --git a/.github/workflows/build-old.yaml b/.github/workflows/build-old.yaml index 600d49d2b4..2f5e6c6e41 100644 --- a/.github/workflows/build-old.yaml +++ b/.github/workflows/build-old.yaml @@ -26,7 +26,7 @@ jobs: contents: read container: - image: ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + image: ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 # TODO: Deprivilege options: | --cap-add NET_ADMIN --cap-add SYS_ADMIN --device /dev/fuse --security-opt seccomp=unconfined --security-opt apparmor:unconfined @@ -139,7 +139,7 @@ jobs: container: # NOTE: This step only signs and uploads, so it doesn't need any privileges - image: ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + image: ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 steps: - name: Harden Runner @@ -262,7 +262,7 @@ jobs: container: # NOTE: This step only signs and uploads, so it doesn't need any privileges - image: ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + image: ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 steps: - name: Harden Runner diff --git a/.github/workflows/build-world.yaml b/.github/workflows/build-world.yaml index aa9deece31..e9755ef275 100644 --- a/.github/workflows/build-world.yaml +++ b/.github/workflows/build-world.yaml @@ -27,7 +27,7 @@ jobs: # permissions: container: - image: ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + image: ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 # TODO: Deprivilege options: | --cap-add NET_ADMIN --cap-add SYS_ADMIN --device /dev/fuse --security-opt seccomp=unconfined --security-opt apparmor:unconfined diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 582df899b3..953f6873b3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -29,7 +29,7 @@ jobs: contents: read container: - image: ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + image: ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 # TODO: Deprivilege options: | --cap-add NET_ADMIN --cap-add SYS_ADMIN --device /dev/fuse --security-opt seccomp=unconfined --security-opt apparmor:unconfined @@ -175,7 +175,7 @@ jobs: container: # NOTE: This step only signs and uploads, so it doesn't need any privileges - image: ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + image: ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 steps: - name: Harden Runner @@ -303,7 +303,7 @@ jobs: container: # NOTE: This step only signs and uploads, so it doesn't need any privileges - image: ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + image: ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 steps: - name: Harden Runner diff --git a/.github/workflows/lint-world.yaml b/.github/workflows/lint-world.yaml index 7ab664b81a..f07970fd72 100644 --- a/.github/workflows/lint-world.yaml +++ b/.github/workflows/lint-world.yaml @@ -32,7 +32,7 @@ jobs: group: wolfi-os-builder-${{ matrix.arch }} container: - image: ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + image: ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 steps: - uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 diff --git a/.github/workflows/postsubmit-bundle-build.yaml b/.github/workflows/postsubmit-bundle-build.yaml index 46ed4a7aa2..17ad0be064 100644 --- a/.github/workflows/postsubmit-bundle-build.yaml +++ b/.github/workflows/postsubmit-bundle-build.yaml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest container: - image: ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + image: ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 permissions: id-token: write @@ -114,7 +114,7 @@ jobs: ) BUNDLE=$(wolfictl bundle \ - --bundle-base ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 \ + --bundle-base ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 \ --bundle-repo "${BUNDLE_REPO}" \ ${COMMON_FLAGS} \ --runner bubblewrap \ diff --git a/Makefile b/Makefile index d19ff991eb..0e7a10e769 100644 --- a/Makefile +++ b/Makefile @@ -141,7 +141,7 @@ dev-container: -v "${PWD}:${PWD}" \ -w "${PWD}" \ -e SOURCE_DATE_EPOCH=0 \ - ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 PACKAGES_CONTAINER_FOLDER ?= /work/packages # This target spins up a docker container that is helpful for testing local @@ -208,6 +208,6 @@ dev-container-wolfi: --mount type=bind,source="${PWD}/local-melange.rsa.pub",destination="/etc/apk/keys/local-melange.rsa.pub",readonly \ --mount type=bind,source="$(TMP_REPOS_FILE)",destination="/etc/apk/repositories",readonly \ -w "$(PACKAGES_CONTAINER_FOLDER)" \ - ghcr.io/wolfi-dev/sdk:latest@sha256:41afbe0864023cc9fb7dda378e831fcb4ae56b88fb36475a4e28a5555c0f71a5 + ghcr.io/wolfi-dev/sdk:latest@sha256:16e05ea526a250ddb3e24167ecc6494b29961d0e5fc02b716b9eea31e82439f8 @rm "$(TMP_REPOS_FILE)" @rmdir "$(TMP_REPOS_DIR)" diff --git a/cert-manager-1.16.yaml b/cert-manager-1.16.yaml index 66ab353514..4899210a20 100644 --- a/cert-manager-1.16.yaml +++ b/cert-manager-1.16.yaml @@ -1,8 +1,8 @@ package: name: cert-manager-1.16 # See https://cert-manager.io/docs/installation/supported-releases/ for upstream-supported versions - version: 1.16.0 - epoch: 1 + version: 1.16.1 + epoch: 0 description: Automatically provision and manage TLS certificates in Kubernetes copyright: - license: Apache-2.0 @@ -26,7 +26,7 @@ pipeline: with: repository: https://github.com/cert-manager/cert-manager tag: v${{package.version}} - expected-commit: 67c897d068cf4602a62370f4152eeccfdd108b61 + expected-commit: ff50c068fd1942419fcce05131d3200a7641cc50 # the makefile hardcodes the requirement for some container runtime (CTR), even when we don't need it # to workaround, set CTR to anything $(command -v)able @@ -106,12 +106,13 @@ test: controller --help startupapicheck --help webhook --help - acmesolver-linux-amd64 --help - cainjector-linux-amd64 --help - controller-linux-amd64 --help - startupapicheck-linux-amd64 -v - startupapicheck-linux-amd64 --help - webhook-linux-amd64 --help + arch=$(uname -m | sed -e "s/x86_64/amd64/" -e "s/aarch64/arm64/") + acmesolver-linux-$arch --help + cainjector-linux-$arch --help + controller-linux-$arch --help + startupapicheck-linux-$arch -v + startupapicheck-linux-$arch --help + webhook-linux-$arch --help update: enabled: true diff --git a/cloudnative-pg.yaml b/cloudnative-pg.yaml index b0f2746d4f..7693525641 100644 --- a/cloudnative-pg.yaml +++ b/cloudnative-pg.yaml @@ -59,5 +59,6 @@ test: manager_${{build.goarch}} version | grep "${{package.version}}" /manager version | grep "${{package.version}}" /manager debug show-architectures | grep ${{build.goarch}} - manager_amd64 version - manager_amd64 --help + arch=$(uname -m | sed -e "s/x86_64/amd64/" -e "s/aarch64/arm64/") + manager_$arch version + manager_$arch --help diff --git a/confluent-kafka.yaml b/confluent-kafka.yaml index bf9b9eb362..2ebfd5d9e0 100644 --- a/confluent-kafka.yaml +++ b/confluent-kafka.yaml @@ -8,7 +8,7 @@ package: # with the `version:` field. # 2. Created a new variable `mangled-package-version` to append `-ccs` to the # version. - version: 7.9.0.82 + version: 8.0.0.2 epoch: 0 description: Community edition of Confluent Kafka. copyright: @@ -34,6 +34,8 @@ environment: - gradle - openjdk-11 - sbt + environment: + JAVA_HOME: /usr/lib/jvm/java-11-openjdk var-transforms: - from: ${{package.version}} @@ -44,7 +46,7 @@ var-transforms: pipeline: - uses: git-checkout with: - expected-commit: cbc25f70cb7fe8a4c54933db073a131384438bdb + expected-commit: d93667803acda10900d7ffa6d21e612cd6e0c50e repository: https://github.com/confluentinc/kafka tag: v${{vars.mangled-package-version}} @@ -94,9 +96,12 @@ update: enabled: true git: strip-prefix: v - strip-suffix: -css + strip-suffix: -ccs ignore-regex-patterns: - -rc.* + version-transform: + - match: ^(\d+\.\d+\.\d+)\-(\d+)$ + replace: $1.$2 test: pipeline: diff --git a/cosign.yaml b/cosign.yaml index 6904be0b8f..9baa24a52d 100644 --- a/cosign.yaml +++ b/cosign.yaml @@ -51,7 +51,8 @@ test: cosign --help - name: Get an attestation and test runs: | - cosign download attestation --platform=linux/amd64 \ + arch=$(uname -m | sed -e "s/x86_64/amd64/" -e "s/aarch64/arm64/") + cosign download attestation --platform=linux/$arch \ --predicate-type=https://spdx.dev/Document \ chainguard/curl | jq -r .payload | base64 -d | jq .predicate diff --git a/dpkg.yaml b/dpkg.yaml index 1313d9ee70..d39430a87e 100644 --- a/dpkg.yaml +++ b/dpkg.yaml @@ -126,10 +126,11 @@ test: mkdir -p test/data echo "brew" > test/data/homebrew.txt mkdir -p test/DEBIAN + arch=$(uname -m | sed -e "s/x86_64/amd64/" -e "s/aarch64/arm64/") cat < test/DEBIAN/control Package: test Version: 1.40.99 - Architecture: amd64 + Architecture: $arch Description: I am a test Maintainer: Dpkg Developers diff --git a/execline.yaml b/execline.yaml index 3c95223484..2049dd3e5b 100644 --- a/execline.yaml +++ b/execline.yaml @@ -1,7 +1,7 @@ package: name: execline - version: 2.9.6.0 - epoch: 1 + version: 2.9.6.1 + epoch: 0 description: "a small scripting language intended to be an alternative to shell scripting" copyright: - license: ISC @@ -20,7 +20,7 @@ pipeline: with: repository: git://git.skarnet.org/execline tag: v${{package.version}} - expected-commit: 48ebde9a5ea2a5a96f438b1bc9a19cd3bcb96f8c + expected-commit: 32ed930a967c83c5b683d1d22c286b46a9f792ea - name: Configure runs: | diff --git a/gitlab-pages-17.4.yaml b/gitlab-pages-17.4.yaml index f1fb008644..13ea77a4e4 100644 --- a/gitlab-pages-17.4.yaml +++ b/gitlab-pages-17.4.yaml @@ -1,6 +1,6 @@ package: name: gitlab-pages-17.4 - version: 17.4.1 + version: 17.4.2 epoch: 0 description: GitLab Pages daemon used to serve static websites for GitLab users. copyright: @@ -20,7 +20,7 @@ pipeline: with: repository: https://gitlab.com/gitlab-org/gitlab-pages.git tag: v${{package.version}} - expected-commit: 1a5ebda50db9b91712526b31f3ab271218f6f850 + expected-commit: b80b8bb6d3f1f0c2ddfab5a571873d898e3ae523 - uses: go/build with: diff --git a/logstash.yaml b/logstash-8.yaml similarity index 99% rename from logstash.yaml rename to logstash-8.yaml index d02377f9a3..5e11125744 100644 --- a/logstash.yaml +++ b/logstash-8.yaml @@ -15,15 +15,16 @@ # 2. If the plugin is not a default plugin, do the same as above, but in a # subpackage to be installed separately. package: - name: logstash + name: logstash-8 version: 8.15.2 - epoch: 1 + epoch: 2 description: Logstash - transport and process your logs, events, or other data copyright: - license: Apache-2.0 dependencies: provides: - ${{package.name}}-base=${{package.full-version}} + - logstash=${{package.full-version}} runtime: - bash # some helper scripts use bash and busybox utilities - busybox diff --git a/logstash/create_archive_pack.patch b/logstash-8/create_archive_pack.patch similarity index 100% rename from logstash/create_archive_pack.patch rename to logstash-8/create_archive_pack.patch diff --git a/logstash/test/logstash-filter-xml/logstash.conf b/logstash-8/test/logstash-filter-xml/logstash.conf similarity index 100% rename from logstash/test/logstash-filter-xml/logstash.conf rename to logstash-8/test/logstash-filter-xml/logstash.conf diff --git a/logstash/test/logstash-filter-xml/test.xml b/logstash-8/test/logstash-filter-xml/test.xml similarity index 100% rename from logstash/test/logstash-filter-xml/test.xml rename to logstash-8/test/logstash-filter-xml/test.xml diff --git a/pipelines/py/one-python.yaml b/pipelines/py/one-python.yaml new file mode 100644 index 0000000000..b63d7b50d1 --- /dev/null +++ b/pipelines/py/one-python.yaml @@ -0,0 +1,66 @@ +name: Run some stuff with just one python - do not worry about the name + +needs: + packages: + - busybox + +inputs: + content: + description: | + what do you want to run. content will be written to file and executed. + If it has a shbang (#!) then it will be honored. + Otherwise use '#!/bin/sh -e' + required: true + +pipeline: + - name: "run content" + runs: | + set +x + tmpd=$(mktemp -d) || { echo "failed mktemp"; exit 1; } + trap "rm -Rf $tmpd" EXIT + + cat > "$tmpd/runner.dist" <<"END_ONE_PYTHON_CONTENT" + ${{inputs.content}} + END_ONE_PYTHON_CONTENT + + if p=$(command -v python3); then + py=$p + if [ -L "$p" ]; then + py=$(readlink -f "$p") || + { echo "ERROR: failed 'readlink -f $p'" 1>&2; exit 1; } + fi + else + glob="/usr/bin/python3.[0-9][0-9] /usr/bin/python3.[789]" + n=0 + for p in $glob; do + [ -x "$p" ] && n=$((n+1)) && py=$p && found="$found $p" + done + if [ "$n" -ne 1 ]; then + echo "ERROR: found $n pythons matching $glob. Cannot use one-python here." + [ "$n" -eq 0 ] || echo " found: $found" 1>&2 + exit 1 + fi + fi + echo "using python=$py for one-python" + + ln -s "$py" "$tmpd/python" && ln -s "$py" "$tmpd/python3" || { + echo "ERROR: symlink of $py into tmpdir failed." + exit 1 + } + + # add shbang of #!/bin/sh -e if not present. + if head -n 1 "$tmpd/runner.dist" | grep -q "^#!"; then + cp "$tmpd/runner.dist" "$tmpd/runner" + else + echo "#!/bin/sh -e" > "$tmpd/runner" + cat "$tmpd/runner.dist" >> "$tmpd/runner" + fi + + [ $? -eq 0 ] || { + echo "ERROR: very strange failure (failed write to runner?)" + exit 1 + } + chmod 755 "$tmpd/runner" + export PATH="$tmpd:$PATH" + + runner diff --git a/protobuf.yaml b/protobuf.yaml index 3c17b75465..5d3edf51fc 100644 --- a/protobuf.yaml +++ b/protobuf.yaml @@ -1,7 +1,7 @@ package: name: protobuf version: 3.27.4 - epoch: 0 + epoch: 1 description: Library for extensible, efficient structure packing copyright: - license: BSD-3-Clause @@ -47,7 +47,8 @@ pipeline: -DBUILD_SHARED_LIBS=True \ -DCMAKE_BUILD_TYPE=Release \ -Dprotobuf_ABSL_PROVIDER=package \ - -Dprotobuf_BUILD_TESTS=OFF + -Dprotobuf_BUILD_TESTS=OFF \ + -Dprotobuf_BUILD_LIBUPB=OFF ninja -C build DESTDIR=${{targets.destdir}} ninja -C build install @@ -127,15 +128,3 @@ test: pipeline: - runs: | protoc --help - protoc-gen-upb --version - protoc-gen-upb --help - protoc-gen-upb-27.4.0 --version - protoc-gen-upb-27.4.0 --help - protoc-gen-upb_minitable --version - protoc-gen-upb_minitable --help - protoc-gen-upb_minitable-27.4.0 --version - protoc-gen-upb_minitable-27.4.0 --help - protoc-gen-upbdefs --version - protoc-gen-upbdefs --help - protoc-gen-upbdefs-27.4.0 --version - protoc-gen-upbdefs-27.4.0 --help diff --git a/pulumi-language-yaml.yaml b/pulumi-language-yaml.yaml index 45d864a0a3..cd6dfedd2a 100644 --- a/pulumi-language-yaml.yaml +++ b/pulumi-language-yaml.yaml @@ -1,6 +1,6 @@ package: name: pulumi-language-yaml - version: 1.10.3 + version: 1.11.0 epoch: 0 description: Pulumi Language SDK for YAML copyright: @@ -18,7 +18,7 @@ pipeline: - uses: git-checkout with: destination: ${{package.name}} - expected-commit: dda434dd1e3072722e1df44d1060fa89a8e6ff51 + expected-commit: 196e4309201fe433a1698e75bc532d1bae14f208 repository: https://github.com/pulumi/pulumi-yaml.git tag: v${{package.version}} 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-asgiref.yaml b/py3-asgiref.yaml index 1b99a5536b..5a9f478e49 100644 --- a/py3-asgiref.yaml +++ b/py3-asgiref.yaml @@ -1,23 +1,29 @@ package: name: py3-asgiref version: 3.8.1 - epoch: 0 + epoch: 1 description: ASGI specs, helper code, and adapters copyright: - license: BSD-3-Clause dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: asgiref + import: asgiref + +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 @@ -26,10 +32,48 @@ pipeline: tag: ${{package.version}} expected-commit: e38d3c327c01aa82c0bf2726220700c1097ea6cc - - 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}} - - 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: py/one-python + with: + content: | + python3 ./test.py > output.out 2>&1 + grep -E "ERROR|None" output.out && exit 1 || exit 0 update: enabled: true @@ -38,9 +82,3 @@ update: github: identifier: django/asgiref use-tag: true - -test: - pipeline: - - runs: | - python3 ./test.py > output.out 2>&1 - grep -E "ERROR|None" output.out && exit 1 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-beartype.yaml b/py3-beartype.yaml index 7837f13ff8..6eac17504d 100644 --- a/py3-beartype.yaml +++ b/py3-beartype.yaml @@ -1,26 +1,30 @@ -# Generated from https://pypi.org/project/beartype/ package: name: py3-beartype version: 0.19.0 - epoch: 0 + epoch: 1 description: Unbearably fast runtime type checking in pure Python. copyright: - license: MIT dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: beartype + import: beartype + +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 - environment: - SOURCE_DATE_EPOCH: "315532800" + - py3-supported-build-base + - py3-supported-hatchling pipeline: - uses: git-checkout @@ -29,22 +33,50 @@ pipeline: tag: v${{package.version}} expected-commit: f17bbedf496cce90d0982926e44371d70e36c9ac - - 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}} - - 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: py/one-python + with: + content: | + python3 -c "import beartype; print(beartype.__version__)" update: enabled: true github: identifier: beartype/beartype strip-prefix: v - -test: - environment: - contents: - packages: - - python-3 - pipeline: - - runs: | - python -c "import beartype; print(beartype.__version__)" 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-handling.yaml b/py3-conda-package-handling.yaml index c905d8fd97..6d14fab0f7 100644 --- a/py3-conda-package-handling.yaml +++ b/py3-conda-package-handling.yaml @@ -1,7 +1,7 @@ package: name: py3-conda-package-handling - version: 2.3.0 - epoch: 1 + version: 2.4.0 + epoch: 0 description: Create and extract conda packages of various formats copyright: - license: BSD-3-Clause @@ -30,7 +30,7 @@ pipeline: with: repository: https://github.com/conda/conda-package-handling tag: ${{package.version}} - expected-commit: 5b8659610502b0ff887061132a36a3ae1c606ef8 + expected-commit: 3a25ae4cfc041af6500c91c0d1329a30ea70d1a7 subpackages: - range: py-versions diff --git a/py3-conda-package-streaming.yaml b/py3-conda-package-streaming.yaml index b204aaf9ee..118e755ec4 100644 --- a/py3-conda-package-streaming.yaml +++ b/py3-conda-package-streaming.yaml @@ -1,43 +1,78 @@ -# Generated from https://pypi.org/project/conda-package-streaming/ package: name: py3-conda-package-streaming - version: 0.10.0 + version: 0.11.0 epoch: 0 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 with: repository: https://github.com/conda/conda-package-streaming tag: v${{package.version}} - expected-commit: 168beb4da1c971e8c99cee2c06c4862e267f8d81 + expected-commit: 70f8ff3ca83ce2e0dab02828ed3ac4a8db751b5c - - 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-distlib.yaml b/py3-distlib.yaml index ffa972d94a..62b93a59fa 100644 --- a/py3-distlib.yaml +++ b/py3-distlib.yaml @@ -1,7 +1,7 @@ package: name: py3-distlib - version: 0.3.8 - epoch: 5 + version: 0.3.9 + epoch: 0 description: Distribution utilities copyright: - license: PSF-2.0 @@ -34,7 +34,7 @@ pipeline: with: repository: https://github.com/pypa/distlib tag: ${{package.version}} - expected-commit: ab5f8e797fbc56a0e3488bba68d05e7a602cb63f + expected-commit: fab584e358203ef0f4a22b9a00e3ed0e309665a6 subpackages: - range: py-versions 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-fastbencode.yaml b/py3-fastbencode.yaml index 8a614f758a..596d5db157 100644 --- a/py3-fastbencode.yaml +++ b/py3-fastbencode.yaml @@ -1,22 +1,29 @@ -# Generated from https://pypi.org/project/fastbencode/ package: name: py3-fastbencode version: 0.3.1 - epoch: 0 + epoch: 1 description: Implementation of bencode with optional fast C extensions copyright: - license: GPL-2.0-or-later dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: fastbencode + import: fastbencode + +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,22 +32,51 @@ pipeline: repository: https://github.com/breezy-team/fastbencode 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}} - - 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: - import: fastbencode - - runs: | - python <<'EOF' - from fastbencode import bencode, bdecode - assert bencode([1, 2, b'a', {b'd': 3}]) == b'li1ei2e1:ad1:di3eee' - assert bdecode(bencode([1, 2, b'a', {b'd': 3}])) == [1, 2, b'a', {b'd': 3}] - EOF + imports: | + import ${{vars.import}} + - uses: py/one-python + with: + content: | + python3 <<'EOF' + from fastbencode import bencode, bdecode + assert bencode([1, 2, b'a', {b'd': 3}]) == b'li1ei2e1:ad1:di3eee' + assert bdecode(bencode([1, 2, b'a', {b'd': 3}])) == [1, 2, b'a', {b'd': 3}] + EOF update: enabled: 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 diff --git a/py3-google-resumable-media.yaml b/py3-google-resumable-media.yaml index 673ca51cf0..d8e6f09098 100644 --- a/py3-google-resumable-media.yaml +++ b/py3-google-resumable-media.yaml @@ -1,25 +1,29 @@ -# Generated from https://pypi.org/project/google-resumable-media/ package: name: py3-google-resumable-media version: 2.7.2 - epoch: 0 + epoch: 1 description: Utilities for Google Media Downloads and Resumable Uploads copyright: - license: Apache-2.0 dependencies: - runtime: - - py3-google-crc32c - - python-3 + provider-priority: 0 + +vars: + pypi-package: google-resumable-media + import: google.resumable_media + +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/googleapis/google-resumable-media-python 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}}-google-crc32c + 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 diff --git a/py3-gunicorn.yaml b/py3-gunicorn.yaml index d1fb990c22..df38c32d6c 100644 --- a/py3-gunicorn.yaml +++ b/py3-gunicorn.yaml @@ -1,26 +1,31 @@ -# Generated from https://pypi.org/project/gunicorn/ package: name: py3-gunicorn version: 23.0.0 - epoch: 0 + epoch: 1 description: WSGI HTTP Server for UNIX copyright: - license: MIT dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: gunicorn + import: gunicorn + +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-pip - - py3-setuptools - - python3 + - py3-supported-build-base + - py3-supported-pip - rsync - - wolfi-base pipeline: - uses: git-checkout @@ -29,19 +34,82 @@ pipeline: tag: ${{package.version}} expected-commit: 411986d6191114dd1d1bbb9c72c948dbf0ef0425 - - 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: benoitc/gunicorn - use-tag: false + 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: | gunicorn --version gunicorn --help + +update: + enabled: true + github: + identifier: benoitc/gunicorn + use-tag: false diff --git a/py3-gyp-next.yaml b/py3-gyp-next.yaml index 0eb8abaeb0..d645e5a66f 100644 --- a/py3-gyp-next.yaml +++ b/py3-gyp-next.yaml @@ -1,22 +1,29 @@ -# Generated from https://pypi.org/project/gyp-next/ package: name: py3-gyp-next version: 0.18.2 - epoch: 0 + epoch: 1 description: A fork of the GYP build system for use in the Node.js projects copyright: - license: BSD-3-Clause dependencies: - runtime: - - python3 - - py3-packaging + provider-priority: 0 + +vars: + pypi-package: gyp-next + import: gyp + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: packages: - - build-base - - busybox - - python3 + - py3-supported-build-base pipeline: - uses: git-checkout @@ -25,10 +32,80 @@ pipeline: expected-commit: 8282f016bc9e4a6ac7c5fa84af1bbc94ec40c3c7 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}} + runtime: + - py${{range.key}}-packaging + 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: | + gyp --help update: enabled: true @@ -36,9 +113,3 @@ update: identifier: nodejs/gyp-next use-tag: true strip-prefix: v - -test: - pipeline: - # AUTOGENERATED - - runs: | - gyp --help diff --git a/py3-hatch-jupyter-builder.yaml b/py3-hatch-jupyter-builder.yaml index 08f4bd498f..553c25e2be 100644 --- a/py3-hatch-jupyter-builder.yaml +++ b/py3-hatch-jupyter-builder.yaml @@ -1,28 +1,30 @@ -# Generated from https://pypi.org/project/hatch-jupyter-builder/ package: name: py3-hatch-jupyter-builder version: 0.9.1 - epoch: 0 + epoch: 1 description: A hatch plugin to help build Jupyter packages copyright: - license: BSD-3-Clause dependencies: - runtime: - - py3-hatchling - - python-3 + provider-priority: 0 + +vars: + pypi-package: hatch-jupyter-builder + import: hatch_jupyter_builder + +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 - 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: git-checkout @@ -31,10 +33,80 @@ pipeline: tag: v${{package.version}} expected-commit: b533b5a9809d0dc39f7671b830ad7ac0ac6a2572 - - 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}}-hatchling + 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: | + hatch-jupyter-builder --help update: enabled: true @@ -42,9 +114,3 @@ update: identifier: jupyterlab/hatch-jupyter-builder use-tag: true strip-prefix: v - -test: - pipeline: - # AUTOGENERATED - - runs: | - hatch-jupyter-builder --help diff --git a/py3-invoke.yaml b/py3-invoke.yaml index f1b324659a..0e702e4aec 100644 --- a/py3-invoke.yaml +++ b/py3-invoke.yaml @@ -1,23 +1,29 @@ package: name: py3-invoke version: 2.2.0 - epoch: 1 + epoch: 2 description: Pythonic task management & command execution. copyright: - license: BSD-2-Clause dependencies: - runtime: - - python3 + provider-priority: 0 + +vars: + pypi-package: invoke + import: invoke + +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 - - python3 - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -26,27 +32,86 @@ pipeline: expected-commit: 07b836f2663bb073a7bcef3d6c454e1dc6b867ae tag: ${{package.version}} - - name: Python Build - runs: python setup.py 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}} + 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}} - - name: Python Install - runs: python setup.py install --prefix=/usr --root="${{targets.destdir}}" + - 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 - - uses: strip + while read line; do + echo == /$line == + /$line --help || : + done < bins.list -update: - ignore-regex-patterns: - - ^[a-zA-Z] - enabled: true - github: - identifier: pyinvoke/invoke - 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: - # AUTOGENERATED + - uses: python/import + with: + imports: | + import ${{vars.import}} - runs: | inv --version invoke --version inv --help invoke --help + +update: + ignore-regex-patterns: + - ^[a-zA-Z] + enabled: true + github: + identifier: pyinvoke/invoke + use-tag: true diff --git a/py3-isodate.yaml b/py3-isodate.yaml index 0656af0112..09f616e419 100644 --- a/py3-isodate.yaml +++ b/py3-isodate.yaml @@ -1,27 +1,29 @@ -# Generated from https://pypi.org/project/isodate/ package: name: py3-isodate version: 0.7.2 - epoch: 0 + epoch: 1 description: An ISO 8601 date/time/duration parser and formatter copyright: - license: BSD-3-Clause dependencies: - runtime: - - py3-six - - python3 + provider-priority: 0 + +vars: + pypi-package: isodate + import: isodate + +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 pipeline: - uses: git-checkout @@ -30,29 +32,65 @@ pipeline: repository: https://github.com/gweis/isodate 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}}-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}} + + - 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}} + - name: Verify Installation + uses: py/one-python + with: + content: | + # Check that the isodate package is installed + python3 -c "import isodate" || exit 1 + echo "isodate package is installed." + - name: Test Basic Date Parsing + uses: py/one-python + with: + content: | + # Test parsing a simple ISO 8601 date string + python3 -c " + import isodate + dt = isodate.parse_date('2024-10-09') + assert dt.year == 2024 and dt.month == 10 and dt.day == 9 + print('Date parsing passed.')" update: enabled: true github: use-tag: true identifier: gweis/isodate - -test: - pipeline: - - name: Verify Installation - runs: | - # Check that the isodate package is installed - python3 -c "import isodate" || exit 1 - echo "isodate package is installed." - - name: Test Basic Date Parsing - runs: | - # Test parsing a simple ISO 8601 date string - python3 -c " - import isodate - dt = isodate.parse_date('2024-10-09') - assert dt.year == 2024 and dt.month == 10 and dt.day == 9 - print('Date parsing passed.')" diff --git a/py3-jmespath.yaml b/py3-jmespath.yaml index 5b4a6b05f4..520f2f16ca 100644 --- a/py3-jmespath.yaml +++ b/py3-jmespath.yaml @@ -1,23 +1,29 @@ package: name: py3-jmespath version: 1.0.1 - epoch: 4 - description: "JMESPath is a query language for JSON" + epoch: 5 + description: JMESPath is a query language for JSON copyright: - license: MIT dependencies: - runtime: - - python3 + provider-priority: 0 + +vars: + pypi-package: jmespath + import: jmespath + +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 - - python3 - - wolfi-base + - py3-supported-build-base pipeline: - uses: fetch @@ -25,21 +31,80 @@ pipeline: uri: https://files.pythonhosted.org/packages/source/j/jmespath/jmespath-${{package.version}}.tar.gz expected-sha256: 90261b206d6defd58fdd5e85f478bf633a2901798906be2ad389150c5c60edbe - - runs: | - python3 setup.py 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}} + 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}} - - runs: | - python3 setup.py install --prefix=/usr --root="${{targets.destdir}}" --skip-build + - 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 - - uses: strip + while read line; do + echo == /$line == + /$line --help || : + done < bins.list -update: - enabled: true - release-monitor: - identifier: 78972 + - 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: | jp.py --help + +update: + enabled: true + release-monitor: + identifier: 78972 diff --git a/py3-json5.yaml b/py3-json5.yaml index 63e676648f..30a66b0d8b 100644 --- a/py3-json5.yaml +++ b/py3-json5.yaml @@ -1,24 +1,29 @@ -# Generated from https://pypi.org/project/json5/ package: name: py3-json5 version: 0.9.25 - epoch: 0 + epoch: 1 description: A Python implementation of the JSON5 data format. copyright: - license: Apache-2.0 dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: json5 + import: json5 + +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/dpranke/pyjson5 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: | + pyjson5 --version + pyjson5 --help update: enabled: true @@ -39,10 +113,3 @@ update: identifier: dpranke/pyjson5 strip-prefix: v use-tag: true - -test: - pipeline: - # AUTOGENERATED - - runs: | - pyjson5 --version - pyjson5 --help diff --git a/py3-jsondiff.yaml b/py3-jsondiff.yaml index 84ac9513bd..6c13ca987d 100644 --- a/py3-jsondiff.yaml +++ b/py3-jsondiff.yaml @@ -1,22 +1,29 @@ -# Generated from https://pypi.org/project/jsondiff/ package: name: py3-jsondiff version: 2.2.1 - epoch: 0 + epoch: 1 description: Diff JSON and JSON-like structures in Python copyright: - license: MIT dependencies: - runtime: - - py3-pyyaml + provider-priority: 0 + +vars: + pypi-package: jsondiff + import: jsondiff + +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,13 +32,78 @@ pipeline: repository: https://github.com/xlwings/jsondiff 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}}-pyyaml + 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-ldap3.yaml b/py3-ldap3.yaml index a59bac4857..48aa7fe82f 100644 --- a/py3-ldap3.yaml +++ b/py3-ldap3.yaml @@ -1,25 +1,29 @@ -# Generated from https://pypi.org/project/ldap3/ package: name: py3-ldap3 version: 2.9.1 - epoch: 0 + epoch: 1 description: A strictly RFC 4510 conforming LDAP V3 pure Python client library copyright: - license: LGPL-3.0-or-later dependencies: - runtime: - - py3-pyasn1 - - python-3 + provider-priority: 0 + +vars: + pypi-package: ldap3 + import: ldap3 + +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/cannatag/ldap3 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}}-pyasn1 + 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 diff --git a/py3-license-expression.yaml b/py3-license-expression.yaml index 768f3b087d..5c274e2fd8 100644 --- a/py3-license-expression.yaml +++ b/py3-license-expression.yaml @@ -1,25 +1,29 @@ -# Generated from https://pypi.org/project/license-expression/ package: name: py3-license-expression version: 30.3.1 - epoch: 0 + epoch: 1 description: license-expression is a comprehensive utility library to parse, compare, simplify and normalize license expressions (such as SPDX license expressions) using boolean logic. copyright: - license: Apache-2.0 dependencies: - runtime: - - py3-boolean.py - - python-3 + provider-priority: 0 + +vars: + pypi-package: license-expression + import: license_expression + +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: tag: v${{package.version}} expected-commit: 265415a2651c682157bd688a251093c1e7a2ee15 - - 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}}-boolean.py + 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 diff --git a/py3-markdown.yaml b/py3-markdown.yaml index a727cfaad9..94821264f9 100644 --- a/py3-markdown.yaml +++ b/py3-markdown.yaml @@ -1,24 +1,29 @@ package: name: py3-markdown - version: "3.7" - epoch: 0 + version: '3.7' + epoch: 1 description: Python implementation of John Gruber's Markdown. copyright: - license: BSD-3-Clause dependencies: - runtime: - - py3-importlib-metadata - - python-3 + provider-priority: 0 + +vars: + pypi-package: markdown + import: markdown + +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,81 @@ pipeline: tag: ${{package.version}} expected-commit: da03cd646d00a77786ae1e0bc79b01a5539852bc - - 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}}-importlib-metadata + 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: | + markdown_py --version + markdown_py --help update: enabled: true @@ -40,10 +116,3 @@ update: github: identifier: Python-Markdown/markdown use-tag: true - -test: - pipeline: - # AUTOGENERATED - - runs: | - markdown_py --version - markdown_py --help diff --git a/py3-mdit-py-plugins.yaml b/py3-mdit-py-plugins.yaml index a9ac2305a7..90202b84ea 100644 --- a/py3-mdit-py-plugins.yaml +++ b/py3-mdit-py-plugins.yaml @@ -1,25 +1,30 @@ -# Generated from https://pypi.org/project/mdit-py-plugins/ package: name: py3-mdit-py-plugins version: 0.4.2 - epoch: 0 + epoch: 1 description: Collection of plugins for markdown-it-py copyright: - license: MIT dependencies: - runtime: - - py3-markdown-it-py - - python-3 + provider-priority: 0 + +vars: + pypi-package: mdit-py-plugins + import: mdit_py_plugins + +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 + - py3-supported-flit-core pipeline: - uses: git-checkout @@ -28,10 +33,45 @@ pipeline: expected-commit: 2236898619148b33c51bae3c1aca380618c82db7 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}}-markdown-it-py + 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 diff --git a/py3-merge3.yaml b/py3-merge3.yaml index da881d6396..f9976a18f2 100644 --- a/py3-merge3.yaml +++ b/py3-merge3.yaml @@ -1,22 +1,29 @@ -# Generated from https://pypi.org/project/merge3/ package: name: py3-merge3 version: 0.0.15 - epoch: 0 + epoch: 1 description: Python implementation of 3-way merge copyright: - license: GPL-2.0-or-later dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: merge3 + import: merge3 + +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 @@ -24,27 +31,89 @@ pipeline: expected-sha256: d3eac213d84d56dfc9e39552ac8246c7860a940964ebeed8a8be4422f6492baf uri: https://files.pythonhosted.org/packages/source/m/merge3/merge3-${{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: - import: merge3 - runs: | - merge3 --help + imports: | + import ${{vars.import}} - runs: | - python <<'EOF' - import merge3 - m3 = merge3.Merge3( - ['common\n', 'base\n'], - ['common\n', 'a\n'], - ['common\n', 'b\n']) - assert list(m3.merge_annotated()) == ['u | common\n', '<<<<\n', 'A | a\n', '----\n', 'B | b\n', '>>>>\n'] - EOF + merge3 --help + - uses: py/one-python + with: + content: | + python3 <<'EOF' + import merge3 + m3 = merge3.Merge3( + ['common\n', 'base\n'], + ['common\n', 'a\n'], + ['common\n', 'b\n']) + assert list(m3.merge_annotated()) == ['u | common\n', '<<<<\n', 'A | a\n', '----\n', 'B | b\n', '>>>>\n'] + EOF update: enabled: true diff --git a/py3-msal.yaml b/py3-msal.yaml index 886b945cb8..1aef434793 100644 --- a/py3-msal.yaml +++ b/py3-msal.yaml @@ -1,25 +1,29 @@ -# Generated from https://pypi.org/project/msal/ package: name: py3-msal version: 1.31.0 - epoch: 0 + epoch: 1 description: The Microsoft Authentication Library (MSAL) for Python library enables your app to access the Microsoft Cloud by supporting authentication of users with Microsoft Azure Active Directory accounts (AAD) and Microsoft Accounts (MSA) using industry standard OAuth2 and OpenID Connect. copyright: - license: MIT dependencies: - runtime: - - py3-requests - - py3-pyjwt - - py3-cryptography - - py3-mock + provider-priority: 0 + +vars: + pypi-package: msal + import: msal + +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 @@ -28,13 +32,48 @@ pipeline: repository: https://github.com/AzureAD/microsoft-authentication-library-for-python 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}}-requests + - py${{range.key}}-pyjwt + - py${{range.key}}-cryptography + - py${{range.key}}-mock + 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}} - uses: python/import with: imports: | diff --git a/py3-ordered-set.yaml b/py3-ordered-set.yaml index 979a4910f8..1a22c07d69 100644 --- a/py3-ordered-set.yaml +++ b/py3-ordered-set.yaml @@ -1,22 +1,30 @@ package: name: py3-ordered-set version: 4.1.0 - epoch: 2 - description: "mutableset which remembers its order" + epoch: 3 + description: mutableset which remembers its order copyright: - license: MIT dependencies: - runtime: - - python3 + provider-priority: 0 + +vars: + pypi-package: ordered-set + import: ordered_set + +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-setuptools - - python3 - - wolfi-base + - py3-supported-build-base + - py3-supported-flit-core pipeline: - uses: fetch @@ -24,13 +32,43 @@ pipeline: uri: https://files.pythonhosted.org/packages/source/o/ordered-set/ordered-set-${{package.version}}.tar.gz expected-sha256: 694a8e44c87657c59292ede72891eb91d34131f6531463aab3009191c77364a8 - - runs: | - python3 setup.py 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}} + 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}} - - runs: | - python3 setup.py install --prefix=/usr --root="${{targets.destdir}}" --skip-build + - 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-overrides.yaml b/py3-overrides.yaml index 609de62d27..62a607fd44 100644 --- a/py3-overrides.yaml +++ b/py3-overrides.yaml @@ -1,24 +1,29 @@ -# Generated from https://pypi.org/project/overrides/ package: name: py3-overrides version: 7.7.0 - epoch: 1 + epoch: 2 description: A decorator to automatically detect mismatch when overriding a method. copyright: - license: Apache-2.0 dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: overrides + import: overrides + +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/mkorpela/overrides 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}} + 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 diff --git a/py3-pathlib2.yaml b/py3-pathlib2.yaml index 3be7813e61..c818a87ad3 100644 --- a/py3-pathlib2.yaml +++ b/py3-pathlib2.yaml @@ -1,26 +1,29 @@ -# Generated from https://pypi.org/project/pathlib2/ package: name: py3-pathlib2 version: 2.3.7 - epoch: 3 + epoch: 4 description: Object-oriented filesystem paths copyright: - license: MIT dependencies: - runtime: - - py3-six - - py3-scandir - - python-3 + provider-priority: 0 + +vars: + pypi-package: pathlib2 + import: pathlib2 + +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 @@ -29,10 +32,46 @@ pipeline: repository: https://github.com/jazzband/pathlib2 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}}-six + - py${{range.key}}-scandir + 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 diff --git a/py3-patiencediff.yaml b/py3-patiencediff.yaml index 59990eb430..e07cf65154 100644 --- a/py3-patiencediff.yaml +++ b/py3-patiencediff.yaml @@ -1,22 +1,29 @@ -# Generated from https://pypi.org/project/patiencediff/ package: name: py3-patiencediff version: 0.2.15 - epoch: 0 + epoch: 1 description: Python implementation of the patiencediff algorithm copyright: - license: GPL-2.0-or-later dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: patiencediff + import: patiencediff + +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 @@ -24,26 +31,86 @@ pipeline: expected-sha256: d00911efd32e3bc886c222c3a650291440313ee94ac857031da6cc3be7935204 uri: https://files.pythonhosted.org/packages/source/p/patiencediff/patiencediff-${{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 - - uses: strip + 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: - import: patiencediff - runs: | - patiencediff --help - - runs: | - python <<'EOF' - import patiencediff - got = ''.join(patiencediff.unified_diff( - ['a\n', 'b\n', 'b\n', 'c\n'], - ['a\n', 'c\n', 'b\n'])) - assert '+++' in got - EOF + imports: | + import ${{vars.import}} + - uses: py/one-python + with: + content: | + python3 <<'EOF' + import patiencediff + got = ''.join(patiencediff.unified_diff( + ['a\n', 'b\n', 'b\n', 'c\n'], + ['a\n', 'c\n', 'b\n'])) + assert '+++' in got + EOF update: enabled: true diff --git a/py3-pendulum.yaml b/py3-pendulum.yaml index ee63580b3a..1f8500a1c1 100644 --- a/py3-pendulum.yaml +++ b/py3-pendulum.yaml @@ -1,34 +1,36 @@ package: name: py3-pendulum version: 3.0.0 - epoch: 3 + epoch: 4 description: Python datetimes made easy copyright: - license: MIT dependencies: - runtime: - - py3-dateutil - - py3-tzdata + provider-priority: 0 + +vars: + pypi-package: pendulum + import: pendulum + +data: + - name: py-versions + items: + 3.10: '310' + 3.11: '311' + 3.12: '312' + 3.13: '300' environment: contents: repositories: packages: - - build-base - - busybox - - ca-certificates-bundle - maturin - poetry - - py3-gpep517 - - py3-installer - - py3-maturin - - py3-pip - - py3-setuptools - - py3-wheel - - python3 - - python3-dev + - py3-supported-build-base-dev + - py3-supported-gpep517 + - py3-supported-maturin + - py3-supported-pip - rust - - wolfi-base pipeline: - uses: git-checkout @@ -37,12 +39,46 @@ pipeline: tag: ${{package.version}} expected-commit: 0fcd10217af0469b3edda072f2b152d5273f3d58 - - uses: py/pip-build-install +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}}-dateutil + - py${{range.key}}-tzdata + 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}} - uses: python/import with: imports: | @@ -66,5 +102,5 @@ update: identifier: sdispater/pendulum use-tag: true ignore-regex-patterns: - - '.*a.*' # ignore tags like 3.0.0a1 - - '.*b.*' # ignore tags like 3.0.0b1 + - .*a.* # ignore tags like 3.0.0a1 + - .*b.* # ignore tags like 3.0.0b1 diff --git a/py3-pkgutil_resolve_name.yaml b/py3-pkgutil_resolve_name.yaml index 206d5ef487..1777f1030e 100644 --- a/py3-pkgutil_resolve_name.yaml +++ b/py3-pkgutil_resolve_name.yaml @@ -1,24 +1,30 @@ -# Generated from https://pypi.org/project/pkgutil_resolve_name/ package: name: py3-pkgutil_resolve_name version: 1.3.10 - epoch: 1 + epoch: 2 description: Resolve a name to an object. copyright: - license: MIT dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: pkgutil_resolve_name + import: pkgutil_resolve_name + +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 + - py3-supported-flit-core pipeline: - uses: fetch @@ -26,13 +32,43 @@ pipeline: expected-sha256: 357d6c9e6a755653cfd78893817c0853af365dd51ec97f3d358a819373bbd174 uri: https://files.pythonhosted.org/packages/source/p/pkgutil_resolve_name/pkgutil_resolve_name-${{package.version}}.tar.gz - - name: Python Build - runs: python setup.py 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}} + 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 setup.py install --prefix=/usr --root="${{targets.destdir}}" + - 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-pyasn1.yaml b/py3-pyasn1.yaml index 4decfe765e..80d66acdd9 100644 --- a/py3-pyasn1.yaml +++ b/py3-pyasn1.yaml @@ -1,7 +1,7 @@ package: name: py3-pyasn1 version: 0.6.1 - epoch: 1 + epoch: 2 description: Pure-Python implementation of ASN.1 types and DER/BER/CER codecs (X.208) copyright: - license: BSD-2-Clause @@ -40,6 +40,7 @@ subpackages: provider-priority: ${{range.value}} provides: - py3-${{vars.pypi-package}} + - py3-asn1 pipeline: - uses: py/pip-build-install with: diff --git a/py3-pycosat.yaml b/py3-pycosat.yaml index 5289ccdbaa..844957623b 100644 --- a/py3-pycosat.yaml +++ b/py3-pycosat.yaml @@ -1,26 +1,29 @@ package: name: py3-pycosat version: 0.6.6 - epoch: 0 + epoch: 1 description: Python bindings to picosat (a SAT solver) copyright: - license: MIT dependencies: - runtime: - - python3 + provider-priority: 0 + +vars: + pypi-package: pycosat + import: pycosat + +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 - - python3-dev - - wolfi-base + - py3-supported-build-base-dev pipeline: - uses: git-checkout @@ -29,20 +32,45 @@ pipeline: tag: ${{package.version}} expected-commit: 38bbc0ed7b21bd3e43dfc4be735557f06f224290 - - 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}} + 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: conda/pycosat - -test: - pipeline: - - runs: | - python -c "import pycosat" diff --git a/py3-pyfarmhash.yaml b/py3-pyfarmhash.yaml index aec4f9e9a6..13937fe9f0 100644 --- a/py3-pyfarmhash.yaml +++ b/py3-pyfarmhash.yaml @@ -1,25 +1,29 @@ -# Generated from https://pypi.org/project/pyfarmhash/ package: name: py3-pyfarmhash version: 0.3.2 - epoch: 3 + epoch: 4 description: Google FarmHash Bindings for Python copyright: - license: MIT dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: pyfarmhash + import: no-valid-import + +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 - - python-3-dev - - wolfi-base + - py3-supported-build-base-dev pipeline: - uses: fetch @@ -27,10 +31,29 @@ pipeline: expected-sha256: 4146308a0ed0b37d69003199c90fa59b155666c9deb0249b40e594cee10551ea uri: https://files.pythonhosted.org/packages/source/p/pyfarmhash/pyfarmhash-${{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}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + 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: false diff --git a/py3-python-editor.yaml b/py3-python-editor.yaml index 0e55a1e9f0..618bf83530 100644 --- a/py3-python-editor.yaml +++ b/py3-python-editor.yaml @@ -1,23 +1,29 @@ package: name: py3-python-editor version: 1.0.4 - epoch: 3 + epoch: 4 description: Programmatically open an editor, capture the result. copyright: - license: Apache-2.0 dependencies: - runtime: - - python3 + provider-priority: 0 + +vars: + pypi-package: python-editor + import: editor + +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 - - python3 - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -26,13 +32,45 @@ pipeline: expected-commit: 3cc3036d78b4cb031b5d4d16585130f977663f24 tag: ${{package.version}} - - name: Python Build - runs: python setup.py 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}}-setuptools + 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 setup.py install --prefix=/usr --root="${{targets.destdir}}" + - 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-python-gitlab.yaml b/py3-python-gitlab.yaml index 1588b735a1..5d85138e07 100644 --- a/py3-python-gitlab.yaml +++ b/py3-python-gitlab.yaml @@ -1,25 +1,30 @@ -# Generated from https://pypi.org/project/python-gitlab/ package: name: py3-python-gitlab version: 4.13.0 - epoch: 0 + epoch: 1 description: A python wrapper for the GitLab API url: https://python-gitlab.readthedocs.io copyright: - license: LGPL-3.0-or-later dependencies: - runtime: - - py3-requests - - py3-requests-toolbelt + provider-priority: 0 + +vars: + pypi-package: python-gitlab + import: gitlab + +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 - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -28,36 +33,102 @@ pipeline: repository: https://github.com/python-gitlab/python-gitlab 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}} + runtime: + - py${{range.key}}-requests + - py${{range.key}}-requests-toolbelt + 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: python-gitlab/python-gitlab - 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: - - python3 # in order to invoke 'python3' below versus python3.xx we need this. pipeline: + - uses: python/import + with: + imports: | + import ${{vars.import}} - name: Verify getting GitLab project - runs: | - cat < python-gitlab-test.py - import gitlab + uses: py/one-python + with: + content: | + cat < python-gitlab-test.py + import gitlab - gl = gitlab.Gitlab() + gl = gitlab.Gitlab() - # This ID is for the upstream project containing the GitLab source code. - project = gl.projects.get(278964) + # This ID is for the upstream project containing the GitLab source code. + project = gl.projects.get(278964) - assert project.attributes.get("web_url") == "https://gitlab.com/gitlab-org/gitlab" - EOF + assert project.attributes.get("web_url") == "https://gitlab.com/gitlab-org/gitlab" + EOF - HOME=/home/build python python-gitlab-test.py + HOME=/home/build python3 python-gitlab-test.py + - name: run cli + runs: | gitlab --version gitlab --help + +update: + enabled: true + github: + identifier: python-gitlab/python-gitlab + strip-prefix: v diff --git a/py3-python-slugify.yaml b/py3-python-slugify.yaml index 8225c8b2dc..82d71ed578 100644 --- a/py3-python-slugify.yaml +++ b/py3-python-slugify.yaml @@ -1,26 +1,29 @@ -# Generated from https://pypi.org/project/python-slugify/ package: name: py3-python-slugify version: 8.0.4 - epoch: 0 + epoch: 1 description: A Python slugify application that also handles Unicode copyright: - license: MIT dependencies: - runtime: - - py3-text-unidecode - - python3 + provider-priority: 0 + +vars: + pypi-package: python-slugify + import: slugify + +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-build - - py3-installer - - py3-setuptools - - python3 - - wolfi-base + - py3-supported-build-base pipeline: - uses: git-checkout @@ -29,21 +32,85 @@ pipeline: repository: https://github.com/un33k/python-slugify 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}} + runtime: + - py${{range.key}}-text-unidecode + 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: un33k/python-slugify - strip-prefix: v - use-tag: true + 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: | slugify --help slugify version + +update: + enabled: true + github: + identifier: un33k/python-slugify + strip-prefix: v + use-tag: true diff --git a/py3-reno.yaml b/py3-reno.yaml index 56e90c25bb..67b2ca6335 100644 --- a/py3-reno.yaml +++ b/py3-reno.yaml @@ -1,25 +1,29 @@ -# Generated from https://pypi.org/project/reno/ package: name: py3-reno version: 4.1.0 - epoch: 1 + epoch: 2 description: RElease NOtes manager copyright: - - license: "Apache-2.0" + - license: Apache-2.0 dependencies: - runtime: - - py3-pyyaml - - py3-dulwich - - py3-packaging - - py3-pbr + provider-priority: 0 + +vars: + pypi-package: reno + import: reno + +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 @@ -27,13 +31,81 @@ pipeline: expected-sha256: f992f1fdbd16215ec9de47af08131d53a2830c9e78439eb563ce8d6a7f625370 uri: https://files.pythonhosted.org/packages/source/r/reno/reno-${{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}}-pyyaml + - py${{range.key}}-dulwich + - py${{range.key}}-packaging + - py${{range.key}}-pbr + 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-requests-oauthlib.yaml b/py3-requests-oauthlib.yaml index a70a26bbd2..a75f21ff78 100644 --- a/py3-requests-oauthlib.yaml +++ b/py3-requests-oauthlib.yaml @@ -1,27 +1,31 @@ package: name: py3-requests-oauthlib version: 2.0.0 - epoch: 0 + epoch: 1 description: OAuthlib authentication support for Requests. copyright: - license: ISC dependencies: - runtime: - - py3-oauthlib - - py3-requests - - python3 + provider-priority: 0 + +vars: + pypi-package: requests-oauthlib + import: requests_oauthlib + +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-oauthlib - - py3-requests - - py3-setuptools - - python3 - - wolfi-base + - py3-supported-build-base + - py3-supported-oauthlib + - py3-supported-requests pipeline: - uses: git-checkout @@ -30,13 +34,46 @@ pipeline: tag: v${{package.version}} expected-commit: 7af9125a4fb3a21fbff4b829449a090469cf32b4 - - name: Python Build - runs: python setup.py 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}}-oauthlib + - py${{range.key}}-requests + 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 setup.py install --prefix=/usr --root="${{targets.destdir}}" + - 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-send2trash.yaml b/py3-send2trash.yaml index 878472da88..b6228ecc2f 100644 --- a/py3-send2trash.yaml +++ b/py3-send2trash.yaml @@ -1,24 +1,29 @@ -# Generated from https://pypi.org/project/Send2Trash/ package: name: py3-send2trash version: 1.8.3 - epoch: 0 + epoch: 1 description: Send file to trash natively under Mac OS X, Windows and Linux copyright: - license: BSD-3-Clause dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: send2trash + import: send2trash + +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,19 +32,81 @@ pipeline: repository: https://github.com/arsenetar/send2trash 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}} - - 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: arsenetar/send2trash + 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: | send2trash --help + +update: + enabled: true + manual: false + github: + identifier: arsenetar/send2trash diff --git a/py3-sqlparse.yaml b/py3-sqlparse.yaml index bd6a65e643..71896b427a 100644 --- a/py3-sqlparse.yaml +++ b/py3-sqlparse.yaml @@ -1,33 +1,34 @@ -# Generated from https://pypi.org/project/sqlparse/ package: name: py3-sqlparse version: 0.5.1 - epoch: 0 + epoch: 1 description: A non-validating SQL parser. copyright: - license: BSD-3-Clause dependencies: - runtime: - - python3 + provider-priority: 0 + +vars: + pypi-package: sqlparse + import: sqlparse + +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-flit-core - - py3-gpep517 - - py3-hatchling - - py3-packaging - - py3-setuptools - - py3-trove-classifiers - - py3-wheel - - python3 - - 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-flit-core + - py3-supported-gpep517 + - py3-supported-hatchling + - py3-supported-packaging + - py3-supported-trove-classifiers pipeline: - uses: git-checkout @@ -36,26 +37,82 @@ pipeline: tag: ${{package.version}} expected-commit: 2664c9eb84379842780a82512e406a17dd7351d3 - - name: Python Build - runs: | - python3 -m gpep517 build-wheel \ - --wheel-dir dist \ - --output-fd 3 3>&1 >&2 +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}} - python3 -m installer -d "${{targets.destdir}}" \ - dist/*.whl + - 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 - - uses: strip + while read line; do + echo == /$line == + /$line --help || : + done < bins.list -update: - enabled: true - github: - use-tag: true - identifier: andialbrecht/sqlparse + - 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: | sqlformat --version sqlformat --help + +update: + enabled: true + github: + use-tag: true + identifier: andialbrecht/sqlparse diff --git a/py3-tabulate.yaml b/py3-tabulate.yaml index bf16bc0062..e081facfe1 100644 --- a/py3-tabulate.yaml +++ b/py3-tabulate.yaml @@ -1,27 +1,30 @@ -# Generated from https://pypi.org/project/tabulate/ package: name: py3-tabulate version: 0.9.0 - epoch: 3 + epoch: 4 description: Pretty-print tabular data copyright: - license: MIT dependencies: - runtime: - - python3 + provider-priority: 0 + +vars: + pypi-package: tabulate + import: tabulate + +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-setuptools - - py3-setuptools-scm - - py3-wheel - - python3 - - wolfi-base + - py3-supported-build-base + - py3-supported-gpep517 pipeline: - uses: git-checkout @@ -30,16 +33,78 @@ pipeline: tag: v${{package.version}} expected-commit: bf58e37e6b35e3cc9a0bd740f752abfd32b6e6f8 - - name: Python Build - runs: | - python3 -m gpep517 build-wheel \ - --wheel-dir dist \ - --output-fd 3 3>&1 >&2 +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}} - python3 -m installer -d "${{targets.destdir}}" \ - dist/*.whl + - 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 - - uses: strip + 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: | + tabulate --help update: enabled: true @@ -47,9 +112,3 @@ update: identifier: astanin/python-tabulate strip-prefix: v use-tag: true - -test: - pipeline: - # AUTOGENERATED - - runs: | - tabulate --help diff --git a/py3-terminado.yaml b/py3-terminado.yaml index 15313b805e..06d2ac3cb7 100644 --- a/py3-terminado.yaml +++ b/py3-terminado.yaml @@ -1,29 +1,30 @@ -# Generated from https://pypi.org/project/terminado/ package: name: py3-terminado version: 0.18.1 - epoch: 0 + epoch: 1 description: Tornado websocket backend for the Xterm.js Javascript terminal emulator library. copyright: - license: BSD-3-Clause dependencies: - runtime: - - py3-ptyprocess - - py3-tornado - - python-3 + provider-priority: 0 + +vars: + pypi-package: terminado + import: terminado + +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 - 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: git-checkout @@ -32,10 +33,46 @@ pipeline: repository: https://github.com/jupyter/terminado 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}}-ptyprocess + - py${{range.key}}-tornado + 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 diff --git a/py3-testpath.yaml b/py3-testpath.yaml index c70f82bd50..7c8826ed12 100644 --- a/py3-testpath.yaml +++ b/py3-testpath.yaml @@ -1,24 +1,30 @@ -# Generated from https://pypi.org/project/testpath/ package: name: py3-testpath version: 0.6.0 - epoch: 2 + epoch: 3 description: Test utilities for code working with files and commands copyright: - - license: "BSD-3-Clause" + - license: BSD-3-Clause dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: testpath + import: testpath + +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 + - py3-supported-flit-core pipeline: - uses: git-checkout @@ -27,10 +33,43 @@ pipeline: repository: https://github.com/jupyter/testpath 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}} + 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 diff --git a/py3-tinycss2.yaml b/py3-tinycss2.yaml index 70a66f6f3c..faf660d276 100644 --- a/py3-tinycss2.yaml +++ b/py3-tinycss2.yaml @@ -1,25 +1,30 @@ -# Generated from https://pypi.org/project/tinycss2/ package: name: py3-tinycss2 version: 1.3.0 - epoch: 1 + epoch: 2 description: A tiny CSS parser copyright: - - license: "BSD-3-Clause" + - license: BSD-3-Clause dependencies: - runtime: - - py3-webencodings - - python-3 + provider-priority: 0 + +vars: + pypi-package: tinycss2 + import: tinycss2 + +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 + - py3-supported-flit-core pipeline: - uses: fetch @@ -27,10 +32,45 @@ pipeline: expected-sha256: 152f9acabd296a8375fbca5b84c961ff95971fcfc32e79550c8df8e29118c54d uri: https://files.pythonhosted.org/packages/source/t/tinycss2/tinycss2-${{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}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + runtime: + - py${{range.key}}-webencodings + 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 diff --git a/py3-trio.yaml b/py3-trio.yaml index 190749d0f8..307d2ccf7b 100644 --- a/py3-trio.yaml +++ b/py3-trio.yaml @@ -1,30 +1,30 @@ -# Generated from https://pypi.org/project/trio/ package: name: py3-trio version: 0.26.2 - epoch: 0 + epoch: 1 description: A friendly Python library for async concurrency and I/O copyright: - license: MIT - license: Apache-2.0 dependencies: - runtime: - - py3-attrs - - py3-sortedcontainers - - py3-idna - - py3-outcome - - py3-sniffio - - py3-cffi - - py3-exceptiongroup + provider-priority: 0 + +vars: + pypi-package: trio + import: trio + +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 - - python3-dev - - wolfi-base + - py3-supported-build-base-dev pipeline: - uses: git-checkout @@ -33,13 +33,51 @@ pipeline: tag: v${{package.version}} expected-commit: 993e67a7af2b337125c17f63783c703504497324 - - 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}}-attrs + - py${{range.key}}-sortedcontainers + - py${{range.key}}-idna + - py${{range.key}}-outcome + - py${{range.key}}-sniffio + - py${{range.key}}-cffi + - py${{range.key}}-exceptiongroup + 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}} - uses: python/import with: imports: | diff --git a/py3-typing-extensions.yaml b/py3-typing-extensions.yaml index c24bc3ba07..217bf6b493 100644 --- a/py3-typing-extensions.yaml +++ b/py3-typing-extensions.yaml @@ -2,7 +2,7 @@ package: name: py3-typing-extensions version: 4.12.2 - epoch: 5 + epoch: 6 description: Backported and Experimental Type Hints for Python 3.7+ copyright: - license: PSF-2.0 @@ -17,6 +17,9 @@ data: - name: py-versions items: 3.10: "310" + + - name: py-noops + items: 3.11: "311" 3.12: "312" 3.13: "300" @@ -58,6 +61,16 @@ subpackages: pipeline: - runs: python${{range.key}} -c "from ${{vars.module_name}} import TypeAlias, TypeGuard" + - range: py-noops + name: py${{range.key}}-${{vars.pypi-package}} + # typing-extensions is only needed for 3.10. Its empty dep for others + # as it is part of the stdlib. + description: ${{vars.pypi-package}} empty dep for python${{range.key}} + dependencies: + provides: + - py3-${{vars.pypi-package}} + provider-priority: ${{range.value}} + - name: py3-supported-${{vars.pypi-package}} description: meta package providing ${{vars.pypi-package}} for supported python versions. dependencies: diff --git a/py3-typing-inspect.yaml b/py3-typing-inspect.yaml index 6bbd40eaf8..48cf78ebbb 100644 --- a/py3-typing-inspect.yaml +++ b/py3-typing-inspect.yaml @@ -1,26 +1,29 @@ -# Generated from https://pypi.org/project/typing-inspect/ package: name: py3-typing-inspect version: 0.9.0 - epoch: 2 + epoch: 3 description: Runtime inspection utilities for typing module. copyright: - license: MIT dependencies: - runtime: - - py3-mypy-extensions - - py3-typing-extensions - - python-3 + provider-priority: 0 + +vars: + pypi-package: typing-inspect + import: typing_inspect + +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 @@ -29,10 +32,46 @@ pipeline: repository: https://github.com/ilevkivskyi/typing_inspect 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}}-mypy-extensions + - 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: 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-tzlocal.yaml b/py3-tzlocal.yaml index 34828e9419..728072e1ef 100644 --- a/py3-tzlocal.yaml +++ b/py3-tzlocal.yaml @@ -1,22 +1,29 @@ -# Generated from https://pypi.org/project/tzlocal/ package: name: py3-tzlocal - version: "5.2" - epoch: 0 + version: '5.2' + epoch: 1 description: tzinfo object for the local timezone copyright: - license: MIT dependencies: - runtime: - - py3-tzdata + provider-priority: 0 + +vars: + pypi-package: tzlocal + import: tzlocal + +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 @@ -24,24 +31,54 @@ pipeline: expected-sha256: 8d399205578f1a9342816409cc1e46a93ebd5755e39ea2d85334bea911bf0e6e uri: https://files.pythonhosted.org/packages/source/t/tzlocal/tzlocal-${{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}} + provides: + - ${{package.name}} + - py3-${{vars.pypi-package}} + runtime: + - py${{range.key}}-tzdata + 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: - python: python3.12 - import: tzlocal - - runs: | - cat <<'EOF' >> /tmp/test.py - from tzlocal import get_localzone - tz = get_localzone() - tz - EOF - python3 /tmp/test.py + imports: | + import ${{vars.import}} + - uses: py/one-python + with: + content: | + cat <<'EOF' >> /tmp/test.py + from tzlocal import get_localzone + tz = get_localzone() + tz + EOF + python3 /tmp/test.py update: enabled: true diff --git a/py3-udev.yaml b/py3-udev.yaml index 56075799e9..39cb62e18d 100644 --- a/py3-udev.yaml +++ b/py3-udev.yaml @@ -1,20 +1,30 @@ package: name: py3-udev version: 0.24.3 - epoch: 1 + epoch: 2 description: Python bindings to libudev copyright: - license: LGPL-2.1-or-later + dependencies: + provider-priority: 0 + +vars: + pypi-package: pyudev + import: pyudev + +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 - eudev - - py3-setuptools - - python3 + - py3-supported-build-base pipeline: - uses: git-checkout @@ -23,18 +33,47 @@ pipeline: repository: https://github.com/pyudev/pyudev tag: v${{package.version}} - - runs: | - python3 setup.py build - python3 setup.py install \ - --skip-build \ - --prefix=/usr \ - --root="${{targets.destdir}}" +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 github: identifier: pyudev/pyudev use-tag: true - strip-prefix: 'v' + strip-prefix: v diff --git a/py3-userpath.yaml b/py3-userpath.yaml index 710d694918..5a1e47540f 100644 --- a/py3-userpath.yaml +++ b/py3-userpath.yaml @@ -1,29 +1,30 @@ -# Generated from https://pypi.org/project/userpath/ package: name: py3-userpath version: 1.9.2 - epoch: 0 + epoch: 1 description: Cross-platform tool for adding locations to the user PATH copyright: - - license: "MIT" + - license: MIT dependencies: - runtime: - - py3-click - - python3 + provider-priority: 0 + +vars: + pypi-package: userpath + import: userpath + +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-build - - py3-installer - - py3-setuptools - - python3 - - 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: git-checkout @@ -32,24 +33,85 @@ pipeline: tag: v${{package.version}} expected-commit: 981085be7669815a186420e1211ed9944ab928ba - - name: Python Build - runs: | - python -m build - python3 -m installer -d "${{targets.destdir}}" dist/*.whl - find ${{targets.destdir}} -name "*.pyc" -exec rm -rf '{}' + +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}}-click + 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: ofek/userpath - use-tag: true - 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: - # AUTOGENERATED + - uses: python/import + with: + imports: | + import ${{vars.import}} - runs: | userpath --version userpath --help + +update: + enabled: true + github: + identifier: ofek/userpath + use-tag: true + strip-prefix: v diff --git a/py3-websocket-client.yaml b/py3-websocket-client.yaml index 2cdf916b7f..457324d021 100644 --- a/py3-websocket-client.yaml +++ b/py3-websocket-client.yaml @@ -1,25 +1,30 @@ package: name: py3-websocket-client version: 1.8.0 - epoch: 0 + epoch: 1 description: WebSocket client for Python with low level API options copyright: - license: Apache-2.0 dependencies: - runtime: - - python3 + provider-priority: 0 + +vars: + pypi-package: websocket-client + import: websocket + +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-setuptools - - py3-wheel - - python3 - - wolfi-base + - py3-supported-build-base + - py3-supported-gpep517 pipeline: - uses: git-checkout @@ -28,22 +33,81 @@ pipeline: tag: v${{package.version}} expected-commit: 3dc494588c4bc6ca1cbb745e9d110108f6bf04f0 - - name: Python Build - runs: python setup.py 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}} + 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}} - - name: Python Install - runs: python setup.py install --prefix=/usr --root="${{targets.destdir}}" + - 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 - - uses: strip + while read line; do + echo == /$line == + /$line --help || : + done < bins.list -update: - enabled: true - github: - identifier: websocket-client/websocket-client - strip-prefix: v + - 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: | wsdump --help + +update: + enabled: true + github: + identifier: websocket-client/websocket-client + strip-prefix: v diff --git a/py3-werkzeug.yaml b/py3-werkzeug.yaml index 77578e1cfb..f9468099c9 100644 --- a/py3-werkzeug.yaml +++ b/py3-werkzeug.yaml @@ -1,27 +1,30 @@ package: name: py3-werkzeug version: 3.0.4 - epoch: 0 + epoch: 1 description: The comprehensive WSGI web application library. copyright: - license: BSD-3-Clause dependencies: - runtime: - - py3-markupsafe - - python-3 + provider-priority: 0 + +vars: + pypi-package: werkzeug + import: werkzeug + +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 - - py3-wheel - - python-3 - - wolfi-base + - py3-supported-build-base + - py3-supported-flit-core pipeline: - uses: git-checkout @@ -30,10 +33,45 @@ pipeline: tag: ${{package.version}} expected-commit: b933ccb1f5eaf378d15ae88488bf993600fdca43 - - 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}}-markupsafe + 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 diff --git a/py3-xmltodict.yaml b/py3-xmltodict.yaml index 4313328247..4a0c7246fc 100644 --- a/py3-xmltodict.yaml +++ b/py3-xmltodict.yaml @@ -1,24 +1,29 @@ -# Generated from https://pypi.org/project/xmltodict/ package: name: py3-xmltodict version: 0.14.0 - epoch: 0 + epoch: 1 description: Makes working with XML feel like you are working with JSON copyright: - license: MIT dependencies: - runtime: - - python-3 + provider-priority: 0 + +vars: + pypi-package: xmltodict + import: xmltodict + +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,40 +32,72 @@ pipeline: tag: v${{package.version}} expected-commit: 48b47c95cfd82b77c9073d1026879da0208808cc - - 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}} - - uses: strip - -update: - enabled: true - github: - use-tag: true - identifier: martinblech/xmltodict - strip-prefix: v + - 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: - - runs: | - # Verify xmltodict is installed - python3 -c "import xmltodict" + - uses: python/import + with: + imports: | + import ${{vars.import}} + - uses: py/one-python + with: + content: | + # Verify xmltodict is installed + python3 -c "import xmltodict" + + # Test basic XML to dict conversion + python3 <<-EOF + import xmltodict - # Test basic XML to dict conversion - python3 <<-EOF - import xmltodict + xml = """value1value2""" + doc = xmltodict.parse(xml) + assert doc["root"]["item"] == ["value1", "value2"], "XML to dict conversion failed" + print("XML to dict conversion passed") + EOF - xml = """value1value2""" - doc = xmltodict.parse(xml) - assert doc["root"]["item"] == ["value1", "value2"], "XML to dict conversion failed" - print("XML to dict conversion passed") - EOF + # Test basic dict to XML conversion + python3 <<-EOF + import xmltodict - # Test basic dict to XML conversion - python3 <<-EOF - import xmltodict + data = {"root": {"item": ["value1", "value2"]}} + xml = xmltodict.unparse(data) + assert "value1" in xml and "value2" in xml, "Dict to XML conversion failed" + print("Dict to XML conversion passed") + EOF - data = {"root": {"item": ["value1", "value2"]}} - xml = xmltodict.unparse(data) - assert "value1" in xml and "value2" in xml, "Dict to XML conversion failed" - print("Dict to XML conversion passed") - EOF +update: + enabled: true + github: + use-tag: true + identifier: martinblech/xmltodict + strip-prefix: v diff --git a/ruby3.2-concurrent-ruby.yaml b/ruby3.2-concurrent-ruby.yaml index f35f485d09..6209d72c1f 100644 --- a/ruby3.2-concurrent-ruby.yaml +++ b/ruby3.2-concurrent-ruby.yaml @@ -1,6 +1,6 @@ package: name: ruby3.2-concurrent-ruby - version: 1.3.1 + version: 1.3.4 epoch: 0 description: Modern concurrency tools including agents, futures, promises, thread pools, actors, supervisors, and more. Inspired by Erlang, Clojure, Go, JavaScript, actors, and classic concurrency patterns. copyright: @@ -33,7 +33,7 @@ pipeline: # must be checked out in order for the gem to build with all files. - uses: git-checkout with: - expected-commit: b5e090b9da95c63cd006721ae6a7e594ec78512b + expected-commit: 044020f44b36930b863b930f3ee8fa1e9f750469 repository: https://github.com/ruby-concurrency/concurrent-ruby.git tag: v${{package.version}} @@ -100,7 +100,7 @@ test: - runs: mkdir -p $HOME - uses: git-checkout with: - expected-commit: b5e090b9da95c63cd006721ae6a7e594ec78512b + expected-commit: 044020f44b36930b863b930f3ee8fa1e9f750469 repository: https://github.com/ruby-concurrency/concurrent-ruby.git tag: v${{package.version}} - runs: | diff --git a/wasmtime.yaml b/wasmtime.yaml index 52a4edad71..6ad10a2174 100644 --- a/wasmtime.yaml +++ b/wasmtime.yaml @@ -1,6 +1,6 @@ package: name: wasmtime - version: 25.0.1 + version: 25.0.2 epoch: 0 description: "A fast and secure runtime for WebAssembly" copyright: @@ -24,7 +24,7 @@ pipeline: with: repository: https://github.com/bytecodealliance/wasmtime tag: v${{package.version}} - expected-commit: b4cb894c918de4e0437ae7ce9768f30670da6780 + expected-commit: 52a565bb9d8ae2f8652171fc0e7b3e81e2a3f4f4 - name: Configure and build runs: | diff --git a/zed.yaml b/zed.yaml index 8564247bd7..fd74b6586c 100644 --- a/zed.yaml +++ b/zed.yaml @@ -1,6 +1,6 @@ package: name: zed - version: 0.155.2 + version: 0.156.0 epoch: 0 description: Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter. copyright: @@ -37,7 +37,7 @@ pipeline: with: repository: https://github.com/zed-industries/zed tag: v${{package.version}} - expected-commit: 77175bfe6675f76f1b926f7e571055b6c0cc386a + expected-commit: f6d974f3b148c2d4f28b4ed97b9b6352915faeed - runs: | cargo fetch --locked