File tree Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Expand file tree Collapse file tree 4 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 1212 strategy :
1313 fail-fast : false
1414 matrix :
15- platform : [ubuntu-latest] # add after 2.6.0: windows-latest, macos-latest
15+ platform : [ubuntu-latest, windows-latest, macos-latest]
1616 python-version : ["3.6", "3.8"]
1717
1818 runs-on : ${{ matrix.platform }}
Original file line number Diff line number Diff line change 1212
1313env :
1414 CIBW_TEST_COMMAND : python {project}/tests/test.py
15- # This is a hack that can be removed when we start using wheels for pybind11
16- CIBW_BEFORE_BUILD : pip install cmake git+https://github.com/pybind/ pybind11.git@master
15+ # This can be removed if pyproject.toml is used
16+ CIBW_BEFORE_BUILD : pip install pybind11
1717
1818
1919jobs :
@@ -52,14 +52,14 @@ jobs:
5252 - uses : actions/setup-python@v2
5353
5454 - name : Install cibuildwheel
55- run : python -m pip install cibuildwheel==1.6.0
55+ run : python -m pip install cibuildwheel==1.6.1
5656
5757 - name : Build wheel
5858 run : python -m cibuildwheel --output-dir wheelhouse
5959 env :
60- # We have to skip Win 3.5 for now, because it doesn't support PEP 518
61- # build from a portable install (can re-add when using wheels for pybind11)
62- CIBW_SKIP : cp27-win* cp35-win*
60+ # Python 2.7 on Windows requires a workaround for C++11 support,
61+ # built separately below
62+ CIBW_SKIP : cp27-win*
6363
6464 - name : Show files
6565 run : ls -lh wheelhouse
8888 - uses : actions/setup-python@v2
8989
9090 - name : Install cibuildwheel
91- run : python -m pip install cibuildwheel==1.6.0
91+ run : python -m pip install cibuildwheel==1.6.1
9292
9393 - uses : ilammy/msvc-dev-cmd@v1
9494
Original file line number Diff line number Diff line change 1212 # And never do this yourself unless you know what you are doing (it
1313 # explicitly is okay with pybind11, but may not be with arbitrary
1414 # libraries)
15- python -m pip install -vvv "git+https://github.com/pybind/ pybind11.git@master"
15+ python -m pip install -vvv pybind11==2.6.0b1
1616 python -m pip install . -vvv --no-deps
1717 python -m pip uninstall -y pybind11
1818
Original file line number Diff line number Diff line change 4141 ext_modules = ext_modules ,
4242 # Note: You have to add pybind11 to both setup and install requires to make
4343 # it available during the build. Using PEP 518's pyproject.toml is better!
44- setup_requires = ["pybind11 @ git+https://github.com/pybind/pybind11.git@master" ],
45- install_requires = ["pybind11 @ git+https://github.com/pybind/pybind11.git@master" ],
44+ setup_requires = ["pybind11==2.6.0b1" ]
45+ install_requires = ["pybind11==2.6.0b1" ]
4646 extras_require = {"test" : "pytest" },
4747 # Currently, build_ext only provides an optional "highest supported C++
4848 # level" feature, but in the future it may provide more features.
You can’t perform that action at this time.
0 commit comments