From 4b643ad01fb53c16939776b5998fa7a137f950b9 Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Sun, 24 Oct 2021 18:11:29 +0200 Subject: [PATCH 1/2] test against python 3.10 --- .github/workflows/github-actions.yml | 2 +- setup.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions.yml b/.github/workflows/github-actions.yml index b6820a33..66c4ecc9 100644 --- a/.github/workflows/github-actions.yml +++ b/.github/workflows/github-actions.yml @@ -44,7 +44,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8, 3.9, pypy3] + python-version: [3.6, 3.7, 3.8, 3.9, "3.10", pypy3] MONGODB: [$MONGODB_4_0] PYMONGO: [$PYMONGO_3_11] include: diff --git a/setup.py b/setup.py index 27ed987e..48ca2e4f 100644 --- a/setup.py +++ b/setup.py @@ -101,6 +101,8 @@ CLASSIFIERS = [ "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Database", From 9a414edb25122702fc6b363d6b5b6b76ce528a6d Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Sun, 24 Oct 2021 18:26:56 +0200 Subject: [PATCH 2/2] unfreeze pytest (pytest>=6.2.5 is required for py3.10) --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 48ca2e4f..bb777da0 100644 --- a/setup.py +++ b/setup.py @@ -112,7 +112,7 @@ CLASSIFIERS = [ extra_opts = { "packages": find_packages(exclude=["tests", "tests.*"]), "tests_require": [ - "pytest<5.0", + "pytest", "pytest-cov", "coverage", "blinker",