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

Use PackageExtensionTools.jl #55

Closed
juliohm opened this issue May 29, 2023 · 14 comments
Closed

Use PackageExtensionTools.jl #55

juliohm opened this issue May 29, 2023 · 14 comments
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request good first issue Good for newcomers

Comments

@juliohm
Copy link
Member

juliohm commented May 29, 2023

Refactor the code to use https://github.com/cjdoris/PackageExtensionTools.jl

@juliohm juliohm added enhancement New feature or request good first issue Good for newcomers dependencies Pull requests that update a dependency file labels May 29, 2023
@longemen3000
Copy link
Contributor

i would recommend to wait until the code is merged into Requires.jl

@juliohm
Copy link
Member Author

juliohm commented May 30, 2023

@longemen3000 you mean that PackageExtensionTools.jl will be merged into Requires.jl?

@longemen3000
Copy link
Contributor

i suppose, check JuliaPackaging/Requires.jl#114

@juliohm
Copy link
Member Author

juliohm commented Jun 22, 2023 via email

@juliohm
Copy link
Member Author

juliohm commented Jun 24, 2023

@longemen3000 what is the status quo now for these extension packages?

@longemen3000
Copy link
Contributor

Now that it is merged, it is possible to give it a try

@juliohm
Copy link
Member Author

juliohm commented Jul 3, 2023

@longemen3000 can you kindly help here again converting the manual approach to the new recommended approach with PackageExtensionCompat.jl? Is that the newest recommended approach?

@longemen3000
Copy link
Contributor

let me ask, the main problem in this particular package is that some extensions require 2 external packages loaded (JuMP + IPOPT, for example) i don't know if that package supports that specific workflow

@juliohm
Copy link
Member Author

juliohm commented Jul 3, 2023 via email

@longemen3000
Copy link
Contributor

@longemen3000
Copy link
Contributor

if you drop julia < 1.9, then you can drop requires too

@juliohm
Copy link
Member Author

juliohm commented Jul 6, 2023

@longemen3000 could you help with a quick PR that drops Julia < v1.9 support? I will try to read the package extensions docs by the end of the week, but I am assuming that this specific case with DensityRatioEstimation.jl and its optional functionality that depends on multiple packages is a tricky case to get right.

@longemen3000
Copy link
Contributor

wait a moment, i'll do it right now

@juliohm
Copy link
Member Author

juliohm commented Jul 7, 2023

Fixed on master.

@juliohm juliohm closed this as completed Jul 7, 2023
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 enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants