diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2b273ad1..5e9dacf4 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -93,12 +93,6 @@ jobs: condition: eq(variables['Agent.OS'], 'Darwin') displayName: 'Build wheel (Mac)' - - script: | - gcc --version - python setup.py bdist_wheel - condition: and(eq(variables['Agent.OS'], 'Linux'), or(eq(variables['python.version'], '2.7'), eq(variables['python.version'], '3.5'))) - displayName: 'Build wheel (Linux)' - - script: | clang --version CC=clang python setup.py bdist_wheel @@ -106,10 +100,10 @@ jobs: displayName: 'Build wheel (Linux / clang)' - script: | - gcc-7 --version - CC=gcc-7 python setup.py bdist_wheel + gcc-9 --version + CC=gcc-9 python setup.py bdist_wheel condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['python.version'], '3.7')) - displayName: 'Build wheel (Linux / gcc-7)' + displayName: 'Build wheel (Linux / gcc-9)' - script: | gcc-9 --version @@ -129,6 +123,12 @@ jobs: condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['python.version'], '3.10')) displayName: 'Build wheel (Linux / clang-12)' + - script: | + gcc --version + CC=gcc python setup.py bdist_wheel + condition: and(eq(variables['Agent.OS'], 'Linux'), eq(variables['python.version'], '3.11.0-rc.2')) + displayName: 'Build wheel (Linux / gcc)' + - task: PythonScript@0 inputs: scriptSource: inline diff --git a/build-constraints.txt b/build-constraints.txt index 956973ab..e107c912 100644 --- a/build-constraints.txt +++ b/build-constraints.txt @@ -5,4 +5,5 @@ numpy==1.17.3; python_version=='3.8' and platform_machine!='aarch64' numpy==1.19.2; python_version=='3.8' and platform_machine=='aarch64' numpy==1.19.3; python_version=='3.9' numpy==1.21.3; python_version=='3.10' +numpy==1.23.2; python_version=='3.11' numpy; python_version>='3.11' diff --git a/requirements.txt b/requirements.txt index 952e8501..0345049e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,4 +2,4 @@ numpy pytest cython -hypothesis>=4.0.0,<6.0.0 +hypothesis>=4.0.0,<7.0.0 diff --git a/setup.py b/setup.py index d9c9fb5e..979e07cc 100644 --- a/setup.py +++ b/setup.py @@ -337,6 +337,7 @@ def chdir(new_dir): "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Topic :: Scientific/Engineering", ], )