From ea8c03ccd97c27ddc17104e3cd67c515df252a87 Mon Sep 17 00:00:00 2001 From: Bernd Schuller Date: Tue, 1 Oct 2024 14:16:37 +0200 Subject: [PATCH] just use 3.7 and latest; try fixing annotations bug with 3.7 --- .github/workflows/unit-test.yml | 2 +- pyunicore/client.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 7c5b4c2..598f3bd 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.10", "3.11", "3.12"] + python-version: ["3.7", "3.x"] steps: - uses: actions/checkout@v3 diff --git a/pyunicore/client.py b/pyunicore/client.py index fc6a59d..e2b29e5 100755 --- a/pyunicore/client.py +++ b/pyunicore/client.py @@ -5,6 +5,8 @@ https://unicore-docs.readthedocs.io/en/latest/user-docs/rest-api/index.html """ +from __future__ import annotations + try: from urllib3 import disable_warnings