Skip to content

Commit

Permalink
More work on restoring Py3.9 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
cmutel committed Aug 21, 2024
1 parent 6515564 commit aef40ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bw2io/importers/simapro_block_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import warnings
from io import StringIO
from pathlib import Path
from typing import Optional
from typing import Optional, Union

from bw2data import Database, config, databases, labels
from bw_simapro_csv import SimaProCSV
Expand Down Expand Up @@ -39,7 +39,7 @@ class SimaProBlockCSVImporter(LCIImporter):

def __init__(
self,
path_or_stream: Path | StringIO,
path_or_stream: Union[Path, StringIO],
database_name: Optional[str] = None,
biosphere_database_name: Optional[str] = None,
):
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies = [
"bw2parameters>=1.1.0",
"bw_migrations>=0.2",
"bw_processing>=0.8.5",
"bw_simapro_csv>=0.2",
"bw_simapro_csv>=0.2.3",
"lxml",
"mrio_common_metadata",
"multifunctional>=0.5",
Expand Down

0 comments on commit aef40ea

Please sign in to comment.