OSeMOSYS / osemosys_global

A global power system model generator for OSeMOSYS
https://osemosys-global.readthedocs.io/
GNU Affero General Public License v3.0
26 stars 15 forks source link

[BUG] Pandas `v2.0` breaks scripts #155

Closed trevorb1 closed 2 months ago

trevorb1 commented 1 year ago

Conda environment check

Current Behavior

When running the workflow on pandas version 2 and higher, the scripts break. Im not sure if it is all the scripts, but def the demand_projection and timeslice scripts break. Seems to be an issue with the handling of datetimes

Expected Behavior

No response

Steps To Reproduce

  1. Create the environment from the osemosys-global.yaml file
  2. Run the workflow

Operating System

Linux

Log output

No response

Anything else?

Before merging the PR to address this issue ticket, make sure you remove the version restriction in the osemosys-global.yaml file!

Simone111git commented 5 months ago

Just to add - also experiencing the same issue on a MAC operating system