diff --git a/.github/workflows/build-hatch.yml b/.github/workflows/build-hatch.yml index 4d450576f..13123ae0a 100644 --- a/.github/workflows/build-hatch.yml +++ b/.github/workflows/build-hatch.yml @@ -75,6 +75,8 @@ jobs: # Windows - target: x86_64-pc-windows-msvc os: windows-2022 + - target: i686-pc-windows-msvc + os: windows-2022 # macOS - target: aarch64-apple-darwin os: macos-12 diff --git a/docs/history/hatch.md b/docs/history/hatch.md index 9dfaddd9f..0409e76d9 100644 --- a/docs/history/hatch.md +++ b/docs/history/hatch.md @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), - Add `self report` command for submitting pre-populated bug reports to GitHub - The reserved environment used for static analysis is now completely configurable - Add the following methods to the `environment` interface for complete control over output during life cycle management: `app_status_creation`, `app_status_pre_installation`, `app_status_post_installation`, `app_status_project_installation`, `app_status_dependency_state_check`, `app_status_dependency_installation_check`, `app_status_dependency_synchronization` +- Add binaries for 32-bit versions of Windows - Upgrade default CPython distributions to 20240107 - Upgrade Ruff to 0.2.2 - Upgrade PyApp to 0.15.1 for binary builds diff --git a/docs/install.md b/docs/install.md index 9e95e916e..aa9e4fb7a 100644 --- a/docs/install.md +++ b/docs/install.md @@ -53,6 +53,10 @@ ``` msiexec /passive /i https://github.com/pypa/hatch/releases/download/hatch-v/hatch--x64.msi ``` + === "x86" + ``` + msiexec /passive /i https://github.com/pypa/hatch/releases/download/hatch-v/hatch--x86.msi + ``` 2. Restart your terminal. 3. To verify that the shell can find and run the `hatch` command in your `PATH`, use the following command. @@ -78,6 +82,7 @@ After downloading the archive corresponding to your platform and architecture, e === "Windows" - [hatch--x86_64-pc-windows-msvc.zip](https://github.com/pypa/hatch/releases/download/hatch-v/hatch--x86_64-pc-windows-msvc.zip) + - [hatch--i686-pc-windows-msvc.zip](https://github.com/pypa/hatch/releases/download/hatch-v/hatch--i686-pc-windows-msvc.zip) ## pip diff --git a/pyoxidizer.bzl b/pyoxidizer.bzl index 6e674ec84..59ca25c0e 100644 --- a/pyoxidizer.bzl +++ b/pyoxidizer.bzl @@ -7,6 +7,8 @@ AUTHOR = "Python Packaging Authority" def make_msi(target): if target == "x86_64-pc-windows-msvc": arch = "x64" + elif target == "i686-pc-windows-msvc": + arch = "x86" else: arch = "unknown" @@ -46,12 +48,18 @@ def make_exe_installer(): ) bundle.add_vc_redistributable("x64") + bundle.add_vc_redistributable("x86") bundle.add_wix_msi_builder( builder=make_msi("x86_64-pc-windows-msvc"), display_internal_ui=True, install_condition="VersionNT64", ) + bundle.add_wix_msi_builder( + builder=make_msi("i686-pc-windows-msvc"), + display_internal_ui=True, + install_condition="Not VersionNT64", + ) return bundle