Skip to content

Commit

Permalink
Bumping minimum supported Python version to 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
cgmorton committed Mar 12, 2024
1 parent 9f76d70 commit ba5a52b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
8 changes: 2 additions & 6 deletions openet/refetgee/__init__.py
Original file line number Diff line number Diff line change
@@ -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')

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"}
Expand All @@ -20,7 +20,6 @@ classifiers = [
]
dependencies = [
"earthengine-api>=0.1.364",
"importlib-metadata; python_version <= '3.7'",
]

[project.urls]
Expand Down

0 comments on commit ba5a52b

Please sign in to comment.