Skip to content

Commit

Permalink
Merge pull request #3015 from pygame-community/ankith26-pin-build
Browse files Browse the repository at this point in the history
Pin all build dependencies
  • Loading branch information
oddbookworm authored Jul 22, 2024
2 parents ba6d659 + 1dd93ae commit bc28809
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ jobs:

- name: Install uv for speed
uses: yezz123/setup-uv@v4
with:
uv-version: "0.2.22"

- name: Build and test wheels
uses: pypa/cibuildwheel@v2.19.2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ jobs:

- name: Install uv for speed
uses: yezz123/setup-uv@v4
with:
uv-version: "0.2.22"

- name: Build and test wheels
uses: pypa/cibuildwheel@v2.19.2
Expand Down
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,13 @@ hook-dirs = 'pygame.__pyinstaller:get_hook_dirs'
pygame_ce = 'pygame.__briefcase.pygame_ce:PygameCEGuiBootstrap'

[build-system]
requires = ["meson-python", "ninja", "cython", "sphinx<=7.2.6"]
requires = [
"meson-python<=0.16.0",
"meson<=1.5.0",
"ninja<=1.11.1.1",
"cython<=3.0.10",
"sphinx<=7.2.6",
]
build-backend = 'mesonpy'

[tool.meson-python.args]
Expand Down

0 comments on commit bc28809

Please sign in to comment.