You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datasketches.apache.org by jm...@apache.org on 2024/02/08 04:14:36 UTC

(datasketches-python) branch 5.0.x-patch created (now 3e71a48)

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

jmalkin pushed a change to branch 5.0.x-patch
in repository https://gitbox.apache.org/repos/asf/datasketches-python.git


      at 3e71a48  v5.0.1

This branch includes the following new commits:

     new 6b1c38d  Fix to generate proper Apple Silicon wheels, bump versions to mitigate GH warnings
     new 684f62e  version bump dependencies for other workflows
     new 5c47bce  don't try to name aritfact
     new df73ee7  bump versions for source artifact
     new 074643a  unique artifact names and merge into one at the end
     new 5592101  use PYTHON_VERSION variable consistently
     new c4ba296  Bump qemu version, tidy up naming
     new 3e71a48  v5.0.1

The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


(datasketches-python) 06/08: use PYTHON_VERSION variable consistently

Posted by jm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch 5.0.x-patch
in repository https://gitbox.apache.org/repos/asf/datasketches-python.git

commit 5592101b9d89225b51f419c3ebfd1c4d6bad2106
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Wed Feb 7 19:06:07 2024 -0800

    use PYTHON_VERSION variable consistently
---
 .github/workflows/build_wheels.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index 2350e94..96e8414 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -75,10 +75,10 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v4
 
-      - name: Set up Python 3.x
+      - name: Set up Python ${{ env.PYTHON_VERSION }}
         uses: actions/setup-python@v5
         with:
-          python-version: '3.x'
+          python-version: ${{ env.PYTHON_VERSION }}
 
       - name: Set up QEMU for linux/arm64 builds
         if: runner.os == 'Linux' && matrix.config.use-qemu == true


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


(datasketches-python) 01/08: Fix to generate proper Apple Silicon wheels, bump versions to mitigate GH warnings

Posted by jm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch 5.0.x-patch
in repository https://gitbox.apache.org/repos/asf/datasketches-python.git

commit 6b1c38deac56c8fa87f2d24174f978a78fb64734
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Wed Feb 7 17:47:34 2024 -0800

    Fix to generate proper Apple Silicon wheels, bump versions to mitigate GH warnings
---
 .github/workflows/build_wheels.yml | 10 +++++++---
 pyproject.toml                     |  3 ---
 2 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index a668a67..54d139f 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -69,10 +69,10 @@ jobs:
 
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
 
       - name: Set up Python 3.x
-        uses: actions/setup-python@v4
+        uses: actions/setup-python@v5
         with:
           python-version: '3.x'
 
@@ -88,8 +88,12 @@ jobs:
       - name: Build wheels
         run: python -m cibuildwheel --output-dir dist
         env:
+          CIBW_ENVIRONMENT_MACOS: CMAKE_OSX_ARCHITECTURES=${{ matrix.config.cibw-arch == 'macosx_x86_64' && 'x86_64' || matrix.config.cibw-arch == 'macosx_arm64' && 'arm64' || '' }}
           CIBW_BUILD: "*-${{ matrix.config.cibw-arch }}"
+          MACOSX_DEPLOYMENT_TARGET: "10.14" # min supporting c++17
 
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         with:
+          name: pypi_wheels
           path: ./dist/*.whl
+          compression-level: 0 # contents are already compressed
diff --git a/pyproject.toml b/pyproject.toml
index ff2becd..5c584ec 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -36,6 +36,3 @@ before-build = "yum remove -y cmake"
 
 [tool.cibuildwheel.macos]
 archs = ["x86_64", "arm64"]
-
-# Minimum version for proper C++17 support on MacOS
-environment = { MACOSX_DEPLOYMENT_TARGET = "10.14" }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


(datasketches-python) 03/08: don't try to name aritfact

Posted by jm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch 5.0.x-patch
in repository https://gitbox.apache.org/repos/asf/datasketches-python.git

commit 5c47bce5f45ec9bdd36c7b96f87c70e5d74a68df
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Wed Feb 7 17:58:16 2024 -0800

    don't try to name aritfact
---
 .github/workflows/build_wheels.yml | 1 -
 1 file changed, 1 deletion(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index 54d139f..7a6704c 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -94,6 +94,5 @@ jobs:
 
       - uses: actions/upload-artifact@v4
         with:
-          name: pypi_wheels
           path: ./dist/*.whl
           compression-level: 0 # contents are already compressed


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


(datasketches-python) 08/08: v5.0.1

Posted by jm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch 5.0.x-patch
in repository https://gitbox.apache.org/repos/asf/datasketches-python.git

commit 3e71a481f31917c0292b70aa9b5a092a9e225718
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Wed Feb 7 20:14:04 2024 -0800

    v5.0.1
---
 version.cfg.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/version.cfg.in b/version.cfg.in
index 0062ac9..6b244dc 100644
--- a/version.cfg.in
+++ b/version.cfg.in
@@ -1 +1 @@
-5.0.0
+5.0.1


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


(datasketches-python) 04/08: bump versions for source artifact

Posted by jm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch 5.0.x-patch
in repository https://gitbox.apache.org/repos/asf/datasketches-python.git

commit df73ee7bb545d5aac9ba38063557294315265ce5
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Wed Feb 7 18:02:06 2024 -0800

    bump versions for source artifact
---
 .github/workflows/build_wheels.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index 7a6704c..c41dbc2 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -12,9 +12,9 @@ jobs:
     name: Source distribution
     runs-on: ubuntu-latest
     steps:
-      - uses: actions/checkout@v3
+      - uses: actions/checkout@v4
 
-      - uses: actions/setup-python@v4
+      - uses: actions/setup-python@v5
         name: Install Python
         with:
           python-version: '3.x'
@@ -25,9 +25,11 @@ jobs:
       - name: Build sdist
         run: python -m build --sdist --outdir dist
 
-      - uses: actions/upload-artifact@v3
+      - uses: actions/upload-artifact@v4
         with:
           path: dist/*.tar.gz
+          compression-level: 0 # contents are already compressed
+
 
   build_wheels:
     name: ${{ matrix.config.name }}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


(datasketches-python) 05/08: unique artifact names and merge into one at the end

Posted by jm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch 5.0.x-patch
in repository https://gitbox.apache.org/repos/asf/datasketches-python.git

commit 074643a1ccdcd325a27a33a5161937ac27916980
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Wed Feb 7 19:04:59 2024 -0800

    unique artifact names and merge into one at the end
---
 .github/workflows/build_wheels.yml | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index c41dbc2..2350e94 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -6,6 +6,7 @@ on:
 env:
   BUILD_TYPE: Release
   MIN_CIBUILDWHEEL_VERSION: 2.16.2
+  PYTHON_VERSION: 3.11
 
 jobs:
   build_sdist:
@@ -17,7 +18,7 @@ jobs:
       - uses: actions/setup-python@v5
         name: Install Python
         with:
-          python-version: '3.x'
+          python-version: ${{ env.PYTHON_VERSION }}
 
       - name: Install build package
         run: python -m pip install build --user
@@ -27,6 +28,7 @@ jobs:
 
       - uses: actions/upload-artifact@v4
         with:
+          name: sdist
           path: dist/*.tar.gz
           compression-level: 0 # contents are already compressed
 
@@ -96,5 +98,19 @@ jobs:
 
       - uses: actions/upload-artifact@v4
         with:
+          name: wheel-${{ matrix.config.os }}-${{ matrix.config.cibw-arch }}
           path: ./dist/*.whl
           compression-level: 0 # contents are already compressed
+
+
+  aggregate_artifact:
+    name: Aggregate artifact
+    runs-on: ubuntu-latest
+    needs: [build_sdist, build_wheels]
+    steps:
+      - name: Merge Artifacts
+        uses: actions/upload-artifact/merge@v4
+        with:
+          name: python_wheels
+          compression-level: 0
+          delete-merged: true


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


(datasketches-python) 02/08: version bump dependencies for other workflows

Posted by jm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch 5.0.x-patch
in repository https://gitbox.apache.org/repos/asf/datasketches-python.git

commit 684f62e0ec9c3a7cb3c6d73102c8725a1c86f186
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Wed Feb 7 17:55:25 2024 -0800

    version bump dependencies for other workflows
---
 .github/workflows/ci.yml     | 4 ++--
 .github/workflows/sphinx.yml | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index adddde1..ae2699c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -35,9 +35,9 @@ jobs:
             
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       - name: Set up Python 3.x
-        uses: actions/setup-python@v4
+        uses: actions/setup-python@v5
         # 3.x uses the latest minor version of python3. This may break briefly when there is a new version
         # but dependent libraries (e.g. numpy) have not yet released a compatible update.
         # May need to enable version pinning (e.g. 3.10) temporarily at times.
diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml
index 1b30f34..12e864f 100644
--- a/.github/workflows/sphinx.yml
+++ b/.github/workflows/sphinx.yml
@@ -11,9 +11,9 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout
-        uses: actions/checkout@v3
+        uses: actions/checkout@v4
       - name: Install Python
-        uses: actions/setup-python@v4
+        uses: actions/setup-python@v5
         with:
           python-version: '3.x'
       - name: Install Datasketches and Sphinx


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org


(datasketches-python) 07/08: Bump qemu version, tidy up naming

Posted by jm...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

jmalkin pushed a commit to branch 5.0.x-patch
in repository https://gitbox.apache.org/repos/asf/datasketches-python.git

commit c4ba296de73fdadc6e94572289d031633c259554
Author: Jon Malkin <78...@users.noreply.github.com>
AuthorDate: Wed Feb 7 19:43:33 2024 -0800

    Bump qemu version, tidy up naming
---
 .github/workflows/build_wheels.yml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index 96e8414..c7453e2 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -6,7 +6,7 @@ on:
 env:
   BUILD_TYPE: Release
   MIN_CIBUILDWHEEL_VERSION: 2.16.2
-  PYTHON_VERSION: 3.11
+  PYTHON_VERSION: 3.x
 
 jobs:
   build_sdist:
@@ -75,14 +75,14 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v4
 
-      - name: Set up Python ${{ env.PYTHON_VERSION }}
+      - name: Set up Python
         uses: actions/setup-python@v5
         with:
           python-version: ${{ env.PYTHON_VERSION }}
 
       - name: Set up QEMU for linux/arm64 builds
         if: runner.os == 'Linux' && matrix.config.use-qemu == true
-        uses: docker/setup-qemu-action@v2
+        uses: docker/setup-qemu-action@v3
         with:
           platforms: arm64
 
@@ -98,13 +98,13 @@ jobs:
 
       - uses: actions/upload-artifact@v4
         with:
-          name: wheel-${{ matrix.config.os }}-${{ matrix.config.cibw-arch }}
+          name: wheels-${{ matrix.config.os }}-${{ matrix.config.cibw-arch }}
           path: ./dist/*.whl
           compression-level: 0 # contents are already compressed
 
 
-  aggregate_artifact:
-    name: Aggregate artifact
+  aggregate_artifacts:
+    name: Aggregate artifacts
     runs-on: ubuntu-latest
     needs: [build_sdist, build_wheels]
     steps:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datasketches.apache.org
For additional commands, e-mail: commits-help@datasketches.apache.org