Skip to content

Commit

Permalink
updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jessekrubin committed Jan 25, 2024
1 parent 90e6dfa commit a94c66c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ crate-type = ["cdylib"]

[dependencies]
ryo3 = { path = "./crates/ryo3" }
pyo3.workspace = true
pyo3 = { workspace = true, features = ["experimental-inspect"] }
pyo3-asyncio = {workspace = true, features = ["attributes", "tokio-runtime"] }
tokio.workspace = true
tracing.workspace = true
Expand Down Expand Up @@ -52,7 +52,7 @@ license = "MIT OR Apache-2.0"
anyhow = "1.0.75"
chrono = "0.4.31"
dirs = { version = "5.0.1", features = [] }
pyo3 = "0.20.0"
pyo3 = { version = "0.20.0", features = ["experimental-inspect"] }
pyo3-asyncio = { version = "0.20.0", features = ["attributes", "tokio-runtime"] }
pyo3-build-config = "0.20.0"
regex = "1.10.3"
Expand Down
2 changes: 1 addition & 1 deletion crates/ryo3/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition.workspace = true
[dependencies]
dirs.workspace = true
fnv = "1.0.7"
pyo3 = { workspace = true }
pyo3 = { workspace = true, features = ["experimental-inspect"] }
pyo3-asyncio = { workspace = true, features = ["attributes", "tokio-runtime"] }
regex.workspace = true
serde.workspace = true
Expand Down
2 changes: 2 additions & 0 deletions crates/ryo3/src/sh.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ pub fn pwd() -> String {
.to_string()
}


/// Change the current working directory to the specified path
#[pyfunction]
pub fn cd(
// py: Python<'_>,
Expand Down
8 changes: 4 additions & 4 deletions python/tests/test_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_version() -> None:
cargo_version = _version_from_workspace_package()
assert ry.__version__ == cargo_version

pyproject_dict = tomli.loads(Path(PYPROJECT_TOML).read_text())
print(pyproject_dict)
pyproject_version = pyproject_dict["project"]["version"]
assert ry.__version__ == pyproject_version
# pyproject_dict = tomli.loads(Path(PYPROJECT_TOML).read_text())
# print(pyproject_dict)
# pyproject_version = pyproject_dict["project"]["version"]
# assert ry.__version__ == pyproject_version

0 comments on commit a94c66c

Please sign in to comment.