From 6177a684f4d16152103debfc535e457e95938f4a Mon Sep 17 00:00:00 2001
From: Jan Segre <jan@segre.in>
Date: Wed, 10 Jan 2024 16:39:50 +0100
Subject: [PATCH] Update to test on latest rocksdb's 6, 7 and 8 branches

---
 .github/workflows/build.yml | 6 +++---
 setup.cfg                   | 6 +++---
 tox.ini                     | 8 ++++----
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 6fbee1a..4e49a6a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,7 +19,7 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        rocksdb_ver: ['v6.29.3', 'v6.25.3', 'v6.11.4']
+        rocksdb_ver: ['v6.29.5', 'v7.10.2', 'v8.9.1']
 
     steps:
       - uses: actions/cache@v2
@@ -52,8 +52,8 @@ jobs:
     strategy:
       matrix:
         os: [ubuntu-latest]
-        py_ver: ['3.7', '3.8', '3.9']
-        rocksdb_ver: ['v6.29.3', 'v6.25.3', 'v6.11.4']
+        py_ver: ['3.10', '3.11', '3.12']
+        rocksdb_ver: ['v6.29.5', 'v7.10.2', 'v8.9.1']
 
     steps:
       - uses: actions/checkout@v2
diff --git a/setup.cfg b/setup.cfg
index 6e30ed6..043c07e 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -18,9 +18,9 @@ classifiers =
     Intended Audience :: Developers
     License :: OSI Approved :: BSD License
     Programming Language :: Python :: 3
-    Programming Language :: Python :: 3.7
-    Programming Language :: Python :: 3.8
-    Programming Language :: Python :: 3.9
+    Programming Language :: Python :: 3.10
+    Programming Language :: Python :: 3.11
+    Programming Language :: Python :: 3.12
     Topic :: Database
 
 [options]
diff --git a/tox.ini b/tox.ini
index dacd8bf..042d788 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,8 +1,8 @@
 [tox]
-envlist = py35,py36,py37,py38,py39
-minversion = 2.0
+env_list = py310,py311,py312
+min_version = 4.11
 isolated_build = True
-skipsdist = True
+no_package = True
 
 [testenv]
 # Install the module in `.` and its `test` extra dependencies from
@@ -17,7 +17,7 @@ commands = pytest {envsitepackagesdir}/rocksdb
 
 [testenv:docs]
 deps = .[doc]
-commands = python3 setup.py build_sphinx -W
+commands = python setup.py build_sphinx -W
 
 [pytest]
 addopts = --verbose --pyargs
-- 
GitLab