From 4915ed892d979a995a9c457f0823918c5b4f3a4f Mon Sep 17 00:00:00 2001 From: Chris Mutel Date: Thu, 16 May 2024 08:56:24 -0400 Subject: [PATCH] Check Py3.8 compatibility --- .github/workflows/python-test.yml | 2 +- ecoinvent_interface/process_interface.py | 2 +- ecoinvent_interface/storage.py | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-test.yml b/.github/workflows/python-test.yml index eaf064b..5348b84 100644 --- a/.github/workflows/python-test.yml +++ b/.github/workflows/python-test.yml @@ -33,7 +33,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - py-version: ["3.9", "3.11", "3.12"] + py-version: ["3.8", "3.9", "3.11", "3.12"] steps: - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4 diff --git a/ecoinvent_interface/process_interface.py b/ecoinvent_interface/process_interface.py index d2f9f7b..dabcf8a 100644 --- a/ecoinvent_interface/process_interface.py +++ b/ecoinvent_interface/process_interface.py @@ -5,7 +5,7 @@ from enum import Enum from functools import lru_cache from pathlib import Path -from typing import Optional, Union, Tuple +from typing import Optional, Tuple, Union from urllib.parse import parse_qsl, urlparse import requests diff --git a/ecoinvent_interface/storage.py b/ecoinvent_interface/storage.py index 4bb7ca1..3cad9d3 100644 --- a/ecoinvent_interface/storage.py +++ b/ecoinvent_interface/storage.py @@ -1,8 +1,9 @@ import hashlib import json import shutil +from collections.abc import MutableMapping from pathlib import Path -from typing import Union, Iterable, MutableMapping +from typing import Iterable, Union import platformdirs