From: Nicolas Patry Date: Thu, 27 Oct 2022 11:48:30 +0000 (+0200) Subject: Make sure we're python3.7 compliant. (#40) X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=3a0faed8fdd8a8713ac17faf2a89aceb99594519;p=safetensors.git Make sure we're python3.7 compliant. (#40) --- diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 8ebcc34..77ba940 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -27,7 +27,7 @@ jobs: - name: Install Python uses: actions/setup-python@v2 with: - python-version: 3.9 + python-version: 3.7 architecture: "x64" diff --git a/bindings/python/py_src/safetensors/numpy.py b/bindings/python/py_src/safetensors/numpy.py index 5983037..1f8c04d 100644 --- a/bindings/python/py_src/safetensors/numpy.py +++ b/bindings/python/py_src/safetensors/numpy.py @@ -1,4 +1,3 @@ -from importlib.metadata import metadata from typing import Dict, Optional import numpy as np