Skip to content

Commit

Permalink
Ignore nonexistent variant options for 3.7 distributions (#91)
Browse files Browse the repository at this point in the history
Co-authored-by: Reto Trappitsch <[email protected]>
  • Loading branch information
ofek and trappitsch authored Mar 1, 2024
1 parent 5031e8e commit 61ecb55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,10 @@ fn get_distribution_source() -> String {
if variant.is_empty() {
if selected_platform == "windows" {
variant = "shared".to_string();
} else if selected_platform == "linux" && selected_arch == "x86_64" {
} else if selected_platform == "linux"
&& selected_arch == "x86_64"
&& selected_python_version != "3.7"
{
variant = "v3".to_string();
}
};
Expand Down
1 change: 1 addition & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

- Properly resolve correct default distributions on MinGW-w64
- Fix embedding custom distributions
- Ignore nonexistent variant options for 3.7 distributions

## 0.14.0 - 2024-01-21

Expand Down

0 comments on commit 61ecb55

Please sign in to comment.