From b61935703725e3e466117c490a32cea8f786a8c3 Mon Sep 17 00:00:00 2001 From: Darren Cunningham Date: Mon, 2 Oct 2023 11:25:23 -0400 Subject: [PATCH] python 3.12 --- .github/workflows/build_and_test.yml | 1 + README.rst | 1 + setup.py | 1 + tests/docker-compose-tests.yml | 14 ++++++++++++++ 4 files changed, 17 insertions(+) diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 813393f1..6fde855e 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -15,6 +15,7 @@ jobs: # Run in all these versions of Python # current and last three python versions python-version: + - "3.12.0rc3" - "3.11" - "3.10" - "3.9" diff --git a/README.rst b/README.rst index 1699f9b2..26cbe577 100644 --- a/README.rst +++ b/README.rst @@ -30,6 +30,7 @@ The following versions of Python are supported: * Python 3.9 * Python 3.10 * Python 3.11 +* Python 3.12 Basic Usage diff --git a/setup.py b/setup.py index 9a56fec0..11d1f6f8 100644 --- a/setup.py +++ b/setup.py @@ -44,6 +44,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Database", "Topic :: Database :: Front-Ends", "Operating System :: MacOS :: MacOS X", diff --git a/tests/docker-compose-tests.yml b/tests/docker-compose-tests.yml index 833347eb..79c45944 100644 --- a/tests/docker-compose-tests.yml +++ b/tests/docker-compose-tests.yml @@ -12,6 +12,20 @@ services: timeout: 3s retries: 30 + python-312: + environment: + FAUNA_SECRET: "secret" + FAUNA_ENDPOINT: http://faunadb:8443 + image: python:3.12.0rc3-alpine3.18 + container_name: python-312 + depends_on: + - faunadb + volumes: + - "../:/tmp/app" + working_dir: "/tmp/app" + command: + - tests/run-tests.sh + python-311: environment: FAUNA_SECRET: "secret"