Skip to content

Commit 93453bd

Browse files
Merge pull request #549 from quantumlib/time-travel
Advance versions for compatibility
2 parents d5e65aa + c6f9a13 commit 93453bd

File tree

8 files changed

+16
-14
lines changed

8 files changed

+16
-14
lines changed

.github/workflows/release_wheels.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,21 @@ jobs:
1515
- os: macos-10.15
1616
name: mac
1717
cibw:
18-
build: "cp36* cp37* cp38* cp39* cp310*"
18+
build: "cp37* cp38* cp39* cp310*"
1919
- os: ubuntu-20.04
2020
name: manylinux2014
2121
cibw:
2222
arch: x86_64
23-
build: "cp36* cp37* cp38* cp39* cp310*"
23+
build: "cp37* cp38* cp39* cp310*"
2424
manylinux_image: manylinux2014
2525
- os: windows-2019
2626
name: win_amd64
2727
architecture: x64
2828
cibw:
29-
build: "cp36-win_amd64 cp37-win_amd64 cp38-win_amd64 cp39-win_amd64 cp310-win_amd64"
29+
build: "cp37-win_amd64 cp38-win_amd64 cp39-win_amd64 cp310-win_amd64"
3030
env:
3131
CIBW_BUILD: "${{ matrix.cibw.build || '*' }}"
32+
CIBW_SKIP: "*musllinux*"
3233
CIBW_ARCHS: "${{ matrix.cibw.arch || 'auto' }}"
3334
CIBW_MANYLINUX_X86_64_IMAGE: "${{ matrix.cibw.manylinux_image }}"
3435
CIBW_BEFORE_BUILD_MACOS: "brew install libomp llvm"
@@ -46,7 +47,7 @@ jobs:
4647
- uses: actions/setup-python@v2
4748

4849
- name: Install cibuildwheel and twine
49-
run: python -m pip install cibuildwheel==2.0.1
50+
run: python -m pip install cibuildwheel==2.2.2
5051

5152
- name: Run C++ tests
5253
run: bash build_tools/test_libs.sh

.github/workflows/testing_wheels.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,21 @@ jobs:
2020
- os: macos-10.15
2121
name: mac
2222
cibw:
23-
build: "cp36* cp37* cp38* cp39* cp310*"
23+
build: "cp37* cp38* cp39* cp310*"
2424
- os: ubuntu-20.04
2525
name: manylinux2014
2626
cibw:
2727
arch: x86_64
28-
build: "cp36* cp37* cp38* cp39* cp310*"
28+
build: "cp37* cp38* cp39* cp310*"
2929
manylinux_image: manylinux2014
3030
- os: windows-2019
3131
name: win_amd64
3232
architecture: x64
3333
cibw:
34-
build: "cp36-win_amd64 cp37-win_amd64 cp38-win_amd64 cp39-win_amd64 cp310-win_amd64"
34+
build: "cp37-win_amd64 cp38-win_amd64 cp39-win_amd64 cp310-win_amd64"
3535
env:
3636
CIBW_BUILD: "${{ matrix.cibw.build || '*' }}"
37+
CIBW_SKIP: "*musllinux*"
3738
CIBW_ARCHS: "${{ matrix.cibw.arch || 'auto' }}"
3839
CIBW_MANYLINUX_X86_64_IMAGE: "${{ matrix.cibw.manylinux_image }}"
3940
CIBW_BEFORE_BUILD_MACOS: "brew install libomp llvm"
@@ -51,7 +52,7 @@ jobs:
5152
- uses: actions/setup-python@v2
5253

5354
- name: Install cibuildwheel and twine
54-
run: python -m pip install cibuildwheel==2.0.1
55+
run: python -m pip install cibuildwheel==2.2.2
5556

5657
- name: Run C++ tests
5758
run: bash build_tools/test_libs.sh

pybind_interface/GetPybind11.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
include(FetchContent)
22

3-
set(MIN_PYBIND_VERSION "2.2.4")
3+
set(MIN_PYBIND_VERSION "2.8.1")
44
FetchContent_Declare(
55
pybind11
66
GIT_REPOSITORY https://github.com/pybind/pybind11

pybind_interface/cuda/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ if(APPLE)
1515
endif()
1616

1717
INCLUDE(../GetPybind11.cmake)
18-
find_package(PythonLibs 3.6 REQUIRED)
18+
find_package(PythonLibs 3.7 REQUIRED)
1919
find_package(CUDA REQUIRED)
2020

2121
include_directories(${PYTHON_INCLUDE_DIRS} ${pybind11_SOURCE_DIR}/include)

pybind_interface/custatevec/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ if(APPLE)
2828
endif()
2929

3030
INCLUDE(../GetPybind11.cmake)
31-
find_package(PythonLibs 3.6 REQUIRED)
31+
find_package(PythonLibs 3.7 REQUIRED)
3232
find_package(CUDA REQUIRED)
3333

3434
include_directories(${pybind11_INCLUDE_DIRS})

pybind_interface/decide/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ INCLUDE(../GetPybind11.cmake)
2424
if(has_nvcc STREQUAL "")
2525
pybind11_add_module(qsim_decide decide.cpp)
2626
else()
27-
find_package(PythonLibs 3.6 REQUIRED)
27+
find_package(PythonLibs 3.7 REQUIRED)
2828
find_package(CUDA REQUIRED)
2929

3030
include_directories(${PYTHON_INCLUDE_DIRS} ${pybind11_SOURCE_DIR}/include)

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
absl-py
22
cirq-core
3-
numpy~=1.16
3+
numpy~=1.21
44
pybind11
55
typing_extensions

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def build_extension(self, ext):
9494
url="https://github.com/quantumlib/qsim",
9595
author="Vamsi Krishna Devabathini",
9696
author_email="[email protected]",
97-
python_requires=">=3.3.0",
97+
python_requires=">=3.7.0",
9898
install_requires=requirements,
9999
extras_require={
100100
"dev": dev_requirements,

0 commit comments

Comments
 (0)