Skip to content

Commit

Permalink
BLD: Remove typing-extensions as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
mferrera committed Nov 8, 2023
1 parent c02f81a commit 49f4c5c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ dependencies = [
"shapely>=1.6.2",
"tables<3.9;platform_system != 'Darwin' and python_version == '3.8'", # TODO: mac...
"tables;platform_system != 'Darwin' and python_version > '3.8'", # TODO: mac...
"typing-extensions",
]

[project.urls]
Expand Down
3 changes: 1 addition & 2 deletions src/xtgeo/grid3d/_find_gridprop_in_eclrun.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
import pathlib
import warnings
from pathlib import Path
from typing import Dict, List, Optional, Union
from typing import Dict, List, Literal, Optional, Union

import numpy as np
import resfo
from typing_extensions import Literal

import xtgeo

Expand Down
3 changes: 1 addition & 2 deletions src/xtgeo/grid3d/_gridprop_import_eclrun.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from typing import List, Union
from typing import List, Literal, Union

import resfo
from typing_extensions import Literal

from ._find_gridprop_in_eclrun import (
find_gridprop_from_init_file,
Expand Down
4 changes: 1 addition & 3 deletions src/xtgeo/grid3d/_gridprops_import_eclrun.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from copy import deepcopy
from typing import List, Tuple, Union

from typing_extensions import Literal
from typing import List, Literal, Tuple, Union

import xtgeo
from xtgeo.common.constants import MAXKEYWORDS
Expand Down

0 comments on commit 49f4c5c

Please sign in to comment.