PYTHON-2923 Add Python 3.10 to release tasks (#758)

This commit is contained in:
Shane Harvey 2021-10-13 13:58:04 -07:00 committed by GitHub
parent df6f6496a4
commit a94916edf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 6 additions and 4 deletions

View File

@ -8,7 +8,7 @@ rm -rf validdist
mkdir -p validdist
mv dist/* validdist || true
for VERSION in 3.6 3.7 3.8 3.9; do
for VERSION in 3.6 3.7 3.8 3.9 3.10; do
PYTHON=/Library/Frameworks/Python.framework/Versions/$VERSION/bin/python3
rm -rf build

View File

@ -11,7 +11,7 @@ mv dist/* validdist || true
# Compile wheels
for PYTHON in /opt/python/*/bin/python; do
if [[ ! $PYTHON =~ (cp36|cp37|cp38|cp39) ]]; then
if [[ ! $PYTHON =~ (cp36|cp37|cp38|cp39|cp310) ]]; then
continue
fi
# https://github.com/pypa/manylinux/issues/49

View File

@ -37,7 +37,8 @@ unexpected=$(find dist \! \( -iname dist -or \
-iname '*cp36*' -or \
-iname '*cp37*' -or \
-iname '*cp38*' -or \
-iname '*cp39*' \))
-iname '*cp39*' -or \
-iname '*cp310*' \))
if [ -n "$unexpected" ]; then
echo "Unexpected files:" $unexpected
exit 1

View File

@ -8,7 +8,7 @@ rm -rf validdist
mkdir -p validdist
mv dist/* validdist || true
for VERSION in 36 37 38 39; do
for VERSION in 36 37 38 39 310; do
_pythons=(C:/Python/Python${VERSION}/python.exe \
C:/Python/32/Python${VERSION}/python.exe)
for PYTHON in "${_pythons[@]}"; do

View File

@ -336,6 +336,7 @@ setup(
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Database"],