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

[198] Remove glob's on BUILD files #295

Merged
merged 2 commits into from
Mar 13, 2025
Merged

Conversation

Pedrobc89
Copy link
Collaborator

resolves #198

Removed almost all glob and filegroup from BUILD files, listing it's dependencies instead.
Couldn't refactor distributed_algorithm_node, due to its circular imports nature.
Couldn't remove the grouping of python files, whenever done that, we could not use the import of python packages.

@Pedrobc89 Pedrobc89 self-assigned this Mar 10, 2025
@Pedrobc89 Pedrobc89 requested a review from angeloprobst March 10, 2025 17:43
@Pedrobc89 Pedrobc89 marked this pull request as ready for review March 11, 2025 15:27
@Pedrobc89 Pedrobc89 force-pushed the pedro/198/no_more_glob branch from 746211c to c78852f Compare March 11, 2025 18:14
@Pedrobc89 Pedrobc89 force-pushed the pedro/198/no_more_glob branch from c78852f to a538c0c Compare March 11, 2025 18:31
Copy link
Collaborator

@angeloprobst angeloprobst left a comment

Choose a reason for hiding this comment

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

Looks good.

Ran some local checks:

  1. Wiped bazel cache out (make bazel clean).
  2. Deleted bins/wheels (rm -f ./src/bin/*).
  3. Build all (make build-all).
  4. Executed tests (make test-all).
  5. Spawned Attention Broker and Query Agent and executed some queries.
  6. Created a fresh Python 3.10 venv, installed hyperon-das-atomdb-cpp wheel, imported it in Python console, instantiated nodes and save them into the DB, fetched them back.

Everything worked as expected.

@Pedrobc89 Pedrobc89 merged commit f4a4978 into master Mar 13, 2025
1 check passed
@Pedrobc89 Pedrobc89 deleted the pedro/198/no_more_glob branch March 13, 2025 12:53
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.

Break targets that define srcs as glob or filegroup into single-file targets
3 participants