This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch run_tests_py312
in repository https://gitbox.apache.org/repos/asf/libcloud.git

commit ff8059a84ad70eb67ac9c473a0762b9a9efe3ae7
Author: Tomaz Muraus <to...@tomaz.me>
AuthorDate: Mon Jul 31 18:06:24 2023 +0200

    Also try running tests under Python 3.12 beta.
---
 .github/workflows/main.yml | 1 +
 pyproject.toml             | 4 ++++
 setup.py                   | 1 +
 tox.ini                    | 1 +
 4 files changed, 7 insertions(+)

diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index ca119761d..3bfbfe9c3 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -54,6 +54,7 @@ jobs:
           - 3.9
           - "3.10"
           - "3.11"
+          - "3.12-dev"
           # TODO: Investigate why it started failing with cryptic error on CI
           #- "pypy-3.7"
         os:
diff --git a/pyproject.toml b/pyproject.toml
index 7a2fe8b87..25fc6db0b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,3 +1,7 @@
+[build-system]
+requires = ["setuptools~=66.1", "wheel~=0.37.1"]
+build-backend = "setuptools.build_meta"
+
 [tool.black]
 line_length = 100
 target_version = ['py37', 'py38', 'py39', 'py310']
diff --git a/setup.py b/setup.py
index cd96eaab9..10b3d4618 100644
--- a/setup.py
+++ b/setup.py
@@ -321,6 +321,7 @@ setup(
         "Programming Language :: Python :: 3.9",
         "Programming Language :: Python :: 3.10",
         "Programming Language :: Python :: 3.11",
+        "Programming Language :: Python :: 3.12",
         "Programming Language :: Python :: Implementation :: CPython",
         "Programming Language :: Python :: Implementation :: PyPy",
     ],
diff --git a/tox.ini b/tox.ini
index 233040495..125cb44ea 100644
--- a/tox.ini
+++ b/tox.ini
@@ -19,6 +19,7 @@ allowlist_externals =
     /bin/bash
     scripts/*.sh
 basepython =
+    py3.12-dev: python3.12
     pypypy3: pypy3
     pypypy3.7: pypy3.7
     pypypy-3.7: pypy3.7

Reply via email to