From 2ae3516d86e8c2583736da20c097a0b9dbd7b98f Mon Sep 17 00:00:00 2001
From: Brent Huisman <brenthuisman@users.noreply.github.com>
Date: Wed, 26 Oct 2022 13:15:21 +0200
Subject: [PATCH] Update pyproject.toml for Py3.11 (#2018)

* build for py311
* update dependencies.csv
---
 doc/dependencies.csv | 6 +++---
 pyproject.toml       | 5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/doc/dependencies.csv b/doc/dependencies.csv
index d630c1b4..09b3f141 100644
--- a/doc/dependencies.csv
+++ b/doc/dependencies.csv
@@ -12,10 +12,10 @@ ARB_WITH_NEUROML,libxml2,,,
 ARB_WITH_MPI,MPI,,Many MPI implementations are supported.,
 "ARB_WITH_MPI, ARB_WITH_PYTHON ",mpi4py,3.1.0,Minimum version depends on compatiblity with your Python and MPI versions. 3.1.0 is the first release to support Python > 3.8.,
 html,     .. literalinclude:: ../requirements.txt,,See ``doc/requirements.txt``,
-unit,googletest,,source copy ``ext/gtest.*``,
+unit,googletest,,submodule ``ext/gtest.*``,
 bench,Google-benchmark,,submodule ``ext/google-benchmark``,
---,json,,source copy ``ext/json``,
---,random123,,source copy ``ext/random123``,
+--,json,,submodule ``ext/json``,
+--,random123,,submodule ``ext/random123``,
 --,fmt,,submodule ``ext/fmt``,
 --,tinyopt,,source copy ``ext/tinyopt``,
 ARB_WITH_PYTHON,pybind11,,submodule ``ext/pybind11``,
diff --git a/pyproject.toml b/pyproject.toml
index cd9e92e2..3c897394 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -20,6 +20,7 @@ classifiers = [
     "Programming Language :: Python :: 3.8",
     "Programming Language :: Python :: 3.9",
     "Programming Language :: Python :: 3.10",
+    "Programming Language :: Python :: 3.11",
     "Programming Language :: C++"
 ]
 dependencies = [
@@ -28,7 +29,7 @@ dependencies = [
 
 [tool.black]
 line-length = 88
-target-version = ['py37', 'py38', 'py39', 'py310']
+target-version = ['py37', 'py38', 'py39', 'py310', 'py311']
 include = '\.pyi?$'
 extend-exclude='^/(ext|doc/scripts/.*_theme|doc/scripts/inputs.py)'
 
@@ -50,7 +51,7 @@ requires = [
     "setuptools",
     "wheel",
     "scikit-build",
-    "cmake>=3.18",
+    "cmake>=3.19",
     "ninja",
 ]
 build-backend = "setuptools.build_meta"
-- 
GitLab