-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
fixFixFix
Description
Terms
- I agree to follow this project's Code of Conduct
Similar Issue Check
- I have searched for similar issues.
Bug Description
Installing opentemplate with pdm setup requires having golang installed
Source Code/Command
An unexpected error has occurred: CalledProcessError: command: ('/home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/.go/bin/go', 'install', './...')
return code: 1
stdout: (none)
stderr:
go: downloading github.com/adrg/strutil v0.3.1
go: downloading github.com/bmatcuk/doublestar/v4 v4.7.1
go: downloading github.com/gobwas/glob v0.2.3
go: downloading github.com/jdkato/go-tree-sitter-julia v0.1.0
go: downloading github.com/smacker/go-tree-sitter v0.0.0-20240827094217-dd81d9e9be82
go: downloading github.com/d5/tengo/v2 v2.17.0
go: downloading github.com/errata-ai/regexp2 v1.7.0
go: downloading github.com/expr-lang/expr v1.17.0
go: downloading github.com/jdkato/twine v0.10.2
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8
go: downloading gopkg.in/yaml.v2 v2.4.0
go: downloading github.com/Masterminds/sprig/v3 v3.3.0
go: downloading github.com/adrg/xdg v0.5.3
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/otiai10/copy v1.14.0
go: downloading github.com/pterm/pterm v0.12.40
go: downloading github.com/spf13/pflag v1.0.5
go: downloading github.com/errata-ai/ini v1.63.0
go: downloading github.com/pelletier/go-toml/v2 v2.2.3
go: downloading github.com/tomwright/dasel/v2 v2.8.1
go: downloading github.com/adrg/frontmatter v0.2.0
go: downloading github.com/niklasfasching/go-org v1.7.0
go: downloading github.com/remeh/sizedwaitgroup v1.0.0
go: downloading github.com/yuin/goldmark v1.7.8
go: downloading golang.org/x/net v0.38.0
go: downloading dario.cat/mergo v1.0.1
go: downloading github.com/Masterminds/goutils v1.1.1
go: downloading github.com/Masterminds/semver/v3 v3.3.1
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/huandu/xstrings v1.5.0
go: downloading github.com/mitchellh/copystructure v1.2.0
go: downloading github.com/shopspring/decimal v1.4.0
go: downloading github.com/spf13/cast v1.7.1
go: downloading golang.org/x/crypto v0.36.0
go: downloading github.com/mattn/go-runewidth v0.0.16
go: downloading golang.org/x/sync v0.10.0
go: downloading golang.org/x/sys v0.31.0
go: downloading github.com/montanaflynn/stats v0.7.1
go: downloading gopkg.in/neurosnap/sentences.v1 v1.0.7
go: downloading github.com/atomicgo/cursor v0.0.1
go: downloading golang.org/x/term v0.30.0
go: downloading github.com/gookit/color v1.5.4
go: downloading github.com/BurntSushi/toml v0.3.1
go: downloading github.com/mitchellh/reflectwalk v1.0.2
go: downloading github.com/rivo/uniseg v0.4.7
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e
github.com/jdkato/go-tree-sitter-julia/julia: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/jdkato/go-tree-sitter-julia@v0.1.0/julia
github.com/smacker/go-tree-sitter/c: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/c
github.com/smacker/go-tree-sitter/cpp: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/cpp
github.com/smacker/go-tree-sitter/css: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/css
github.com/smacker/go-tree-sitter/golang: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/golang
github.com/smacker/go-tree-sitter/javascript: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/javascript
github.com/smacker/go-tree-sitter/protobuf: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/protobuf
github.com/smacker/go-tree-sitter/python: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/python
github.com/smacker/go-tree-sitter/rust: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/rust
github.com/smacker/go-tree-sitter/typescript/tsx: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/typescript/tsx
github.com/smacker/go-tree-sitter/ruby: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/ruby
# github.com/smacker/go-tree-sitter
golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/iter.go:17:18: undefined: Node
golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/iter.go:21:21: undefined: Node
golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/iter.go:25:20: undefined: Node
golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/iter.go:30:26: undefined: Node
golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/iter.go:34:20: undefined: Node
golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/iter.go:38:32: undefined: Node
golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/iter.go:43:9: undefined: Node
golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/iter.go:46:18: undefined: Node
golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/iter.go:68:40: undefined: Node
github.com/smacker/go-tree-sitter/typescript/typescript: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/typescript/typescript
github.com/smacker/go-tree-sitter/yaml: build constraints exclude all Go files in /home/jasiek/.cache/pre-commit/repo4m1t426d/golangenv-default/pkg/mod/github.com/smacker/go-tree-sitter@v0.0.0-20240827094217-dd81d9e9be82/yaml
Check the log at /home/jasiek/.cache/pre-commit/pre-commit.logReproduction Steps
- Use fresh linux machine with all required dependencies installed (python 3.13, python3.13-venv)
- Clone repo and run
pdm setup
Software Version
v1.0.0
Python Version
3.13.7
Operating System
Linux
Willing To Help
Yes
Possible Fix
Probable cause is editorconfig checker, might consider removing it from the project
Additional Info
No response
Metadata
Metadata
Assignees
Labels
fixFixFix