From 199d06c2a9199ebcd131f01a7c52b4b6c708b145 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 07:19:23 +0000 Subject: [PATCH 1/3] Initial plan From 9846fc9c71fa44cbc37c3c3096de0f3879a7613c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 07:22:24 +0000 Subject: [PATCH 2/3] Add PyPI publish workflow and enhance pyproject.toml metadata Co-authored-by: asantini29 <79840851+asantini29@users.noreply.github.com> --- .github/workflows/publish.yml | 56 +++++++++++++++++++++++++++++++++++ pyproject.toml | 15 ++++++++++ 2 files changed, 71 insertions(+) create mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..7577652 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,56 @@ +name: Publish to PyPI + +on: + push: + branches: + - master + +permissions: + contents: read + +jobs: + build: + name: Build distribution + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.11' + + - name: Install build dependencies + run: python -m pip install --upgrade build + + - name: Build package + run: python -m build + + - name: Upload distribution artifact + uses: actions/upload-artifact@v4 + with: + name: python-package-distributions + path: dist/ + + publish: + name: Publish to PyPI + needs: build + runs-on: ubuntu-latest + + environment: + name: pypi + url: https://pypi.org/p/cudakima + + permissions: + id-token: write # Required for OIDC trusted publishing + + steps: + - name: Download distributions + uses: actions/download-artifact@v4 + with: + name: python-package-distributions + path: dist/ + + - name: Publish to PyPI + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/pyproject.toml b/pyproject.toml index 8258dd7..3bfad7c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,11 +8,26 @@ authors = [ license = { text = "MIT" } readme = "README.md" requires-python = ">=3.11" +keywords = ["akima", "spline", "interpolation", "GPU", "CUDA", "numba"] +classifiers = [ + "Development Status :: 4 - Beta", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Topic :: Scientific/Engineering :: Mathematics", +] + dependencies = [ "numpy==2.3.5", "numba==0.63.1", ] +[project.urls] +Homepage = "https://github.com/asantini29/CudAkima" +Repository = "https://github.com/asantini29/CudAkima" +Documentation = "https://asantini29.github.io/CudAkima/" +"Bug Tracker" = "https://github.com/asantini29/CudAkima/issues" + [project.optional-dependencies] docs = [ "sphinx>=7.0.0", From 2f999da8c554efaa4a07c6a2f7ee600b7979fa60 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 26 Feb 2026 07:31:11 +0000 Subject: [PATCH 3/3] Change workflow trigger to main and relax numpy/numba version constraints Co-authored-by: asantini29 <79840851+asantini29@users.noreply.github.com> --- .github/workflows/publish.yml | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7577652..e124c91 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,7 +3,7 @@ name: Publish to PyPI on: push: branches: - - master + - main permissions: contents: read diff --git a/pyproject.toml b/pyproject.toml index 3bfad7c..92926ee 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,8 +18,8 @@ classifiers = [ ] dependencies = [ - "numpy==2.3.5", - "numba==0.63.1", + "numpy>=2.3.5", + "numba>=0.63.1", ] [project.urls]