Skip to content

Commit

Permalink
Drop Python 3.7 support (reached EOL 2023-06-27)
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Apr 8, 2024
1 parent b1b0b13 commit d62c1c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
8 changes: 1 addition & 7 deletions iam_units/currency.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@
iam_units.update.currency.
"""

from typing import Union

try:
from typing import Literal
except ImportError:
from typing_extensions import Literal # type: ignore [assignment]

from typing import Literal, Union

#: Exchange rate data for method=EXC, period=2005, from
#: https://data.oecd.org/conversion/exchange-rates.htm
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -26,7 +25,7 @@ classifiers = [
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Information Analysis",
]
dependencies = ["pint >= 0.11", "typing_extensions; python_version < '3.8'"]
dependencies = ["pint >= 0.11"]

[project.urls]
homepage = "https://github.com/IAMconsortium/units"
Expand Down

0 comments on commit d62c1c3

Please sign in to comment.