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

Feature: CMake-time version enforcement for dependency Pothos modules #190

Open
ncorgan opened this issue Mar 1, 2020 · 0 comments
Open

Comments

@ncorgan
Copy link
Member

ncorgan commented Mar 1, 2020

The primary use case for this would be for Pothos modules implemented in a non-C++ language checking the version of the respective proxy environment.

For a specific example:

This came up with PothosNumPy needing to work around pothosware/PothosPython#18 until it was fixed in pothosware/PothosPython@1344396. It would be useful for PothosNumPy to be able to enforce that the installed PothosPython is of version 0.4.1 before attempting to build against it.

In this specific case, the version could be queried at runtime, leading to the workaround code path being executed if the version is early enough, but if, for example, a module depended on a specific feature being added, there is likely no way to test for this at runtime.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant