Skip to content

Upgrade to numpy 2 #13

Description

@jordan-evens

Current version uses numpy<2 in requirements. Need to update to numpy 2 and resolve any differences between the two versions.
Steps:

  1. clone azure branch of repo
  2. fixed version of azure image with make_hotfix.sh
  3. new version of image with docker compose build firestarr-app-dev (or setup.sh) - so you can edit code inside it
  4. Compare what scripts/force_run.sh --prepare-only --no-resume --no-retry does in each container and reconcile the differences
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "name": "main.py test prepare",
      "type": "debugpy",
      "request": "launch",
      "program": "${workspaceFolder}/src/py/firestarr/main.py",
      "console": "integratedTerminal",
      "args": [
        "--no-resume",
        "--no-retry",
        "--prepare-only"
      ]
    }
  ]
}

running that would give you outputs in ../data/sims/m3_<YYYYmmddHHMM> that you can compare between the two containers

  • step through in both containers and try to match what the azure version (numpy 1) comes up with at each step

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions