From 55deb0ae34523d9315f885be0625cae6694a22b7 Mon Sep 17 00:00:00 2001 From: Vinit Kumar Date: Fri, 31 Dec 2021 01:12:48 +0530 Subject: [PATCH] Add support for Python3.11 alpha and upgrade pytest and py (#97) * feat: be specific with the os version and give python3.11-alpha3 a try * fix: broken package in python3.11 Pytest and Py package are both broken unless a latest version of both are released. In order to fix this, both of them are upgraded. The following issue can take to both the issues: https://github.com/pytest-dev/apipkg/issues/30 Authored-by: Vinit Kumar Signed-off-by: Vinit Kumar * fix: missing comma --- .github/workflows/pythonpackage.yml | 6 +++--- requirements.in | 3 ++- requirements.txt | 10 ++++++---- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index e3c1ac6..3518b40 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -8,11 +8,11 @@ jobs: strategy: fail-fast: false matrix: - python-version: [3.7, 3.8, 3.9, pypy-3.8, 3.10.0] + python-version: [3.7, 3.8, 3.9, pypy-3.8, 3.10.0, '3.11.0-alpha.3'] os: [ ubuntu-20.04, - macOS-latest, - windows-latest, + windows-2022, + macos-10.15, ] steps: diff --git a/requirements.in b/requirements.in index 2fa158e..b94b234 100644 --- a/requirements.in +++ b/requirements.in @@ -1,5 +1,6 @@ requests>=2.20.0 defusedxml==0.7.1 -pytest +pytest==7.0.0rc1 +py==1.11.0 xmltodict diff --git a/requirements.txt b/requirements.txt index 4802459..c9e100c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,15 +24,17 @@ packaging==21.0 # via pytest pluggy==1.0.0 # via pytest -py==1.10.0 - # via pytest +py==1.11.0 + # via + # -r requirements.in + # pytest pyparsing==2.4.7 # via packaging -pytest==6.2.5 +pytest==7.0.0rc1 # via -r requirements.in requests==2.26.0 # via -r requirements.in -toml==0.10.2 +tomli==2.0.0 # via pytest typing-extensions==3.10.0.2 # via importlib-metadata