Skip to content

Switch to Project.toml and workflows #51

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

Merged
merged 4 commits into from
Sep 17, 2021
Merged

Switch to Project.toml and workflows #51

merged 4 commits into from
Sep 17, 2021

Conversation

AsafManela
Copy link
Contributor

This package's code actually seems to run fine in julia 1.6, but needs some TLC.
This PR switches its REQUIRE file to Project.toml and replaces travis-ci with github workflows for CI and for TagBot.

After this is tagged, it should allow JuliaStats/Lasso.jl#62 to proceed

@AsafManela
Copy link
Contributor Author

Can someone from @JuliaStats merge this PR? The changes are all generic upgrading to Project.toml stuff.

@bkamins
Copy link

bkamins commented Sep 17, 2021

@ararslan - you probably better understand this kind of changes than me. Can you please have a look? Thank you!

@ararslan
Copy link
Member

Looks good, but the [deps] in Project.toml will need [compat] entries

@AsafManela
Copy link
Contributor Author

You got it! Thanks for reviewing.

Project.toml Outdated
Comment on lines 12 to 13
IterTools = "1.3"
Reexport = "1.2"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
IterTools = "1.3"
Reexport = "1.2"
IterTools = "1"
Reexport = "1"

I imagine v1.0 and v1.1 of those packages would also work. For StatsBase, I'm not sure what an appropriate bound is; the most recent might be similarly too restrictive. Do the tests pass for you with the latest StatsBase version? Looks like CI isn't running, I guess because this PR is adding CI configuration from a fork.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep I tested with v1.0 for those two.
It runs fine with StatsBase v0.33.10 (latest). Its v0.33.1 is a year old, so I think setting its compat at "0.33" is fine.

Copy link
Member

Choose a reason for hiding this comment

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

I didn't realize 0.33 was that old. That's fine then.

@ararslan ararslan merged commit 25f578b into JuliaStats:master Sep 17, 2021
@ararslan
Copy link
Member

Thanks!

@AsafManela AsafManela deleted the am/addprojecttoml branch September 17, 2021 21:32
@AsafManela
Copy link
Contributor Author

Thank you! Can you register it?

@ararslan
Copy link
Member

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.

3 participants