Skip to content
This repository was archived by the owner on May 23, 2022. It is now read-only.

Conversation

@dfdx
Copy link
Contributor

@dfdx dfdx commented Jul 7, 2018

Is it already time to move to Julia 0.7? This PR drops support for all previous versions and fixes errors & deprecations for Julia 0.7-beta.

Besides deprecations, the only change is addition of == method for IntervalSet and DiscreteSet which otherwise require iteration on Julia 0.7 (I guess on 0.6 they were compared by reference).

@CarloLucibello
Copy link
Member

Thanks for doing this!
This is passing all test on windows nightly, 0.7 beta failure is spurious.
Please remove Manifest.toml (can also add it to .gitignore).

@Evizero
Copy link
Member

Evizero commented Jul 16, 2018

sorry for my absence, I have not switched to 0.7 yet

i haven't looked in detail but isn't this basically doing the same as #29 ?

@CarloLucibello
Copy link
Member

#29 is staling since january, so better go with this

@dfdx
Copy link
Contributor Author

dfdx commented Jul 16, 2018

Yep, I tried #29 first, but it turned to be easier for me to just do it myself from scratch.

I've removed Manifest.toml now.

@Evizero What's your plan for 0.7? If you plan to switch in, say, 1 month, we can put off this PR until then (in Julia 0.7 we can specify branches in dependencies anyway). Otherwise or if you want to keep compatibility with previous versions for a long time I can put Compat back and update the PR.

@dfdx dfdx closed this Jul 16, 2018
@Evizero
Copy link
Member

Evizero commented Jul 16, 2018

I really don't know. I have a deadline in 11 days that I am focused on right now. Might be pretty soon after that

@dfdx dfdx reopened this Jul 16, 2018
@dfdx
Copy link
Contributor Author

dfdx commented Jul 16, 2018

Cool! So let's just wait until then.

Project.toml Outdated
name = "LearnBase"
uuid = "7f8f8fb0-2700-5f03-b4bd-41f8cfc144b6"
repo = "https://github.com/JuliaML/LearnBase.jl.git"
version = "0.2.0"
Copy link
Member

Choose a reason for hiding this comment

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

I'm not sure about this ... maybe remove the version line so that it doesn't conflict with new tags?

Copy link
Contributor Author

@dfdx dfdx Jul 17, 2018

Choose a reason for hiding this comment

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

I thought Pkg3 uses this line instead of tags to figure out dependency versions, doesn't it?

In a couple of my 0.7-ready packages I just set the same number in attobot, but maybe there's a smarter way.

appveyor.yml Outdated
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.6/julia-0.6-latest-win32.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.6/julia-0.6-latest-win64.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x86/0.7/julia-0.7.0-beta-win32.exe"
- JULIA_URL: "https://julialang-s3.julialang.org/bin/winnt/x64/0.7/julia-0.7.0-beta-win64.exe"
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't block the PR from being merged, but this can be


environment:
  matrix:
  - julia_version: 0.7
  - julia_version: latest

Copy link
Member

@joshday joshday left a comment

Choose a reason for hiding this comment

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

Just getting around to taking a good luck at this PR. My understanding is that we shouldn't add Project.toml files yet as they will be automatically added by a yet-to-be-made upgrade tool. If you just remove the Project.toml file I'm ready to merge.

@dfdx
Copy link
Contributor Author

dfdx commented Jul 23, 2018

Yeah, I've just seen a discussion about Project.toml in Slack, so it seems to be the right way. Removed the file.

AppVeyor is red again, but it looks like an error in the service itself or environment settings. If tests pass locally on Windows, I'd just leave it as is for now.

@joshday
Copy link
Member

joshday commented Jul 23, 2018

I just pushed a commit that I think should fix appveyor. We'll see in a moment!

@joshday
Copy link
Member

joshday commented Jul 23, 2018

That fixed appveyor. Now I just bumped the StatsBase version to the latest 0.7-only release. I'll merge once everything is green. Thanks for tackling this @dfdx!

@joshday joshday merged commit 9e9fddd into JuliaML:master Jul 24, 2018
@Evizero
Copy link
Member

Evizero commented Jul 24, 2018

thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants