From ba5a52b3205444ec6dd62f50e7c0483b3aeaec89 Mon Sep 17 00:00:00 2001 From: Charles Morton Date: Tue, 12 Mar 2024 13:44:49 -0700 Subject: [PATCH] Bumping minimum supported Python version to 3.8 --- openet/refetgee/__init__.py | 8 ++------ pyproject.toml | 3 +-- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/openet/refetgee/__init__.py b/openet/refetgee/__init__.py index 8d4cba6..4492fa2 100644 --- a/openet/refetgee/__init__.py +++ b/openet/refetgee/__init__.py @@ -1,12 +1,8 @@ -# try: -# from importlib import metadata -# except ImportError: # for Python<3.8 -# import importlib_metadata as metadata - from .daily import Daily from .hourly import Hourly -# # __version__ = metadata.version(__package__ or __name__) +# from importlib import metadata # __version__ = metadata.version(__package__.replace('.', '-') or __name__.replace('.', '-')) +# # __version__ = metadata.version(__package__ or __name__) # # __version__ = metadata.version('openet-refet-gee') diff --git a/pyproject.toml b/pyproject.toml index 09d3f52..bb88fea 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [ # ] description = "Google Earth Engine based ASCE Standardized Reference Evapotranspiration Functions" readme = "README.rst" -requires-python = ">=3.7" +requires-python = ">=3.8" keywords = ["RefET", "OpenET", "Earth Engine", "evapotranspiration"] license = {file = "LICENSE.txt"} # license = {text = "Apache-2.0"} @@ -20,7 +20,6 @@ classifiers = [ ] dependencies = [ "earthengine-api>=0.1.364", - "importlib-metadata; python_version <= '3.7'", ] [project.urls]