Skip to content

Commit

Permalink
propagate into wheel build
Browse files Browse the repository at this point in the history
  • Loading branch information
huonw committed Feb 10, 2025
1 parent be27afd commit f5b323a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/python/pants/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ python_distribution(
python_requires="==3.11.*",
),
entry_points={"console_scripts": {"pants": "pants.bin.pants_loader:main"}},
# We need to explicitly control the wheel tagging, rather than following whatever the current
# Python interpreter is tagged for (especially on macOS, where a 'universal' interpreter build
# can lead to single-platform wheels being tagged as `universal2` wheels, incorrectly)
env_vars=["_PYTHON_HOST_PLATFORM"],
)

pex_binary(
Expand Down

0 comments on commit f5b323a

Please sign in to comment.