Merge pull request #786 from pypa/enable-3.10
Bring 3.10 out of prerelease
This commit is contained in:
@@ -67,7 +67,7 @@ class IdentifierSelector:
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
# a pattern that skips prerelease versions, when include_prereleases is False.
|
# a pattern that skips prerelease versions, when include_prereleases is False.
|
||||||
PRERELEASE_SKIP = "cp310-*"
|
PRERELEASE_SKIP = ""
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
import pytest
|
||||||
from packaging.specifiers import SpecifierSet
|
from packaging.specifiers import SpecifierSet
|
||||||
|
|
||||||
from cibuildwheel.util import BuildSelector
|
from cibuildwheel.util import BuildSelector
|
||||||
@@ -8,7 +9,7 @@ def test_build():
|
|||||||
|
|
||||||
assert build_selector("cp36-manylinux_x86_64")
|
assert build_selector("cp36-manylinux_x86_64")
|
||||||
assert build_selector("cp37-manylinux_x86_64")
|
assert build_selector("cp37-manylinux_x86_64")
|
||||||
assert not build_selector("cp310-manylinux_x86_64")
|
assert build_selector("cp310-manylinux_x86_64")
|
||||||
assert build_selector("pp36-manylinux_x86_64")
|
assert build_selector("pp36-manylinux_x86_64")
|
||||||
assert build_selector("pp37-manylinux_x86_64")
|
assert build_selector("pp37-manylinux_x86_64")
|
||||||
assert build_selector("cp36-manylinux_i686")
|
assert build_selector("cp36-manylinux_i686")
|
||||||
@@ -26,11 +27,12 @@ def test_build():
|
|||||||
assert not build_selector("pp37-win32")
|
assert not build_selector("pp37-win32")
|
||||||
assert build_selector("cp36-win_amd64")
|
assert build_selector("cp36-win_amd64")
|
||||||
assert build_selector("cp37-win_amd64")
|
assert build_selector("cp37-win_amd64")
|
||||||
assert not build_selector("cp310-win_amd64")
|
assert build_selector("cp310-win_amd64")
|
||||||
assert not build_selector("pp36-win_amd64")
|
assert not build_selector("pp36-win_amd64")
|
||||||
assert not build_selector("pp37-win_amd64")
|
assert not build_selector("pp37-win_amd64")
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.skip("this test only makes sense when we have a prerelease python to test with")
|
||||||
def test_build_filter_pre():
|
def test_build_filter_pre():
|
||||||
build_selector = BuildSelector(
|
build_selector = BuildSelector(
|
||||||
build_config="cp3*-* *-manylinux*",
|
build_config="cp3*-* *-manylinux*",
|
||||||
|
|||||||
Reference in New Issue
Block a user