pypsa-usa icon indicating copy to clipboard operation
pypsa-usa copied to clipboard

Make rule runnable on windows; add zipfile-deflate64 dependency

Open WilsonHM18 opened this issue 2 months ago • 1 comments

Closes #466

Changes proposed in this Pull Request

This PR fixes a bug that prevented PyPSA-USA from running in Windows subsystem for linux.

  • Extract EFS dataset using zipfile_deflate64.ZipFile when on WSL
  • Add zipfile-deflate64 as dependency.

Checklist

  • [x] I tested my contribution locally and it seems to work fine.
  • [x] Code and workflow changes are sufficiently documented.
  • [x] Changed dependencies are added to envs/environment.yaml.
  • [x] Changes in configuration options are added in all of config.default.yaml.
  • [x] Changes in configuration options are also documented in doc/configtables/*.csv.

WilsonHM18 avatar Sep 29 '25 23:09 WilsonHM18

Hey @WilsonHM18 I made changes here (https://github.com/ktehranchi/pypsa-usa/tree/kt/will-issue-466-fixes) that allow your fixes to work on Mac and Linux. I also added documentation on how to do a windows-installation. Please merge these changes into your branch then we will do a final test and merge it in

ktehranchi avatar Nov 05 '25 00:11 ktehranchi