Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pp37-win_amd64 build fails due to missing libpypy3.7-c.dll lib on GH actions #1893

Open
astro-stan opened this issue Jun 23, 2024 · 0 comments

Comments

@astro-stan
Copy link

Description

Pypy-3.7 build fails on x64 Windows GH actions runner.

As far as I can tell from the support matrix this is a supported use case.

Here is a summary my config:

  • CI:
jobs:
  ...
  build-wheels:
    name: Build wheels
    runs-on: windows-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
      - name: Build wheels
        uses: pypa/[email protected]
        with:
          output-dir: dist
  • pyproject.toml
[project]
requires-python = '>=3.7'
...

[tool.cibuildwheel]
build = "*"
free-threaded-support = false

build-frontend = "build"
build-verbosity = 1

test-command = "pytest {project}"
test-requires = [
  "pytest"
]

[build-system]
requires = [
  "meson-python>=0.16.0",
  'meson>=1.4.0',
  'ninja',
  "cffi>=1.15.1; python_version<'3.8'",
  "cffi>=1.16; python_version>='3.8'",
  "setuptools; python_version>='3.12'",
]
build-backend = 'mesonpy'
...

Ci fails with:

Could not find Python3 library 'C:\\Users\\runneradmin\\AppData\\Local\\pypa\\cibuildwheel\\Cache\\pypy3.7-v7.3.9-win64\\libpypy3.7-c.dll'
  Run-time dependency python found: NO (tried sysconfig)
  ..\meson.build:96:7: ERROR: Python dependency not found

This is only an issue for Pypy-3.7 it seems. If I add CIBW_SKIP: pp37-win* to the action env all other builds succeed (including Pypy-3.8+)

Build log

No response

CI config

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant