Comments (5)
I can reproduce it now, I was on an older commit when I first tried this.
from bazel-gazelle.
Note it's not just custom gazelle_binary
using what is proposed by rules_python
is also not working:
gazelle(
name = "gazelle",
data = GAZELLE_PYTHON_RUNTIME_DEPS,
gazelle = "@rules_python//gazelle:gazelle_python_binary",
)
from bazel-gazelle.
If I check out rules_python
and update the Gazelle version in examples/build_file_generation
to v0.32.0
, running bazel run //:gazelle
in that directory succeeds. Could you check whether you are using the latest version of rules_python
?
from bazel-gazelle.
I am. I have a synthetic repro that is a few files only I can upload it somewhere if you want to have a look.
from bazel-gazelle.
I can reproduce this with Gazelle up to v0.32.0, but not with v0.33.0. I think that it was fixed by e3deb49.
@aignas It looks like some :gazelle
target in rules_python
's examples were broken without causing CI failures. In bazel-gazelle
, we run the targets explicitly in CI and check that there is no diff for the examples. That could provide additional test coverage.
from bazel-gazelle.
Related Issues (20)
- gazelle:resolve_regexp should support regex in label HOT 4
- Using the repo name rules_go removes proto embed from all go_library rules HOT 1
- Gazelle cannot parse new go.mod directives HOT 5
- `rules_go` should work with Go versions older than 1.20
- go.mod FilePath ReplaceDirective fails copying folder. HOT 5
- gazelle fails to fetch some repositories loaded with `go_deps.from_file(go_mod = "//:go.mod")` HOT 3
- request: option to not generate in all directories
- "No repository visible as '@rules_go'" when running gazelle managed by bzlmod HOT 11
- Issue understanding relative proto resolution
- Feature Request: Record Service and Message names in Proto's fileInfo
- [Feature] More comprehensive language plugin creation guide
- `gazelle:proto disable` does not propagate into external dependencies with bzlmod HOT 2
- All Bazel commands fail when changing a Go dependency when using Bzlmod extension HOT 3
- go workspace seems not work on Golang official tutorial HOT 1
- GOTOOLCHAIN local env parameter breaks the fetch of external go repositories
- Can't resolve root module from external module HOT 2
- Importing from repository with multiple modules fails HOT 1
- Missing input error with CGO dependency HOT 6
- Gazelle no such file or directory (windows 11) HOT 3
- bzlmod No dependencies were provided. Resty HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-gazelle.