Skip to content

Commit

Permalink
Fix wrong pyo3 minimal python minor version
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Dec 2, 2024
1 parent 164b73d commit a3c8f3e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/build_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,7 @@ impl Bindings {
let major_version = self.version.major;
let minor_version = self.version.minor;
// N.B. must check large minor versions first
if (major_version, minor_version) >= (0, 23) {
8
} else if (major_version, minor_version) >= (0, 16) {
if (major_version, minor_version) >= (0, 16) {
7
} else {
MINIMUM_PYTHON_MINOR
Expand Down

0 comments on commit a3c8f3e

Please sign in to comment.