From c5614bda6035210dff239c9ccb6426f2fe27fea2 Mon Sep 17 00:00:00 2001 From: Piotr Roslaniec Date: Thu, 23 Nov 2023 11:01:57 +0100 Subject: [PATCH 1/3] chore(python): add support for python 3.12 --- .github/workflows/umbral-pre.yml | 2 +- .github/workflows/wheels.yml | 4 ++-- umbral-pre-python/setup.py | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/umbral-pre.yml b/.github/workflows/umbral-pre.yml index f05fc86..b6ada48 100644 --- a/.github/workflows/umbral-pre.yml +++ b/.github/workflows/umbral-pre.yml @@ -106,7 +106,7 @@ jobs: rust: - stable python: - - "3.10" + - "3.12" steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index a3ddc03..5c5654c 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -49,7 +49,7 @@ jobs: - uses: actions/setup-python@v2 name: Install Python with: - python-version: '3.8' + python-version: '3.12' - name: Install cibuildwheel run: | @@ -82,7 +82,7 @@ jobs: - uses: actions/setup-python@v2 name: Install Python with: - python-version: '3.8' + python-version: '3.12' - name: Install setuptools and setuptools-rust working-directory: ./umbral-pre-python diff --git a/umbral-pre-python/setup.py b/umbral-pre-python/setup.py index 4ca02db..2193856 100644 --- a/umbral-pre-python/setup.py +++ b/umbral-pre-python/setup.py @@ -33,6 +33,8 @@ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Security :: Cryptography", ], ) From b7d8f06da51aa198eea93204073020d4f8627f20 Mon Sep 17 00:00:00 2001 From: Piotr Roslaniec Date: Mon, 4 Dec 2023 10:57:34 +0100 Subject: [PATCH 2/3] chore(ci): bump gh actions versions --- .github/workflows/umbral-pre.yml | 10 +++++----- .github/workflows/wheels.yml | 12 ++++++------ .github/workflows/workspace.yml | 4 ++-- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/umbral-pre.yml b/.github/workflows/umbral-pre.yml index b6ada48..d7b45b7 100644 --- a/.github/workflows/umbral-pre.yml +++ b/.github/workflows/umbral-pre.yml @@ -32,7 +32,7 @@ jobs: target: - wasm32-unknown-unknown steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -52,7 +52,7 @@ jobs: target: - thumbv7em-none-eabi steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -88,7 +88,7 @@ jobs: rust: stable steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: profile: minimal @@ -108,7 +108,7 @@ jobs: python: - "3.12" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} @@ -149,7 +149,7 @@ jobs: codecov: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: profile: minimal diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 5c5654c..3fb71eb 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -20,7 +20,7 @@ jobs: CIBW_SKIP: "cp36-* pp* *-win32 *musllinux*" # only using manylinux to build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: @@ -46,7 +46,7 @@ jobs: image: tonistiigi/binfmt:latest platforms: arm64 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.12' @@ -77,9 +77,9 @@ jobs: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v4 name: Install Python with: python-version: '3.12' @@ -115,11 +115,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: artifact path: dist - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: artifact path: wheelhouse diff --git a/.github/workflows/workspace.yml b/.github/workflows/workspace.yml index 5769d4f..efe1556 100644 --- a/.github/workflows/workspace.yml +++ b/.github/workflows/workspace.yml @@ -20,7 +20,7 @@ jobs: clippy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - uses: actions-rs/toolchain@v1 with: toolchain: stable @@ -33,7 +33,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v1 + uses: actions/checkout@v4 - name: Install stable toolchain uses: actions-rs/toolchain@v1 From 8017f6ffa33481561f665ffd43bc5ba3ff36e393 Mon Sep 17 00:00:00 2001 From: Piotr Roslaniec Date: Mon, 4 Dec 2023 10:58:33 +0100 Subject: [PATCH 3/3] chore(ci): run tests with python 3.8 too --- .github/workflows/umbral-pre.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/umbral-pre.yml b/.github/workflows/umbral-pre.yml index d7b45b7..838d48c 100644 --- a/.github/workflows/umbral-pre.yml +++ b/.github/workflows/umbral-pre.yml @@ -105,8 +105,7 @@ jobs: matrix: rust: - stable - python: - - "3.12" + python: ["3.8", "3.12"] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4