python37Packages.flake8: don't run tests if older than python3.8
python37Packages.flake8: don't run tests if older than python3.8

Tests fail on Python 3.7 due to importlib using a deprecated interface.

Context: https://github.com/python/importlib_metadata/issues/298

NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs,NixOS/nixpkgs