From 3a0faed8fdd8a8713ac17faf2a89aceb99594519 Mon Sep 17 00:00:00 2001 From: Nicolas Patry Date: Thu, 27 Oct 2022 13:48:30 +0200 Subject: [PATCH] Make sure we're python3.7 compliant. (#40) --- .github/workflows/python.yml | 2 +- bindings/python/py_src/safetensors/numpy.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 -- 2.43.0