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

key4hep-stack: bump minimal catch2 version #496

Merged
merged 2 commits into from
Jun 12, 2023

Conversation

tmadlener
Copy link
Contributor

Will become necessary with AIDASoft/podio#402

@@ -83,7 +83,7 @@ class Key4hepStack(BundlePackage, Key4hepPackage):

depends_on('cepcsw')

depends_on('catch2@3.0.1:', when='+devtools')
depends_on('[email protected]:', when='+devtools')
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we need this. The dependency will come from podio if it's needed in podio. Also it wouldn't be possible to build an older version of podio with this change. It would be better to just remove the version and let the packages require whichever version they need.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we have to keep catch2 as a dependency for the key4hep-stack as it is only a test dependency in many cases. I agree on the version. I will remove it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I just realized we need to keep @3: because prior to that catch2 did not build the static library to link against.

Copy link
Contributor

Choose a reason for hiding this comment

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

We still don't need @3: since it will try to install the latest version anyway so it would only be useful in case someone was having an environment with something that required 2.x and 3.x at the same time, or specifying manually to install catch2 but this is rare

@jmcarcell jmcarcell merged commit 473f585 into key4hep:release Jun 12, 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.

2 participants