Skip to content

Commit ca28673

Browse files
committed
Add support for python 3.12
1 parent cb8f412 commit ca28673

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/build_linux.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: ["ubuntu-20.04"]
16-
python-version: ["3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1717
java-version: ["8"]
1818
gcc-version: ["7"]
1919
clang-version: ["11"]

.github/workflows/build_windows.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: ["windows-2022"]
16-
python-version: ["3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1717
java-version: ["8"]
1818
msvc-toolset-version: ["v141"]
1919
mingw-version: ["7.5.0"]
@@ -104,7 +104,7 @@ jobs:
104104
105105
- name: Install specific version of HTML validator (v.Nu)
106106
run: |
107-
wget -P "${{github.workspace}}" https://github.com/validator/validator/releases/download/20.6.30/vnu.jar_20.6.30.zip
107+
wget -P "${{github.workspace}}" https://github.com/validator/validator/releases/download/20.6.30/vnu.jar_20.6.30.zip
108108
unzip "${{github.workspace}}\vnu.jar_20.6.30.zip" -d "${{github.workspace}}"
109109
mv "${{github.workspace}}\dist" "${{github.workspace}}\vnu-20.6.30"
110110

scripts/common_tools.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,9 @@ activate_python_virtualenv()
342342

343343
local STANDARD_REQUIREMENTS=(
344344
# needed to build apsw on Windows using MSVC compiler - see https://github.com/rogerbinns/apsw/issues/303
345-
"setuptools==59.8.0"
345+
"setuptools==69.0.3"
346346
"coverage==6.5.0" "sphinx"
347-
"astroid==2.15.0" "pylint==2.16.3" "mypy==0.931"
347+
"astroid==3.0.3" "pylint==3.0.3" "mypy==0.931"
348348
"pybind11>=2.10.0"
349349
)
350350
local APSW_REQUIREMENTS=("apsw")
@@ -389,7 +389,7 @@ install_python_apsw()
389389

390390
pushd "${PYTHON_VIRTUALENV_ROOT}" > /dev/null
391391
if [ ! -d "${PYTHON_VIRTUALENV_ROOT}/apsw" ] ; then
392-
git clone --depth 1 https://github.com/rogerbinns/apsw.git -b 3.41.0.0
392+
git clone --depth 1 https://github.com/rogerbinns/apsw.git -b 3.45.1.0
393393
if [ $? -ne 0 ] ; then
394394
stderr_echo "Failed to clone apsw repository!"
395395
popd > /dev/null
@@ -399,7 +399,7 @@ install_python_apsw()
399399

400400
cd apsw
401401

402-
python setup.py fetch --sqlite --version=3.41.0 build --enable=fts4,fts5 install
402+
python setup.py fetch --sqlite --version=3.45.1 build --enable=fts4,fts5 install
403403
if [ $? -ne 0 ] ; then
404404
stderr_echo "Failed to build python apsw module!"
405405
popd > /dev/null

0 commit comments

Comments
 (0)