From 83c4ec02489f719fbac4977f40850dd422c9f33e Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 28 May 2021 09:48:34 -0400 Subject: [PATCH] fix: remove platform variants for CIBW_PRERELEASE_PYTHONS --- cibuildwheel/__main__.py | 2 +- docs/options.md | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/cibuildwheel/__main__.py b/cibuildwheel/__main__.py index 85ad89b29..3bd68e66d 100644 --- a/cibuildwheel/__main__.py +++ b/cibuildwheel/__main__.py @@ -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"} diff --git a/docs/options.md b/docs/options.md index 758fcea5c..c00f4cd55 100644 --- a/docs/options.md +++ b/docs/options.md @@ -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:
-`CIBW_PRERELEASE_PYTHONS_MACOS` | `CIBW_PRERELEASE_PYTHONS_WINDOWS` | `CIBW_PRERELEASE_PYTHONS_LINUX` - #### Examples ```yaml