Skip to content

Commit

Permalink
Officially drop 3.6 support (#373)
Browse files Browse the repository at this point in the history
We depend on dataclasses, which are from 3.7. 3.6 EOLed last year so
hopefully no great loss.
  • Loading branch information
msullivan committed Oct 7, 2022
1 parent 09c950f commit 7b76bc7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b76bc7

Please sign in to comment.