PYTHON-2923 Add Python 3.10 to release tasks (#758)
This commit is contained in:
parent
df6f6496a4
commit
a94916edf1
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
1
setup.py
1
setup.py
@ -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"],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user