From 365a388a2d9e86d41b1697a7d70c13046adf437d Mon Sep 17 00:00:00 2001 From: Patrick Gingras <775.pg.12@gmail.com> Date: Mon, 20 Dec 2021 16:39:47 -0500 Subject: [PATCH] Add CPython 3.10 to CI python versions (#5) * add python 3.10 to CI * update pytest --- .github/workflows/ci.yml | 2 +- riotfile.py | 6 +++--- setup.py | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da54fc0..3793c58 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest] - python-version: [3.8, 3.9] + python-version: ["3.8", "3.9", "3.10"] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v2 diff --git a/riotfile.py b/riotfile.py index 71f5bd0..4a9be03 100644 --- a/riotfile.py +++ b/riotfile.py @@ -4,12 +4,12 @@ pys=3, venvs=[ Venv( - pys=[3.8, 3.9], + pys=["3.8", "3.9", "3.10"], name="test", command="pytest {cmdargs}", pkgs={ - "pytest": "==6.1.2", - "pytest-asyncio": "==0.14.0", + "pytest": "==6.2.5", + "pytest-asyncio": "==0.16.0", "pytest-cov": latest, # extras_require "ddtrace": latest, diff --git a/setup.py b/setup.py index 5068a0f..d52f104 100644 --- a/setup.py +++ b/setup.py @@ -13,6 +13,7 @@ "Programming Language :: Python", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", "License :: OSI Approved :: BSD License", ], keywords="asyncio",