Skip to content

Commit

Permalink
Limit python and numpy versions and warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-omoyele committed Aug 8, 2024
1 parent 0efb92e commit aef17b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: tsam
channels:
- conda-forge
dependencies:
- python
- python>=3.8,<3.13
- pip
- pip:
- -r requirements.txt
2 changes: 1 addition & 1 deletion test/test_subhourlyResolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def test_subhourlyResolution():

# reset index of new dataframe to 15 min. intervals
rawSubhourlyInndex.index = pd.date_range(
"2050-01-01 00:30:00", periods=8760, freq=(str(0.25) + "H"), tz="Europe/Berlin"
"2050-01-01 00:30:00", periods=8760, freq=(str(0.25) + "h"), tz="Europe/Berlin"
)

starttime = time.time()
Expand Down
2 changes: 1 addition & 1 deletion tsam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
action="ignore",
category=FutureWarning,
append=True,
message="*The previous implementation of stack is deprecated.*",
message=r".*The previous implementation of stack is deprecated and will be removed in a future version of pandas.*",
)

0 comments on commit aef17b6

Please sign in to comment.