This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-asf-example.git


The following commit(s) were added to refs/heads/main by this push:
     new 86688d3  Add a note about the scope of the proposed packaging 
conventions
86688d3 is described below

commit 86688d3d34fce5204d3722135fde87c8ebd3ebb2
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed Aug 13 17:29:38 2025 +0100

    Add a note about the scope of the proposed packaging conventions
---
 .github/workflows/build_dists.yaml | 49 ++++++++++++++++++++++++++++++++++++++
 README.md                          |  2 ++
 2 files changed, 51 insertions(+)

diff --git a/.github/workflows/build_dists.yaml 
b/.github/workflows/build_dists.yaml
new file mode 100644
index 0000000..a5e7fe9
--- /dev/null
+++ b/.github/workflows/build_dists.yaml
@@ -0,0 +1,49 @@
+name: build-dists
+on: [workflow_dispatch]
+permissions: { contents: read }
+
+jobs:
+  linux:
+    name: ${{ matrix.name }}
+    strategy:
+      fail-fast: false
+      matrix:
+        include:
+          - { name: manylinux-amd64,   image: 
quay.io/pypa/manylinux_2_28_x86_64,  runs_on: ubuntu-22.04 }
+          - { name: manylinux-aarch64, image: 
quay.io/pypa/manylinux_2_28_aarch64, runs_on: ubuntu-22.04-arm }
+          - { name: musllinux-amd64,   image: 
quay.io/pypa/musllinux_1_2_x86_64,   runs_on: ubuntu-22.04 }
+          - { name: musllinux-aarch64, image: 
quay.io/pypa/musllinux_1_2_aarch64,  runs_on: ubuntu-22.04-arm }
+    runs-on: ${{ matrix.runs_on }}
+    container: ${{ matrix.image }}
+    steps:
+      - name: Checkout repository (shallow, no persisted credentials)
+        uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # 
v4.3.0
+        with:
+          fetch-depth: 1
+          persist-credentials: false
+      - name: Build dists with uv (sdist+wheel)
+        run: uv build --sdist --wheel
+      - name: Upload dists artifact (${{ matrix.name }})
+        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 
# v4.6.2
+        with:
+          name: ${{ matrix.name }}
+          path: dist/*
+
+  macos-aarch64:
+    name: macos-aarch64
+    runs-on: macos-14
+    steps:
+      - name: Checkout repository (shallow, no persisted credentials)
+        uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # 
v4.3.0
+        with:
+          fetch-depth: 1
+          persist-credentials: false
+      - name: Setup uv
+        uses: astral-sh/setup-uv@e92bafb6253dcd438e0484186d7669ea7a8ca1cc # 
v6.4.3
+      - name: Build dists with uv (sdist+wheel)
+        run: uv build --sdist --wheel
+      - name: Upload dists artifact (macos-aarch64)
+        uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 
# v4.6.2
+        with:
+          name: macos-aarch64
+          path: dist/*
diff --git a/README.md b/README.md
index b36be0b..b74ef1e 100644
--- a/README.md
+++ b/README.md
@@ -32,3 +32,5 @@ A package having three commits on `main`, then a release, 
then two more commits
 0.0.2-dev2
 0.0.2
 ```
+
+These packaging conventions are proposed only for ASF Infra and Toolings 
packages which will be published to PyPI. Other packages, for internal use, may 
use any packaging conventions. Aligning with these conventions, if adopted, 
would, however, make it easier to promote internal packages to PyPI.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to