Skip to content

Commit 5a7c6e3

Browse files
Bump shared core (#76)
* Bump shared core * Update pyo3
1 parent 47b61a1 commit 5a7c6e3

File tree

4 files changed

+39
-47
lines changed

4 files changed

+39
-47
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
args: --release --out dist --find-interpreter
5454
sccache: 'true'
5555
# See https://github.com/PyO3/maturin-action/issues/222
56-
manylinux: ${{ matrix.platform.target == 'aarch64' && '2_28' || 'auto' }}
56+
manylinux: auto
5757
- name: Upload wheels
5858
uses: actions/upload-artifact@v4
5959
with:
@@ -135,8 +135,19 @@ jobs:
135135
name: Release
136136
runs-on: ubuntu-latest
137137
needs: [linux, musllinux, macos, sdist]
138+
permissions:
139+
# Use to sign the release artifacts
140+
id-token: write
141+
# Used to upload release artifacts
142+
contents: write
143+
# Used to generate artifact attestation
144+
attestations: write
138145
steps:
139146
- uses: actions/download-artifact@v4
147+
- name: Generate artifact attestation
148+
uses: actions/attest-build-provenance@v2
149+
with:
150+
subject-path: 'wheels-*/*'
140151
- name: Publish to PyPI
141152
uses: PyO3/maturin-action@v1
142153
env:

Cargo.lock

Lines changed: 24 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ crate-type = ["cdylib"]
1212
doc = false
1313

1414
[dependencies]
15-
pyo3 = { version = "0.22.6", features = ["extension-module"] }
15+
pyo3 = { version = "0.24.1", features = ["extension-module"] }
1616
tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }
17-
restate-sdk-shared-core = { git = "https://github.com/restatedev/sdk-shared-core.git", branch = "main", features = ["request_identity", "sha2_random_seed"] }
17+
restate-sdk-shared-core = { version = "0.3.0", features = ["request_identity", "sha2_random_seed"] }

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ impl PyVM {
451451
.expect("Duration since unix epoch cannot fail");
452452
self_
453453
.vm
454-
.sys_sleep(now + Duration::from_millis(millis), Some(now))
454+
.sys_sleep(String::default(), now + Duration::from_millis(millis), Some(now))
455455
.map(Into::into)
456456
.map_err(Into::into)
457457
}

0 commit comments

Comments
 (0)