Skip to content

Commit

Permalink
fix: remove platform variants for CIBW_PRERELEASE_PYTHONS
Browse files Browse the repository at this point in the history
  • Loading branch information
henryiii committed May 28, 2021
1 parent d69f582 commit 83c4ec0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion cibuildwheel/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def main() -> None:
"CIBW_BUILD_VERBOSITY", platform=platform, default=""
)
prerelease_pythons = args.prerelease_pythons or cibuildwheel.util.strtobool(
get_option_from_environment("CIBW_PRERELEASE_PYTHONS", platform=platform, default="0")
os.environ.get("CIBW_PRERELEASE_PYTHONS", "0")
)

package_files = {"setup.py", "setup.cfg", "pyproject.toml"}
Expand Down
3 changes: 0 additions & 3 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,6 @@ like to test wheel building with these versions, you can enable this flag.

Default: Off (0) if Python is available in beta phase. No effect otherwise.

Platform-specific variants also available:<br/>
`CIBW_PRERELEASE_PYTHONS_MACOS` | `CIBW_PRERELEASE_PYTHONS_WINDOWS` | `CIBW_PRERELEASE_PYTHONS_LINUX`

#### Examples

```yaml
Expand Down

0 comments on commit 83c4ec0

Please sign in to comment.