EllieKallmier / ppa_analysis

Updates and additions to Nick Gorman's MSAT-PPA tool for 24/7 PPA project
MIT License
0 stars 2 forks source link

poetry dependency conflixts #1

Open nick-gorman opened 1 month ago

nick-gorman commented 1 month ago

Currently installing with poetry isn't working because of two conflicts:

  1. pandas: ppa_analysis requires pandas = "^2.2.2" but the dependency nemed specifies pandas = "^1.2". The carrot notation only means nemed can use any version of pandas after 1.2 but 2.0 or greater. Therefore to use version 2 of pandas and nemed we would need to update to allow pandas version 2 or maybe even require version 2.
  2. mip-python now requires python = ">=3.7,<3.13" but nemed requires python = ">= 3.8, <4.0". I wouldn't think this would create a conflict if, say, using Python 3.11, but apparently, it does. I think to fix this we would need to change nemed. I think nemed requires this change to keep its poetry install process working anyway, so would be some good nemed maintenance to do.

@EllieKallmier @dylanjmcconnell If we want to ppa_analysis to fit into the existing CEEM nem tool ecosystem I think it makes sense to use poetry (like nempy, nemseer, and nemed. nemosis is the exception atm). And to use poetry we would need to make the above changes. Therefore, I'd vote we go ahead with making these changes, happy todo. What do you think?

EllieKallmier commented 1 month ago

@nick-gorman Happy for you to go ahead with those changes :)