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

Requires for unregistered packages #70

Open
Crown421 opened this issue Nov 21, 2019 · 0 comments
Open

Requires for unregistered packages #70

Crown421 opened this issue Nov 21, 2019 · 0 comments

Comments

@Crown421
Copy link

During some work I found that this package appears to not work with unregistered packages as optional requirements
I used the following two lines in my __init__ funtion

@require MKL="33e6dc65-8f57-5167-99aa-e5a354878fb2" println("Test MKL")
@require LinearAlgebra="37e2e46d-f89d-539d-b4ee-838fcccc9c8e" println("Test")

and only the second message gets printed. The only difference that I can see is that LinearAlgebra is registered, whereas MKL is not.
I also tried adding a Manifest.toml to the package to no avail.

Would it be possible to make this work? Maybe go as far as enabling
macro require(pkg::Pkg.PackageSpec, expr)
which would enable fixing specific commitIDs and more?
(Pkg.PackageSpec )

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

No branches or pull requests

1 participant