Skip to content

Commit

Permalink
bump pyo3 (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringsaturn authored Mar 27, 2024
1 parent 1feae58 commit 9b55c8a
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 47 deletions.
80 changes: 40 additions & 40 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
edition = "2021"
name = "tzfpy"
version = "0.15.4"
version = "0.15.5"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -19,7 +19,7 @@ crate-type = ["cdylib"]

[dependencies]
lazy_static = "1.4.0"
pyo3 = {version = "0.20.3", features = ["extension-module"]}
pyo3 = {version = "0.21.0", features = ["extension-module"]}

# tzf-rs = { git = "https://github.com/ringsaturn/tzf-rs", rev = "06a1bbf", default-features = false}
tzf-rs = { version = "0.4.6", default-features = false }
tzf-rs = { version = "0.4.7", default-features = false }
6 changes: 3 additions & 3 deletions requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
citiespy==0.5.4
maturin==1.4.0
citiespy==0.5.5
maturin==1.5.1
pytest
pytest-benchmark
pytest-cov
pytest-pretty
pytest-pretty
pytz==2024.1
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub fn data_version(_py: Python) -> PyResult<String> {
}

#[pymodule]
fn tzfpy(_py: Python, m: &PyModule) -> PyResult<()> {
fn tzfpy(_py: Python, m: &Bound<'_, PyModule>) -> PyResult<()> {
m.add_function(wrap_pyfunction!(get_tz, m)?)?;
m.add_function(wrap_pyfunction!(get_tzs, m)?)?;
m.add_function(wrap_pyfunction!(timezonenames, m)?)?;
Expand Down

0 comments on commit 9b55c8a

Please sign in to comment.