How to update replit file from 3.10 to 3.11Full (python)

I tried to update python version via replit.nix (replacing 3.10 with 3.11 but it gets flooded with errors)

  deps = [
    pkgs.python311Full
    pkgs.replitPackages.prybar-python311
    pkgs.replitPackages.stderred
  ];
  env = {
    PYTHON_LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
      # Needed for pandas / numpy
      pkgs.stdenv.cc.cc.lib
      pkgs.zlib
      # Needed for pygame
      pkgs.glib
      # Needed for matplotlib
      pkgs.xorg.libX11
    ];
    PYTHONHOME = "${pkgs.python311Full}";
    PYTHONBIN = "${pkgs.python311Full}/bin/python3.11";
    LANG = "en_US.UTF-8";
    STDERREDBIN = "${pkgs.replitPackages.stderred}/bin/stderred";
    PRYBAR_PYTHON_BIN = "${pkgs.replitPackages.prybar-python311}/bin/prybar-python311";
  };
}```
![image|553x500](upload://1zjAcQ6iiAsyZtj8eCK9AM2JASe.png)

Image got messed up

What is the error at the very end?

1 Like

When I clicked the image and opened it in imgur it seems it is this:

error: attribute 'prybar-python311' missing, at /home/runner/InferiorIncredibleRoutes/replit.nix:21:28

My guess is that prybar for 3.11 is not released, this is also why the official template has not been updated. @Elex1 The best you can do is configure it to not use prybar, as in just a run command.

1 Like