From 7e97b6ca86f94a7e9637c46c71090e8445ccd2f7 Mon Sep 17 00:00:00 2001 From: Jonathan Ehwald Date: Thu, 30 Jan 2025 04:26:06 +0100 Subject: [PATCH 1/3] Upgrade to gamedig 0.6.1 --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- uv.lock | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 883f23d..d301d01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -81,9 +81,9 @@ dependencies = [ [[package]] name = "gamedig" -version = "0.5.2" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f766c5368a4bed0eabd7c717668f27d1f0d06414cb7b507522e7b1e2a041840" +checksum = "77363cd75557470c81cba4247f0dc86cdf2b3a362dc483d1d02d2bc27989aaff" dependencies = [ "base64", "byteorder", diff --git a/Cargo.toml b/Cargo.toml index 6f11674..2eb683f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,6 +9,6 @@ name = "gamedig" crate-type = ["cdylib"] [dependencies] -gamedig = { version = "0.5.2", features = ["serde"] } +gamedig = { version = "0.6.1", features = ["serde"] } pyo3 = "0.22.5" serde-pyobject = "0.4.0" diff --git a/uv.lock b/uv.lock index 4a69688..c50d161 100644 --- a/uv.lock +++ b/uv.lock @@ -21,7 +21,6 @@ wheels = [ [[package]] name = "gamedig" -version = "0.1.0" source = { editable = "." } [package.dev-dependencies] From 2f6287d9470031dc222620bc80bd693aaac5d7ff Mon Sep 17 00:00:00 2001 From: Jonathan Ehwald Date: Thu, 30 Jan 2025 04:26:45 +0100 Subject: [PATCH 2/3] Bump version to 0.5.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d301d01..2de37f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -295,7 +295,7 @@ dependencies = [ [[package]] name = "python-gamedig" -version = "0.4.0" +version = "0.5.0" dependencies = [ "gamedig", "pyo3", diff --git a/Cargo.toml b/Cargo.toml index 2eb683f..f0bb99d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "python-gamedig" -version = "0.4.0" +version = "0.5.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html From e604fb032da36b1b24b6baaac703104e82970922 Mon Sep 17 00:00:00 2001 From: Jonathan Ehwald Date: Thu, 30 Jan 2025 04:45:51 +0100 Subject: [PATCH 3/3] Fix usage of unavailable macos environment --- .github/workflows/CI.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ad3ec43..4e65609 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,4 +1,4 @@ -# This file is autogenerated by maturin v1.7.4 +# This file is autogenerated by maturin v1.8.1 # To update, run # # maturin generate-ci github @@ -24,17 +24,17 @@ jobs: strategy: matrix: platform: - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86_64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: aarch64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: armv7 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: s390x - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: ppc64le steps: - uses: actions/checkout@v4 @@ -59,13 +59,13 @@ jobs: strategy: matrix: platform: - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86_64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: x86 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: aarch64 - - runner: ubuntu-latest + - runner: ubuntu-22.04 target: armv7 steps: - uses: actions/checkout@v4 @@ -117,7 +117,7 @@ jobs: strategy: matrix: platform: - - runner: macos-12 + - runner: macos-13 target: x86_64 - runner: macos-14 target: aarch64 @@ -172,7 +172,7 @@ jobs: with: subject-path: 'wheels-*/*' - name: Publish to PyPI - if: "startsWith(github.ref, 'refs/tags/')" + if: ${{ startsWith(github.ref, 'refs/tags/') }} uses: PyO3/maturin-action@v1 env: MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}