diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index c0483e63..a0202fec 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -68,8 +68,8 @@ jobs: options: --user 0 steps: - run: yum install -y clang lld - - run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2023-05-07 --profile minimal -y - - run: rustup component add rust-src --toolchain nightly-2023-05-07-x86_64-unknown-linux-gnu + - run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2023-05-31 --profile minimal -y + - run: rustup component add rust-src --toolchain nightly-2023-05-31-x86_64-unknown-linux-gnu - uses: actions/checkout@v3 - name: build-std @@ -139,7 +139,7 @@ jobs: RUSTFLAGS: "-C target-feature=-crt-static" CARGO_UNSTABLE_SPARSE_REGISTRY: "true" with: - rust-toolchain: nightly-2023-05-07 + rust-toolchain: nightly-2023-05-31 rustup-components: rust-src target: ${{ matrix.platform.target }} manylinux: musllinux_1_1 @@ -228,7 +228,7 @@ jobs: CARGO_FEATURE_YYJSON: "1" with: target: ${{ matrix.target.target }} - rust-toolchain: nightly-2023-05-07 + rust-toolchain: nightly-2023-05-31 rustup-components: rust-src manylinux: auto args: --release --strip --out=dist -i python${{ matrix.python.version }} diff --git a/.github/workflows/next.yaml b/.github/workflows/next.yaml index e7807aa5..e34b39a5 100644 --- a/.github/workflows/next.yaml +++ b/.github/workflows/next.yaml @@ -21,7 +21,7 @@ jobs: image: registry.hub.docker.com/library/python:3.12-rc-bullseye options: --user 0 steps: - - run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2023-05-07 --profile minimal -y + - run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly-2023-05-31 --profile minimal -y - run: python3 -m pip install --user --upgrade pip "maturin>=1,<2" wheel - uses: actions/checkout@v3 diff --git a/Cargo.lock b/Cargo.lock index d326523e..b9c89b9c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -13,6 +13,12 @@ dependencies = [ "version_check", ] +[[package]] +name = "android-tzdata" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" + [[package]] name = "arrayvec" version = "0.7.2" @@ -75,11 +81,11 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.24" +version = "0.4.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e3c5919066adf22df73762e50cffcde3a758f2a848b113b586d1f86728b673b" +checksum = "ec837a71355b28f6556dbd569b37b3f363091c0bd4b2e735674521b4c5fd9bc5" dependencies = [ - "num-integer", + "android-tzdata", "num-traits", ] @@ -131,16 +137,6 @@ version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a" -[[package]] -name = "num-integer" -version = "0.1.45" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" -dependencies = [ - "autocfg", - "num-traits", -] - [[package]] name = "num-traits" version = "0.2.15" @@ -152,9 +148,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.17.1" +version = "1.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" +checksum = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b" [[package]] name = "orjson" @@ -194,9 +190,9 @@ dependencies = [ [[package]] name = "pyo3-build-config" -version = "0.18.3" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cb946f5ac61bb61a5014924910d936ebd2b23b705f7a4a3c40b05c720b079a3" +checksum = "713eccf888fb05f1a96eb78c0dbc51907fee42b3377272dc902eb38985f418d5" dependencies = [ "once_cell", "target-lexicon", @@ -204,9 +200,9 @@ dependencies = [ [[package]] name = "pyo3-ffi" -version = "0.18.3" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fd4d7c5337821916ea2a1d21d1092e8443cf34879e53a0ac653fbb98f44ff65c" +checksum = "5b2ecbdcfb01cbbf56e179ce969a048fd7305a66d4cdf3303e0da09d69afe4c3" dependencies = [ "libc", "pyo3-build-config", diff --git a/Cargo.toml b/Cargo.toml index 785ffb12..b6b8f40a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,7 +54,7 @@ encoding_rs = { version = "0.8", default_features = false } itoa = { version = "1", default_features = false } itoap = { version = "1", features = ["std", "simd"] } once_cell = { version = "1", default_features = false, features = ["race"] } -pyo3-ffi = { version = "^0.18.3", default_features = false, features = ["extension-module"]} +pyo3-ffi = { version = "0.19", default_features = false, features = ["extension-module"]} ryu = { version = "1", default_features = false } serde = { version = "1", default_features = false } serde_json = { version = "1", default_features = false, features = ["std", "float_roundtrip"] } @@ -63,7 +63,7 @@ smallvec = { version = "^1.10", default_features = false, features = ["union", " [build-dependencies] cc = { version = "1" } -pyo3-build-config = { version = "^0.18.3" } +pyo3-build-config = { version = "0.19" } version_check = { version = "0.9" } [profile.release] diff --git a/README.md b/README.md index 6c66411a..1433e3e5 100644 --- a/README.md +++ b/README.md @@ -1195,7 +1195,7 @@ It benefits from also having a C build environment to compile a faster deserialization backend. See this project's `manylinux_2_28` builds for an example using clang and LTO. -The project's own CI tests against `nightly-2023-05-07` and stable 1.60. It +The project's own CI tests against `nightly-2023-05-31` and stable 1.60. It is prudent to pin the nightly version because that channel can introduce breaking changes. diff --git a/ci/azure-pipelines.yml b/ci/azure-pipelines.yml index ab7d11a7..104bce71 100644 --- a/ci/azure-pipelines.yml +++ b/ci/azure-pipelines.yml @@ -1,5 +1,5 @@ variables: - toolchain: nightly-2023-05-07 + toolchain: nightly-2023-05-31 jobs: