oemof / oemof-solph

A model generator for energy system modelling and optimisation (LP/MILP).
https://oemof.org
MIT License
282 stars 124 forks source link

Replace the specification of frequency for hours in pandas data_range #1049

Closed fwitte closed 1 month ago

fwitte commented 4 months ago

Closes #1046

fwitte commented 4 months ago

The create_time_index test now fails under python 3.8 and succeeds for python 3.9 and higher. And, if I understand the pandas future warning correctly, will fail once pandas 3.0 becomes available. So sometime soon python 3.8 support should be dropped, I think.

fwitte commented 1 month ago

What is the current state here? I am getting tired of the pandas warnings... :D

p-snft commented 1 month ago

Feel free to merge. (Didn't manage to get GitHub to test using Python 3.12 but that is a separate issue.)

fwitte commented 1 month ago

Thank you, merged it!