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

Fix Linux builds on Windows #1117

Merged
merged 2 commits into from Jun 17, 2022
Merged

Fix Linux builds on Windows #1117

merged 2 commits into from Jun 17, 2022

Conversation

Darandos
Copy link
Contributor

These changes fix Linux builds on Windows, which don't work in v2.5.0. Most of the changes are replacing PurePath with PurePosixPath.

As far as I can tell, none of the CI services support Linux containers on their Windows runners, so I could not add a regression test.

@henryiii
Copy link
Contributor

henryiii commented Jun 4, 2022

(FYI, I plan to test this on a Windows machine soon, but I've been and will be busy until mid week)

@Helveg
Copy link
Contributor

Helveg commented Jun 7, 2022

In the context of #1128 I tested this on my Windows machine and using cibuildwheel --platform linux --archs "x86_64" with this branch resolves the issue! 🎉 Here is a log:

PS D:\GIT\nest-simulator> cibuildwheel --platform linux --archs "x86_64"

     _ _       _ _   _       _           _
 ___|_| |_ _ _|_| |_| |_ _ _| |_ ___ ___| |
|  _| | . | | | | | . | | | |   | -_| -_| |
|___|_|___|___|_|_|___|_____|_|_|___|___|_|

cibuildwheel version 2.5.0

Build options:
  platform: 'linux'
  architectures: {<Architecture.x86_64: 'x86_64'>}
  build_selector: BuildSelector(skip_config='*-musllinux_* *cp36* *cp37*', build_config='*', requires_python=<SpecifierSet('<4,>=3.8')>, prerelease_pythons=False)
  output_dir: WindowsPath('wheelhouse')
  package_dir: WindowsPath('D:/GIT/nest-simulator')
  test_selector: TestSelector(skip_config='', build_config='*', requires_python=None, prerelease_pythons=False)
  before_all: ''
  before_build: 'source extras/wheelbuild/prepare_container.sh'
  before_test: ''
  build_frontend: 'pip'
  build_verbosity: 0
  dependency_constraints: DependencyConstraints(WindowsPath('C:/Users/Robin/AppData/Roaming/Python/Python39/site-packages/cibuildwheel/resources/constraints.txt'))
  environment: ParsedEnvironment(['NEST_CMAKE_BUILDWHEEL="ON"'])
  manylinux_images: {'x86_64': 'quay.io/pypa/manylinux2014_x86_64:2022-05-22-fbe07ea', 'i686': 'quay.io/pypa/manylinux2014_i686:2022-05-22-fbe07ea', 'pypy_x86_64': 'quay.io/pypa/manylinux2014_x86_64:2022-05-22-fbe07ea', 'aarch64': 'quay.io/pypa/manylinux2014_aarch64:2022-05-22-fbe07ea', 'ppc64le': 'quay.io/pypa/manylinux2014_ppc64le:2022-05-22-fbe07ea', 's390x': 'quay.io/pypa/manylinux2014_s390x:2022-05-22-fbe07ea', 'pypy_aarch64': 'quay.io/pypa/manylinux2014_aarch64:2022-05-22-fbe07ea', 'pypy_i686': 'quay.io/pypa/manylinux2014_i686:2022-05-22-fbe07ea'}
  musllinux_images: {'x86_64': 'quay.io/pypa/musllinux_1_1_x86_64:2022-05-22-fbe07ea', 'i686': 'quay.io/pypa/musllinux_1_1_i686:2022-05-22-fbe07ea', 'aarch64': 'quay.io/pypa/musllinux_1_1_aarch64:2022-05-22-fbe07ea', 'ppc64le': 'quay.io/pypa/musllinux_1_1_ppc64le:2022-05-22-fbe07ea', 's390x': 'quay.io/pypa/musllinux_1_1_s390x:2022-05-22-fbe07ea'}
  repair_command: 'auditwheel repair -w {dest_dir} {wheel}'
  test_command: ''
  test_extras: ''
  test_requires: []
Cache folder: C:\Users\Robin\AppData\Local\pypa\cibuildwheel\Cache

Here we go!

Starting Docker image quay.io/pypa/manylinux2014_x86_64:2022-05-22-fbe07ea for cp38-manylinux_x86_64, cp39-manylinux_x86_64, cp310-manylinux_x86_64, pp38-manylinux_x86_64, pp39-manylinux_x86_64...

Unable to find image 'quay.io/pypa/manylinux2014_x86_64:2022-05-22-fbe07ea' locally
2022-05-22-fbe07ea: Pulling from pypa/manylinux2014_x86_64
2d473b07cdd5: Already exists
573e9ce2ca1f: Pull complete
33b066b69783: Pull complete
5cbb102b9a2f: Pull complete
d32fc47be2f7: Pull complete
65e726e0f099: Pull complete
dece0e1b53b6: Pull complete
939168eb8c73: Pull complete
473eec4c4f4f: Pull complete
75b6cf0faa91: Pull complete
fb0af4493b9f: Pull complete
33e950aa3ec4: Pull complete
bca3d315372f: Pull complete
e5e63e9bb61b: Pull complete
ac9713b6d762: Pull complete
a0953c7979e8: Pull complete
7044e15fde89: Pull complete
a5207afccf6e: Pull complete
87b5df7adf02: Pull complete
2e78cdc30f79: Pull complete
ecaaa0a7dd2f: Pull complete
8ff0812e314a: Pull complete
d5d2c78cce52: Pull complete
Digest: sha256:285314ad4a2fdc0f2cef58f90d8910628c3e0eeb5d1320c49c2e59bf40aa6df7
Status: Downloaded newer image for quay.io/pypa/manylinux2014_x86_64:2022-05-22-fbe07ea
00c114d9c4e4c94f1032e69aca0a608edbdceccf5ec39fb37621b8bd9f0b37d6
    + /bin/true

                                                                      ✓ 28.56s
Copying project into Docker...

    + mkdir -p /project
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'
tar: Ignoring unknown extended header keyword `SCHILY.fflags'

                                                                       ✓ 3.33s

Building cp38-manylinux_x86_64 wheel
CPython 3.8 manylinux x86_64

Setting up build environment...

    + /opt/python/cp38-cp38/bin/python -c 'import sys, json, os; json.dump(os.environ.copy(), sys.stdout)'
    + which python
    + which pip

                                                                       ✓ 0.08s
Running before_build...

    + sh -c 'source extras/wheelbuild/prepare_container.sh'

                                                                       ✓ 0.00s
Building wheel...

@henryiii henryiii closed this Jun 7, 2022
@henryiii henryiii reopened this Jun 7, 2022
@joerick
Copy link
Contributor

joerick commented Jun 17, 2022

I've verified this works on my Windows box too!

before this pr
(env) PS C:\Users\joeri\AppData\Local\Temp\tmp47c2qeeo> cmd /V /C "set CIBW_BUILD=cp38* && cibuildwheel --platform linux --archs x86_64"

     _ _       _ _   _       _           _
 ___|_| |_ _ _|_| |_| |_ _ _| |_ ___ ___| |
|  _| | . | | | | | . | | | |   | -_| -_| |
|___|_|___|___|_|_|___|_____|_|_|___|___|_|

cibuildwheel version 2.6.1

Build options:
  platform: 'linux'
  architectures: {<Architecture.x86_64: 'x86_64'>}
  build_selector: BuildSelector(build_config='cp38* ', skip_config='', requires_python=None, prerelease_pythons=False)
  output_dir: WindowsPath('C:/Users/joeri/AppData/Local/Temp/tmp47c2qeeo/wheelhouse')
  package_dir: WindowsPath('C:/Users/joeri/AppData/Local/Temp/tmp47c2qeeo')
  test_selector: TestSelector(skip_config='')
  before_all: ''
  before_build: ''
  before_test: ''
  build_frontend: 'pip'
  build_verbosity: 0
  dependency_constraints: DependencyConstraints(WindowsPath('C:/Users/joeri/Documents/cibuildwheel/cibuildwheel/resources/constraints.txt'))
  environment: ParsedEnvironment([])
  manylinux_images: {'x86_64': 'quay.io/pypa/manylinux2014_x86_64:2022-06-13-c365205', 'i686': 'quay.io/pypa/manylinux2014_i686:2022-06-13-c365205', 'pypy_x86_64': 'quay.io/pypa/manylinux2014_x86_64:2022-06-13-c365205', 'aarch64': 'quay.io/pypa/manylinux2014_aarch64:2022-06-13-c365205', 'ppc64le': 'quay.io/pypa/manylinux2014_ppc64le:2022-06-13-c365205', 's390x': 'quay.io/pypa/manylinux2014_s390x:2022-06-13-c365205', 'pypy_aarch64': 'quay.io/pypa/manylinux2014_aarch64:2022-06-13-c365205', 'pypy_i686': 'quay.io/pypa/manylinux2014_i686:2022-06-13-c365205'}
  musllinux_images: {'x86_64': 'quay.io/pypa/musllinux_1_1_x86_64:2022-06-13-c365205', 'i686': 'quay.io/pypa/musllinux_1_1_i686:2022-06-13-c365205', 'aarch64': 'quay.io/pypa/musllinux_1_1_aarch64:2022-06-13-c365205', 'ppc64le': 'quay.io/pypa/musllinux_1_1_ppc64le:2022-06-13-c365205', 's390x': 'quay.io/pypa/musllinux_1_1_s390x:2022-06-13-c365205'}
  repair_command: 'auditwheel repair -w {dest_dir} {wheel}'
  test_command: ''
  test_extras: ''
  test_requires: []
Cache folder: C:\Users\joeri\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\Local\pypa\cibuildwheel\Cache

Here we go!

Starting Docker image quay.io/pypa/manylinux2014_x86_64:2022-06-13-c365205 for cp38-manylinux_x86_64...

Error response from daemon: the working directory '\project' is invalid, it needs to be an absolute path

                                                                       ✕ 1.48s
Error: Command ['docker', 'create', '--env=CIBUILDWHEEL', '--name=cibuildwheel-6ae927e5-4393-4a26-bf25-4498dd75770d', '--interactive', '--volume=/:/host', '-w', '\\project', 'quay.io/pypa/manylinux2014_x86_64:2022-06-13-c365205', '/bin/bash'] failed with code 1. None

with this PR
(env) PS C:\Users\joeri\AppData\Local\Temp\tmp47c2qeeo> cmd /V /C "set CIBW_BUILD=cp38* && cibuildwheel --platform linux --archs x86_64"

     _ _       _ _   _       _           _
 ___|_| |_ _ _|_| |_| |_ _ _| |_ ___ ___| |
|  _| | . | | | | | . | | | |   | -_| -_| |
|___|_|___|___|_|_|___|_____|_|_|___|___|_|

cibuildwheel version 2.5.0

Build options:
  platform: 'linux'
  architectures: {<Architecture.x86_64: 'x86_64'>}
  build_selector: BuildSelector(skip_config='', build_config='cp38* ', requires_python=None, prerelease_pythons=False)
  output_dir: WindowsPath('C:/Users/joeri/AppData/Local/Temp/tmp47c2qeeo/wheelhouse')
  package_dir: WindowsPath('C:/Users/joeri/AppData/Local/Temp/tmp47c2qeeo')
  test_selector: TestSelector(skip_config='', build_config='*', requires_python=None, prerelease_pythons=False)
  before_all: ''
  before_build: ''
  before_test: ''
  build_frontend: 'pip'
  build_verbosity: 0
  dependency_constraints: DependencyConstraints(WindowsPath('C:/Users/joeri/Documents/cibuildwheel/cibuildwheel/resources/constraints.txt'))
  environment: ParsedEnvironment([])
  manylinux_images: {'x86_64': 'quay.io/pypa/manylinux2014_x86_64:2022-05-22-fbe07ea', 'i686': 'quay.io/pypa/manylinux2014_i686:2022-05-22-fbe07ea', 'pypy_x86_64': 'quay.io/pypa/manylinux2014_x86_64:2022-05-22-fbe07ea', 'aarch64': 'quay.io/pypa/manylinux2014_aarch64:2022-05-22-fbe07ea', 'ppc64le': 'quay.io/pypa/manylinux2014_ppc64le:2022-05-22-fbe07ea', 's390x': 'quay.io/pypa/manylinux2014_s390x:2022-05-22-fbe07ea', 'pypy_aarch64': 'quay.io/pypa/manylinux2014_aarch64:2022-05-22-fbe07ea', 'pypy_i686': 'quay.io/pypa/manylinux2014_i686:2022-05-22-fbe07ea'}
  musllinux_images: {'x86_64': 'quay.io/pypa/musllinux_1_1_x86_64:2022-05-22-fbe07ea', 'i686': 'quay.io/pypa/musllinux_1_1_i686:2022-05-22-fbe07ea', 'aarch64': 'quay.io/pypa/musllinux_1_1_aarch64:2022-05-22-fbe07ea', 'ppc64le': 'quay.io/pypa/musllinux_1_1_ppc64le:2022-05-22-fbe07ea', 's390x': 'quay.io/pypa/musllinux_1_1_s390x:2022-05-22-fbe07ea'}
  repair_command: 'auditwheel repair -w {dest_dir} {wheel}'
  test_command: ''
  test_extras: ''
  test_requires: []
Cache folder: C:\Users\joeri\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\Local\pypa\cibuildwheel\Cache

Here we go!

Starting Docker image quay.io/pypa/manylinux2014_x86_64:2022-05-22-fbe07ea for cp38-manylinux_x86_64...

Unable to find image 'quay.io/pypa/manylinux2014_x86_64:2022-05-22-fbe07ea' locally
2022-05-22-fbe07ea: Pulling from pypa/manylinux2014_x86_64
2d473b07cdd5: Already exists
573e9ce2ca1f: Pull complete
33b066b69783: Pull complete
5cbb102b9a2f: Pull complete
d32fc47be2f7: Pull complete
65e726e0f099: Pull complete
dece0e1b53b6: Pull complete
939168eb8c73: Pull complete
473eec4c4f4f: Pull complete
75b6cf0faa91: Pull complete
fb0af4493b9f: Pull complete
33e950aa3ec4: Pull complete
bca3d315372f: Pull complete
e5e63e9bb61b: Pull complete
ac9713b6d762: Pull complete
a0953c7979e8: Pull complete
7044e15fde89: Pull complete
a5207afccf6e: Pull complete
87b5df7adf02: Pull complete
2e78cdc30f79: Pull complete
ecaaa0a7dd2f: Pull complete
8ff0812e314a: Pull complete
d5d2c78cce52: Pull complete
Digest: sha256:285314ad4a2fdc0f2cef58f90d8910628c3e0eeb5d1320c49c2e59bf40aa6df7
Status: Downloaded newer image for quay.io/pypa/manylinux2014_x86_64:2022-05-22-fbe07ea
7ee5d53669ea4131e50d49aace1930bdedfdfaadb3855acc716b2fd83830c1a5
    + /bin/true

                                                                      ✓ 49.03s
Copying project into Docker...

    + mkdir -p /project

                                                                       ✓ 1.79s

Building cp38-manylinux_x86_64 wheel
CPython 3.8 manylinux x86_64

Setting up build environment...

    + /opt/python/cp38-cp38/bin/python -c 'import sys, json, os; json.dump(os.environ.copy(), sys.stdout)'
    + which python
    + which pip

                                                                       ✓ 0.07s
Building wheel...

    + rm -rf /tmp/cibuildwheel/built_wheel
    + mkdir -p /tmp/cibuildwheel/built_wheel
    + python -m pip wheel /project --wheel-dir=/tmp/cibuildwheel/built_wheel --no-deps
WARNING: There was an error checking the latest version of pip.
Processing /project
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: spam
  Building wheel for spam (setup.py): started
  Building wheel for spam (setup.py): finished with status 'done'
  Created wheel for spam: filename=spam-0.1.0-cp38-cp38-linux_x86_64.whl size=8202 sha256=dfab4a847d94236ad88c184f068ced5b61124e37b666d22d093914a6ee50eaf0
  Stored in directory: /tmp/pip-ephem-wheel-cache-ephdxj9g/wheels/d4/3a/c0/4dc152b1840724d5b992a8268bb4ef33fdbe42ffe1429b845c
Successfully built spam
    + /opt/python/cp38-cp38/bin/python -c 'import sys, json, glob; json.dump(glob.glob('"'"'/tmp/cibuildwheel/built_wheel/*.whl'"'"'), sys.stdout)'
    + rm -rf /tmp/cibuildwheel/repaired_wheel
    + mkdir -p /tmp/cibuildwheel/repaired_wheel

                                                                       ✓ 3.34s
Repairing wheel...

    + sh -c 'auditwheel repair -w /tmp/cibuildwheel/repaired_wheel /tmp/cibuildwheel/built_wheel/spam-0.1.0-cp38-cp38-linux_x86_64.whl'
INFO:auditwheel.main_repair:Repairing spam-0.1.0-cp38-cp38-linux_x86_64.whl
INFO:auditwheel.main_repair:Wheel is eligible for a higher priority tag. You requested manylinux2014_x86_64 but I have found this wheel is eligible for manylinux_2_5_x86_64.
INFO:auditwheel.wheeltools:Previous filename tags: linux_x86_64
INFO:auditwheel.wheeltools:New filename tags: manylinux_2_5_x86_64, manylinux1_x86_64, manylinux_2_17_x86_64, manylinux2014_x86_64
INFO:auditwheel.wheeltools:Previous WHEEL info tags: cp38-cp38-linux_x86_64
INFO:auditwheel.wheeltools:New WHEEL info tags: cp38-cp38-manylinux_2_5_x86_64, cp38-cp38-manylinux1_x86_64, cp38-cp38-manylinux_2_17_x86_64, cp38-cp38-manylinux2014_x86_64
INFO:auditwheel.main_repair:
Fixed-up wheel written to /tmp/cibuildwheel/repaired_wheel/spam-0.1.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
    + /opt/python/cp38-cp38/bin/python -c 'import sys, json, glob; json.dump(glob.glob('"'"'/tmp/cibuildwheel/repaired_wheel/*.whl'"'"'), sys.stdout)'
    + mkdir -p /output
    + mv /tmp/cibuildwheel/repaired_wheel/spam-0.1.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl /output

                                                                       ✓ 0.43s

✓ cp38-manylinux_x86_64 finished in 4.58s
Copying wheels back to host...


                                                                       ✓ 0.75s
Starting Docker image quay.io/pypa/musllinux_1_1_x86_64:2022-05-22-fbe07ea for cp38-musllinux_x86_64...

Unable to find image 'quay.io/pypa/musllinux_1_1_x86_64:2022-05-22-fbe07ea' locally
2022-05-22-fbe07ea: Pulling from pypa/musllinux_1_1_x86_64
1b7ca6aea1dd: Pull complete
e4ae38b1e556: Pull complete
47a3bbcfa723: Pull complete
3294f967d849: Pull complete
b6d50be9ac01: Pull complete
2038d9c891e5: Pull complete
0172802fe3d7: Pull complete
04de72e37478: Pull complete
b3764d3da7e6: Pull complete
3a1a5bb0b867: Pull complete
664ad9e42c7d: Pull complete
3357e44a4cd5: Pull complete
bc3a33bf2df1: Pull complete
7832074bbe73: Pull complete
f95a4ea6b77f: Pull complete
4f4fb700ef54: Pull complete
33d0eda45abf: Pull complete
4182a0e5cb4f: Pull complete
ddc7cc9c6283: Pull complete
6684326125e1: Pull complete
ae582f065f70: Pull complete
f60e21a121ac: Pull complete
48e0e91ffe43: Pull complete
Digest: sha256:5120c468fd2abee7ff03fa3743fa583ea2723236c8b98c6351c05c9d6ade1def
Status: Downloaded newer image for quay.io/pypa/musllinux_1_1_x86_64:2022-05-22-fbe07ea
abe6d1688609ba4801cb9e25be61cb493f1b9cf68ef9dd86b13b24bb57c283ae
    + /bin/true

                                                                      ✓ 43.36s
Copying project into Docker...

    + mkdir -p /project

                                                                       ✓ 1.66s

Building cp38-musllinux_x86_64 wheel
CPython 3.8 musllinux x86_64

Setting up build environment...

    + /opt/python/cp38-cp38/bin/python -c 'import sys, json, os; json.dump(os.environ.copy(), sys.stdout)'
    + which python
    + which pip

                                                                       ✓ 0.07s
Building wheel...

    + rm -rf /tmp/cibuildwheel/built_wheel
    + mkdir -p /tmp/cibuildwheel/built_wheel
    + python -m pip wheel /project --wheel-dir=/tmp/cibuildwheel/built_wheel --no-deps
WARNING: There was an error checking the latest version of pip.
Processing /project
  Preparing metadata (setup.py): started
  Preparing metadata (setup.py): finished with status 'done'
Building wheels for collected packages: spam
  Building wheel for spam (setup.py): started
  Building wheel for spam (setup.py): finished with status 'done'
  Created wheel for spam: filename=spam-0.1.0-cp38-cp38-linux_x86_64.whl size=12537 sha256=3a23055b93981ca59076a5e6ca462b7a69fef5480b0d5c8c52087374cbbdfb03
  Stored in directory: /tmp/pip-ephem-wheel-cache-ek4hxnev/wheels/d4/3a/c0/4dc152b1840724d5b992a8268bb4ef33fdbe42ffe1429b845c
Successfully built spam
    + /opt/python/cp38-cp38/bin/python -c 'import sys, json, glob; json.dump(glob.glob('"'"'/tmp/cibuildwheel/built_wheel/*.whl'"'"'), sys.stdout)'
    + rm -rf /tmp/cibuildwheel/repaired_wheel
    + mkdir -p /tmp/cibuildwheel/repaired_wheel

                                                                       ✓ 3.42s
Repairing wheel...

    + sh -c 'auditwheel repair -w /tmp/cibuildwheel/repaired_wheel /tmp/cibuildwheel/built_wheel/spam-0.1.0-cp38-cp38-linux_x86_64.whl'
INFO:auditwheel.main_repair:Repairing spam-0.1.0-cp38-cp38-linux_x86_64.whl
INFO:auditwheel.wheeltools:Previous filename tags: linux_x86_64
INFO:auditwheel.wheeltools:New filename tags: musllinux_1_1_x86_64
INFO:auditwheel.wheeltools:Previous WHEEL info tags: cp38-cp38-linux_x86_64
INFO:auditwheel.wheeltools:New WHEEL info tags: cp38-cp38-musllinux_1_1_x86_64
INFO:auditwheel.main_repair:
Fixed-up wheel written to /tmp/cibuildwheel/repaired_wheel/spam-0.1.0-cp38-cp38-musllinux_1_1_x86_64.whl
    + /opt/python/cp38-cp38/bin/python -c 'import sys, json, glob; json.dump(glob.glob('"'"'/tmp/cibuildwheel/repaired_wheel/*.whl'"'"'), sys.stdout)'
    + mkdir -p /output
    + mv /tmp/cibuildwheel/repaired_wheel/spam-0.1.0-cp38-cp38-musllinux_1_1_x86_64.whl /output

                                                                       ✓ 0.42s

✓ cp38-musllinux_x86_64 finished in 4.66s
Copying wheels back to host...


                                                                       ✓ 1.67s

2 wheels produced in 2 minutes:
  spam-0.1.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl    9 kB
  spam-0.1.0-cp38-cp38-musllinux_1_1_x86_64.whl                                                                13 kB

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

Successfully merging this pull request may close these issues.

None yet

4 participants