Skip to content
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

fix: add format() calls to glob_exclude templates #1285

Merged
merged 1 commit into from
Jul 6, 2023

Conversation

lpulley
Copy link
Contributor

@lpulley lpulley commented Jun 26, 2023

Currently, Python toolchain :files and :py3_runtime include some unnecessary files. This is because these globs result in literally lib/libpython{python_version}.so etc., which do not match anything. The formatting needs to be applied here since it will not be applied later.

I believe this was introduced by a47c6cd.

@lpulley
Copy link
Contributor Author

lpulley commented Jun 26, 2023

Build fails without 61ec702, though it's unrelated. Should that be separated?

EDIT: Seems to be fixed on main now.

@lpulley lpulley changed the title fix: add format() calls to glob_exclude templates fix: add format() calls to glob_exclude templates Jun 26, 2023
@rickeylev rickeylev enabled auto-merge June 26, 2023 17:17
@lpulley
Copy link
Contributor Author

lpulley commented Jun 26, 2023

@rickeylev do you know why the build is failing on Windows?

auto-merge was automatically disabled July 6, 2023 14:05

Head branch was pushed to by a user without write access

@lpulley lpulley force-pushed the glob-exclude-format branch from 61ec702 to 3f55a21 Compare July 6, 2023 14:05
@lpulley
Copy link
Contributor Author

lpulley commented Jul 6, 2023

@rickeylev I think this is ready to go now. I rebased onto main and that seems to have helped.

Copy link
Collaborator

@chrislovecnm chrislovecnm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@chrislovecnm
Copy link
Collaborator

@lpulley do you know if we are pulling in too many files with windows? I’m guessing we need to add a pattern for windows as well. If you don’t work with windows can you please file an issue so we investigate it?

@chrislovecnm chrislovecnm added this pull request to the merge queue Jul 6, 2023
Merged via the queue into bazelbuild:main with commit 4082693 Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants