Skip to content

Commit

Permalink
maturin 1.8 break, metadata 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
ijl committed Dec 29, 2024
1 parent e5ddb0b commit 2bb5e5b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ env:
UNSAFE_PYO3_BUILD_FREE_THREADED: "1"
UNSAFE_PYO3_SKIP_VERSION_CHECK: "1"
UV_LINK_MODE: "copy"
UV_PYTHON_DOWNLOADS: "never"
jobs:

sdist:
Expand Down Expand Up @@ -642,6 +643,18 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: false
version: "0.5.x"

- uses: actions/download-artifact@v4
with:
merge-multiple: true
Expand All @@ -650,14 +663,5 @@ jobs:

- run: ls -1 dist/

- uses: actions/setup-python@v5
with:
python-version: "3.12"

- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
attestations: true
packages-dir: dist
skip-existing: true
verbose: true
- name: Publish to PyPI
run: uv publish --trusted-publishing=always dist/*
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[project]
name = "orjson"
version = "3.10.12"
repository = "https://github.com/ijl/orjson"
requires-python = ">=3.8"
classifiers = [
Expand Down

0 comments on commit 2bb5e5b

Please sign in to comment.