Looks like something changed recently in the replit dependency handling.
In the replit.nix
file (it’s hidden, you will need to click three dots at the right of the Files tab and click Show hidden files) add pkgs.python38Packages.pytest
under the deps
, it should look something like:
deps = [
pkgs.python38Full
pkgs.python38Packages.pytest
];