Bump uuid from 1.22.0 to 1.23.0 (#7565)

* Bump uuid from 1.22.0 to 1.23.0

Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.22.0...v1.23.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-version: 1.23.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix CI for uuid 1.23.0 Context deprecation

Agent-Logs-Url: https://github.com/RustPython/RustPython/sessions/bec0d567-f41e-407f-bf99-0463ca555f74

Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: youknowone <69878+youknowone@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2026-04-23 15:26:19 +09:00
1 parent 76057ed074
commit 5bcb75bc0f
3 files changed
+5 -5

No files matched your search

Generated
+2 -2
View File
@@ -4341,9 +4341,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
[[package]]
name = "uuid"
version = "1.22.0"
version = "1.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a68d3c8f01c0cfa54a75291d83601161799e4a89a39e0929f4b0354d88757a37"
checksum = "5ac8b6f42ead25368cf5b098aeb3dc8a1a2c05a3eee8a9a1a68c640edbfc79d9"
dependencies = [
"atomic",
"js-sys",
+1 -1
View File
@@ -99,7 +99,7 @@ chrono.workspace = true
# uuid
[target.'cfg(not(any(target_os = "ios", target_os = "android", target_os = "windows", target_arch = "wasm32", target_os = "redox")))'.dependencies]
mac_address = "1.1.3"
uuid = { version = "1.22.0", features = ["v1"] }
uuid = { version = "1.23.0", features = ["v1"] }
[target.'cfg(all(unix, not(target_os = "redox"), not(target_os = "ios")))'.dependencies]
termios = "0.3.3"
+2 -2
View File
@@ -5,7 +5,7 @@ mod _uuid {
use crate::{builtins::PyNone, vm::VirtualMachine};
use mac_address::get_mac_address;
use std::sync::OnceLock;
use uuid::{Context, Uuid, timestamp::Timestamp};
use uuid::{ContextV1, Uuid, timestamp::Timestamp};
fn get_node_id() -> [u8; 6] {
match get_mac_address() {
@@ -17,7 +17,7 @@ mod _uuid {
#[pyfunction]
fn generate_time_safe() -> (Vec<u8>, PyNone) {
static CONTEXT: Context = Context::new(0);
static CONTEXT: ContextV1 = ContextV1::new(0);
let ts = Timestamp::now(&CONTEXT);
static NODE_ID: OnceLock<[u8; 6]> = OnceLock::new();