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

remove 0.6 deprecations #25312

Merged
merged 1 commit into from
Jan 8, 2018
Merged

remove 0.6 deprecations #25312

merged 1 commit into from
Jan 8, 2018

Conversation

Sacha0
Copy link
Member

@Sacha0 Sacha0 commented Dec 29, 2017

This pull request removes (almost all) 0.6 deprecations. (Three or so deprecations remain; I hope to remove those tomorrow but might need a pointer or two.) Let's see what CI says. Best!

base/client.jl Outdated
if ex isa Symbol && all(equalto('_'), string(ex))
# remove with 0.7 deprecation
Meta.lower(Main, ex) # to get possible warning about using _ as an rvalue
end
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

I think this one needs to stay.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good catch! Fixed. Thanks! :)

@KristofferC
Copy link
Sponsor Member

Dates stdlib has a deprecation file.

@Sacha0
Copy link
Member Author

Sacha0 commented Dec 29, 2017

Dates stdlib has a deprecation file.

Good catch! The IterativeEigensolvers and SuiteSparse deprecations are for 0.7 (I should add a note), and going by the note at the top of the file I think the Dates deprecations are also for 0.7. Please correct me if I am incorrect!

@KristofferC
Copy link
Sponsor Member

Right, I forgot I removed the 0.6 deprecations for Dates.

@JeffBezanson
Copy link
Sponsor Member

There are also a few in the front end; I'll try to get to those.

@JeffBezanson
Copy link
Sponsor Member

Ah yes, of course --- this will require fixing Documenter.

@Sacha0
Copy link
Member Author

Sacha0 commented Jan 4, 2018

Indeed so :). I plan to restore the problematic deprecations here and address them separately. (Apologies for the absence of motion on this front! Focusing on #25364.)

@Sacha0
Copy link
Member Author

Sacha0 commented Jan 6, 2018

Rebased and fixed the doc build failure. What say you now, CI?

@Sacha0
Copy link
Member Author

Sacha0 commented Jan 6, 2018

The AV failures appear unrelated (one timeout after successfully completing the main test suite, one remote exception deserialization failure in the pkg tests after successfully completing the main test suite). The CircleCI failure appears unrelated as well (a configuration issue?). So CI generally seems happy now.

Perhaps someone could give this pull request a final sweep and merge? Absent that and objections, I plan to merge this pull request Sunday evening PT at the earliest and pick off the tricker remaining removals in downstream work (unless someone happily beats me to it! :) ). Best!

@Sacha0
Copy link
Member Author

Sacha0 commented Jan 7, 2018

Rebased. Absent objections or requests for time, I plan to merge these changes once CI clears again. Best!

@Sacha0
Copy link
Member Author

Sacha0 commented Jan 8, 2018

The Travis i686 failure appears unrelated (one libgit2 remote exception deserialization failure) as do the AV failures (one timeout without apparent errors prior, one immediate failure due to a download/configuration issue).

Thanks all! :)

@Sacha0 Sacha0 merged commit 4f87318 into JuliaLang:master Jan 8, 2018
@Sacha0 Sacha0 deleted the nixdeps branch January 8, 2018 17:58
return Matrix(uninitialized, 0, 0)
end

# TODO: remove warning for using `_` in parse_input_line in base/client.jl
Copy link
Contributor

Choose a reason for hiding this comment

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

this todo wasn't done, should be put back until it is

Copy link
Member Author

Choose a reason for hiding this comment

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

Ref. #25312 (comment) :).

Copy link
Contributor

Choose a reason for hiding this comment

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

one underscore was deprecated in 0.6. all-underscores in 0.7.

Copy link
Member Author

Choose a reason for hiding this comment

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

You are suggesting to modify the linked check such that only multiple-underscore instances trigger a warning?

Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Not urgent though, since we haven't yet reclaimed _ for anything else.

Copy link
Contributor

Choose a reason for hiding this comment

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

Delaying the warning-into-error removal of the single underscore case from 0.7 to 1.0 is probably fine. But the TODO about client.jl should at least be put back in the 0.7 section so it doesn't get forgotten and left as only a warning in 1.0.

Copy link
Member Author

Choose a reason for hiding this comment

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

I assumed existence of a relevant TODO in the 0.7 section. If no such TODO exists, then indeed, moving this TODO to the 0.7 section sounds wise. I'll check and whip together a pull request if necessary. Thanks! :)

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.

4 participants