PYTHON-3681 Build wheels for Python 3.12 beta (#1304)
This commit is contained in:
parent
4d42931823
commit
8573ee2f9d
@ -11,7 +11,7 @@ mv dist/* validdist || true
|
||||
|
||||
# Compile wheels
|
||||
for PYTHON in /opt/python/*/bin/python; do
|
||||
if [[ ! $PYTHON =~ (cp37|cp38|cp39|cp310|cp311) ]]; then
|
||||
if [[ ! $PYTHON =~ (cp37|cp38|cp39|cp310|cp311|cp312) ]]; then
|
||||
continue
|
||||
fi
|
||||
# https://github.com/pypa/manylinux/issues/49
|
||||
|
||||
@ -43,7 +43,8 @@ unexpected=$(find dist \! \( -iname dist -or \
|
||||
-iname '*cp38*' -or \
|
||||
-iname '*cp39*' -or \
|
||||
-iname '*cp310*' -or \
|
||||
-iname '*cp311*' \))
|
||||
-iname '*cp311*' -or \
|
||||
-iname '*cp312*' \))
|
||||
if [ -n "$unexpected" ]; then
|
||||
echo "Unexpected files:" $unexpected
|
||||
exit 1
|
||||
|
||||
@ -8,7 +8,7 @@ rm -rf validdist
|
||||
mkdir -p validdist
|
||||
mv dist/* validdist || true
|
||||
|
||||
for VERSION in 37 38 39 310 311; do
|
||||
for VERSION in 37 38 39 310 311 312; do
|
||||
_pythons=("C:/Python/Python${VERSION}/python.exe" \
|
||||
"C:/Python/32/Python${VERSION}/python.exe")
|
||||
for PYTHON in "${_pythons[@]}"; do
|
||||
|
||||
@ -2505,6 +2505,10 @@ axes:
|
||||
display_name: "Python 3.11"
|
||||
variables:
|
||||
PYTHON_BINARY: "/opt/python/3.11/bin/python3"
|
||||
- id: "3.12"
|
||||
display_name: "Python 3.12"
|
||||
variables:
|
||||
PYTHON_BINARY: "/opt/python/3.12/bin/python3"
|
||||
- id: "pypy3.7"
|
||||
display_name: "PyPy 3.7"
|
||||
variables:
|
||||
@ -2545,6 +2549,10 @@ axes:
|
||||
display_name: "Python 3.11"
|
||||
variables:
|
||||
PYTHON_BINARY: "C:/python/Python311/python.exe"
|
||||
- id: "3.12"
|
||||
display_name: "Python 3.12"
|
||||
variables:
|
||||
PYTHON_BINARY: "C:/python/Python312/python.exe"
|
||||
|
||||
- id: python-version-windows-32
|
||||
display_name: "Python"
|
||||
@ -2569,6 +2577,10 @@ axes:
|
||||
display_name: "32-bit Python 3.11"
|
||||
variables:
|
||||
PYTHON_BINARY: "C:/python/32/Python311/python.exe"
|
||||
- id: "3.12"
|
||||
display_name: "32-bit Python 3.12"
|
||||
variables:
|
||||
PYTHON_BINARY: "C:/python/32/Python312/python.exe"
|
||||
|
||||
# Choice of mod_wsgi version
|
||||
- id: mod-wsgi-version
|
||||
|
||||
@ -35,6 +35,7 @@ classifiers = [
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Topic :: Database",
|
||||
"Typing :: Typed",
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user