From 7b76bc73439a1939c41ebb6097d8cef21edae57f Mon Sep 17 00:00:00 2001 From: "Michael J. Sullivan" Date: Thu, 6 Oct 2022 18:03:15 -0700 Subject: [PATCH] Officially drop 3.6 support (#373) We depend on dataclasses, which are from 3.7. 3.6 EOLed last year so hopefully no great loss. --- .github/workflows/release.yml | 6 +----- README.rst | 2 +- setup.py | 5 ++--- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1eb283cf..0dde1bdb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -76,12 +76,8 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-2019] - cibw_python: ["cp36-*", "cp37-*", "cp38-*", "cp39-*", "cp310-*"] + cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*"] cibw_arch: ["auto64"] - exclude: - # Tests fail on this combination. - - os: macos-latest - cibw_python: "cp36-*" defaults: run: diff --git a/README.rst b/README.rst index 697ae0b1..8b52d2ae 100644 --- a/README.rst +++ b/README.rst @@ -14,7 +14,7 @@ The Python driver for EdgeDB **edgedb-python** is the official EdgeDB driver for Python. It provides both blocking IO and asyncio implementations. -The library requires Python 3.6 or later. +The library requires Python 3.7 or later. Documentation diff --git a/setup.py b/setup.py index e40933e9..c3e609b9 100644 --- a/setup.py +++ b/setup.py @@ -19,9 +19,8 @@ import sys -if sys.version_info < (3, 6): - # edgedb.NamedTuple() relies on ordered **kwargs. - raise RuntimeError('edgedb requires Python 3.6 or greater') +if sys.version_info < (3, 7): + raise RuntimeError('edgedb requires Python 3.7 or greater') import os import os.path