Skip to content

Commit a0a487a

Browse files
authored
Bump dependencies (#46)
1 parent a55e00a commit a0a487a

File tree

6 files changed

+18
-24
lines changed

6 files changed

+18
-24
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ name = "neo4j_rust_ext"
1010
crate-type = ["cdylib"]
1111

1212
[dependencies]
13-
pyo3 = "0.24.2"
13+
pyo3 = "0.25.1"

changelog.d/46.pkg.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Update dependencies<ISSUES_LIST>.
2+
* `PyO3`: `0.24.2` -> `0.25.1`
3+
* `maturin`: `1.9.0` -> `1.9.1`

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pandas = ["neo4j[pandas]"]
5858
pyarrow = ["neo4j[pyarrow]"]
5959

6060
[build-system]
61-
requires = ["maturin ~= 1.9.0"]
61+
requires = ["maturin ~= 1.9.1"]
6262
build-backend = "maturin"
6363

6464
[tool.maturin]

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ pytest-benchmark>=5.1.0
1313
freezegun>=1.5.1
1414

1515
# for packaging
16-
maturin>=1.8.3
16+
maturin~=1.9.1
1717
towncrier>=24.8.0

src/v1/unpack.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,7 @@ impl<'a> PackStreamDecoder<'a> {
135135
_ => {
136136
// raise ValueError("Unknown PackStream marker %02X" % marker)
137137
return Err(PyErr::new::<PyValueError, _>(format!(
138-
"Unknown PackStream marker {:02X}",
139-
marker
138+
"Unknown PackStream marker {marker:02X}",
140139
)));
141140
}
142141
})
@@ -243,8 +242,7 @@ impl<'a> PackStreamDecoder<'a> {
243242
STRING_16 => self.read_u16(),
244243
STRING_32 => self.read_u32(),
245244
_ => Err(PyErr::new::<PyValueError, _>(format!(
246-
"Invalid string length marker: {}",
247-
marker
245+
"Invalid string length marker: {marker}",
248246
))),
249247
}
250248
}

0 commit comments

Comments
 (0)