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

Clean-up specifing dependencies to unregistered packages with [sources] #52

Merged
merged 9 commits into from
Oct 14, 2024

Conversation

m-fila
Copy link
Collaborator

@m-fila m-fila commented Oct 11, 2024

BEGINRELEASENOTES

  • Created subproject for benchmarks
  • Using [sources] to specify dependencies to unregistered packages. Removed the git submodule as [sources] are preferred

ENDRELEASENOTES

In julia 1.11 a new section [sources] was added that allows to describe dependencies to local packages or unregistered packages.

So far the main project had deps on some benchmarking packages to allow running benchmark scripts. Now a separate enviroment for the benchmarks can be created and benchmark packages are moved there

The GraphMLReader is an unregistered package we use for parsing. Previously it was added in a very dirty way with submodule. Now this can be done with [sources]

The sources has one caveat: the unregistered packages don't propagate an information for their version so downstream packages also have to specify them. Aqua complains about it in persistent_task (it's actually because Aqua thinks this can hinder the package pre-compilation but it's a false-positive as pre-compilation works fine)

@m-fila m-fila merged commit ab59ae2 into key4hep:main Oct 14, 2024
3 checks passed
@m-fila m-fila deleted the sources branch October 14, 2024 07:20
@m-fila m-fila added the dependencies Pull requests that update a dependency file label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant