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 nonmissingtype instead of Missings.T #1941

Merged
merged 2 commits into from
Sep 6, 2019
Merged

Conversation

nalimilan
Copy link
Member

The latter is deprecated since Julia now exports nonmissingtype.
Missings defines nonmissingtype on previous Julia versions.
Also simplify the code a bit: there's no need to check T >: Missing before calling nonmissingtype, as it is the identity for other types.

Waiting for JuliaRegistries/General#3224.

The latter is deprecated since Julia now exports nonmissingtype.
Missings defines nonmissingtype on previous Julia versions.
Also simplify the code a bit: there's no need to check T >: Missing before calling
nonmissingtype, as it is the identity for other types.
Copy link
Member

@bkamins bkamins left a comment

Choose a reason for hiding this comment

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

My only question is if nonmissingtype is exported from Missings.jl for on Julia earlier than 1.3 (where it is in Base)

@nalimilan nalimilan closed this Sep 4, 2019
@nalimilan nalimilan reopened this Sep 4, 2019
@nalimilan
Copy link
Member Author

Failure is due to a deprecation warning printed by CategoricalArrays in a log test. JuliaData/CategoricalArrays.jl#205 should fix this.

@bkamins
Copy link
Member

bkamins commented Sep 4, 2019

OK, but then we should first release CategoricalArrays.jl and then change the Project.toml in this PR to require its proper version also. Right?

@nalimilan
Copy link
Member Author

I don't think we need to require that version: the test failure doesn't reflect a real issue, it's just due to how we test that warnings are printed.

@bkamins
Copy link
Member

bkamins commented Sep 5, 2019

OK

@nalimilan
Copy link
Member Author

CategoricalArrays tagged: JuliaRegistries/General#3292

@nalimilan nalimilan closed this Sep 6, 2019
@nalimilan nalimilan reopened this Sep 6, 2019
@nalimilan nalimilan marked this pull request as ready for review September 6, 2019 11:44
@bkamins
Copy link
Member

bkamins commented Sep 6, 2019

Looks good to be merged.

@nalimilan nalimilan merged commit 0596bac into master Sep 6, 2019
@nalimilan nalimilan deleted the nl/nonmissingtype branch September 6, 2019 14:00
nalimilan added a commit that referenced this pull request Sep 6, 2019
The latter is deprecated since Julia now exports nonmissingtype.
Missings defines nonmissingtype on previous Julia versions.
Also simplify the code a bit: there's no need to check T >: Missing before calling
nonmissingtype, as it is the identity for other types.
@bkamins
Copy link
Member

bkamins commented Sep 6, 2019

So - are you going to cherry-pick this PR and make 0.19.4 or we wait for #1934, #1937 and #1946 and make 0.20.0 release?

@nalimilan
Copy link
Member Author

Done: JuliaRegistries/General#3328

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.

2 participants