diff --git a/internal/backends/python/python.go b/internal/backends/python/python.go index bf7b2953..b58343af 100644 --- a/internal/backends/python/python.go +++ b/internal/backends/python/python.go @@ -705,6 +705,10 @@ func makePythonUvBackend() api.LanguageBackend { return nil } + if cfg.Project == nil { + return nil + } + pkgs := map[api.PkgName]api.PkgSpec{} for _, dep := range cfg.Project.Dependencies {