From 5474832075d26118dcf2efc982a1e1b70dba78de Mon Sep 17 00:00:00 2001 From: MartinBelthle Date: Tue, 15 Oct 2024 17:00:39 +0200 Subject: [PATCH] ci: add tests with python v3.11 (#81) --- .github/workflows/python-package.yml | 2 +- requirements.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5e79ce7..1a5b73d 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -16,7 +16,7 @@ jobs: # We should build a binary executable for windows-2016, # But currently, the oldest available version is windows-2019. os: [ windows-2019, ubuntu-20.04 ] - python-version: [ '3.8', '3.9' ] + python-version: [ '3.8', '3.9', '3.11'] steps: - uses: actions/checkout@v4 diff --git a/requirements.txt b/requirements.txt index 79ec340..f2857f5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,8 @@ cryptography~=39.0.1 paramiko~=3.4.1 pycparser~=2.21 PyNaCl~=1.5.0 -PyYAML~=5.4.1 +PyYAML~=5.4.1; python_version <= '3.9' +PyYAML~=5.3.1; python_version > '3.9' six~=1.16.0 tinydb~=4.7.1 tqdm~=4.64.1