Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix pymethods by moving outside of pybindings modules #583

Merged
merged 2 commits into from
Jun 24, 2024
Merged

Conversation

Rigidity
Copy link
Contributor

There is a bug in pyo3 (or at least, it seems like a bug), that prevents methods defined in pymethods from being visible to Python if they are defined within a different module (with a #[cfg(feature = "py-bindings")], notably).

@Rigidity Rigidity requested a review from matt-o-how June 24, 2024 12:03
@matt-o-how matt-o-how merged commit f9c3ef1 into main Jun 24, 2024
63 checks passed
@matt-o-how matt-o-how deleted the fix-pymethods branch June 24, 2024 12:33
Copy link

coveralls-official bot commented Jun 24, 2024

Pull Request Test Coverage Report for Build 9645001858

Details

  • 107 of 125 (85.6%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 82.79%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/chia-bls/src/public_key.rs 22 25 88.0%
crates/chia-bls/src/secret_key.rs 4 19 21.05%
Totals Coverage Status
Change from base Build 9598048861: 0.0%
Covered Lines: 11680
Relevant Lines: 14108

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants