Skip to content

Commit c3a2d2c

Browse files
committed
Dump dependency and tool versions
This updates to the latest `pyo3` version as that fixed some blockers, and it switches `uv` back to using a managed python install, as that is fixed now as well.
1 parent d9346a6 commit c3a2d2c

File tree

8 files changed

+86
-94
lines changed

8 files changed

+86
-94
lines changed

.envrc

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,2 @@
1-
# using uv-managed python is currently broken because it sets a wrong `libdir`:
2-
# https://github.com/astral-sh/rye/discussions/851
3-
# https://github.com/astral-sh/rye/issues/646
4-
# https://github.com/astral-sh/uv/issues/8879
5-
# https://github.com/astral-sh/uv/issues/8429
6-
# https://github.com/astral-sh/uv/issues/7369
7-
uv sync --no-install-project --python-preference only-system
1+
uv sync --no-install-project
82
source .venv/bin/activate

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
/.*_cache
2+
/.venv
3+
/*.xml
14
/target
2-
.venv
35
__pycache__
4-
.coverage
5-
/*.xml
6+
.coverage

Cargo.lock

Lines changed: 25 additions & 25 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ name = "test_results_parser"
88
crate-type = ["cdylib", "rlib"]
99

1010
[dependencies]
11-
# Version 0.23 currently suffers from https://github.com/PyO3/pyo3/issues/4723
12-
pyo3 = { version = "0.22.6", features = ["abi3-py312"] }
11+
pyo3 = { version = "0.23.3", features = ["abi3-py312"] }
1312
quick-xml = "0.37.1"
1413
regex = "1.11.1"
1514
serde = { version = "1.0.215", features = ["derive"] }

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ features = ["pyo3/extension-module"]
1818
[tool.uv]
1919
dev-dependencies = [
2020
"pytest>=8.3.3",
21-
"pytest-cov>=5.0.0",
21+
"pytest-cov>=6.0.0",
2222
"pytest-reportlog>=0.4.0",
2323
"maturin>=1.7.4",
2424
]

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pyo3::create_exception!(test_results_parser, ComputeNameError, PyException);
1212
/// A Python module implemented in Rust.
1313
#[pymodule]
1414
fn test_results_parser(py: Python, m: &Bound<PyModule>) -> PyResult<()> {
15-
m.add("ParserError", py.get_type_bound::<ParserError>())?;
15+
m.add("ParserError", py.get_type::<ParserError>())?;
1616
m.add_class::<testrun::Testrun>()?;
1717
m.add_class::<testrun::Outcome>()?;
1818
m.add_class::<testrun::Framework>()?;

src/testrun.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ use pyo3::class::basic::CompareOp;
44
use pyo3::{prelude::*, pyclass};
55

66
#[derive(Clone, Copy, Debug, PartialEq)]
7-
// See https://github.com/PyO3/pyo3/issues/4723
8-
#[allow(ambiguous_associated_items)]
97
#[pyclass(eq, eq_int)]
108
pub enum Outcome {
119
Pass,

0 commit comments

Comments
 (0)