-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove localpaths.py #10888
Comments
Does it actually make sense to use |
@jgraham Did you mention some downsides of As far as the Blink infra goes, we are already doing some As for the upstream project itself, I too also have the same question as @gsnedders : is |
I think that the localpaths thing creates as many problems as it solves. For example gecko was using the In general. Python packaging and modules are a mess. But we are making things gratuitously hard for ourselves by relying on modifying FWIW I"m sure this will require some tweaking to work on the gecko side too, so I'm not proposing this as a way of making my life easy, but as a way of eliminating some technical debt that's no longer necessary. |
Note we've somewhat forked See also #10922. |
web-platform-tests/rfcs#82 is relevant, and an approach like #28796 would lead to localpaths.py being removed, ultimately. |
Localpaths was more or less added so that people didn't have to worry about installing virtualenv and pip, and installing packages. But these days we have the
wpt
frontend, and it doesn't make sense to usesys.path
hacks when we could instead justpip install -e
all the components. This would have the advantage of being way less confusing.One thing to be careful of is that this is likley to impact downstream consumers like Gecko, Servo and maybe also Blink/WebKit. With that in mind cc: @jdm, @Hexcles
The text was updated successfully, but these errors were encountered: