Closed djjuhasz closed 1 week ago
I'm trying to import bagit-gython into https://github.com/artefactual-sdps/temporal-activities but my linter (golangci-lint) fails with an assigment mismatch error:
bagit/validate_bag_activity.go:7:8: could not import github.com/artefactual-labs/bagit-gython (-: # github.com/artefactual-labs/bagit-gython ../../../go/pkg/mod/github.com/artefactual-labs/bagit-gython@v0.0.0-20240419110812-33f9b7882bd9/bagit.go:57:9: assignment mismatch: 1 variable but b.ep.PythonCmd returns 2 values) (typecheck) bagit "github.com/artefactual-labs/bagit-gython" ^
It looks like the github.com/kluctl/go-embed-python PythonCmd() signature changed between v0.0.0-3.12.2-20240224-2 (bagit-gython) and v0.0.0-3.12.3-20240415-1 (temporal-activities)
PythonCmd()
I'm trying to import bagit-gython into https://github.com/artefactual-sdps/temporal-activities but my linter (golangci-lint) fails with an assigment mismatch error:
Environment