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

Compat #59

Merged
merged 9 commits into from
Mar 3, 2018
Merged

Compat #59

merged 9 commits into from
Mar 3, 2018

Conversation

iamed2
Copy link
Member

@iamed2 iamed2 commented Feb 9, 2018

Removed deps, so this will require a minor version bump

This should work on 0.7 now yay

@iamed2
Copy link
Member Author

iamed2 commented Feb 9, 2018

Requires JuliaLang/Compat.jl#490

Increased minimum required Compat version
@iamed2
Copy link
Member Author

iamed2 commented Feb 22, 2018

What's with the tests passing but Travis saying they failed?

Update: it was JuliaIO/Suppressor.jl#18

@iamed2
Copy link
Member Author

iamed2 commented Feb 22, 2018

Can reproduce locally. There's some weird stuff going on.

@codecov
Copy link

codecov bot commented Feb 23, 2018

Codecov Report

Merging #59 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #59   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           9      9           
  Lines         225    267   +42     
=====================================
+ Hits          225    267   +42
Impacted Files Coverage Δ
src/Memento.jl 100% <ø> (ø) ⬆️
src/records.jl 100% <ø> (ø) ⬆️
src/syslog.jl 100% <100%> (ø)
src/loggers.jl 100% <100%> (ø) ⬆️
src/handlers.jl 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 57069ca...3e13a37. Read the comment docs.

@iamed2
Copy link
Member Author

iamed2 commented Feb 23, 2018

Alright this 0.6 test failure is weird so I say we return to this once the Syslogs METADATA PR is merged and see if that helps.

I have no idea why this happens:

WARNING: Module Syslogs with uuid 24393541116017 is missing from the cache.
This may mean module Syslogs does not support precompilation but is imported by a module that does.
ERROR: LoadError: Declaring __precompile__(false) is not allowed in files that are being precompiled.
Stacktrace:
 [1] _require(::Symbol) at ./loading.jl:455
 [2] require(::Symbol) at ./loading.jl:405
 [3] include_from_node1(::String) at ./loading.jl:576
 [4] include(::String) at ./sysimg.jl:14
 [5] anonymous at ./<missing>:2
while loading /home/travis/.julia/v0.6/Memento/src/Memento.jl, in expression starting on line 10

but it doesn't happen locally with the new Syslogs.

@rofinn rofinn closed this Feb 25, 2018
@rofinn rofinn reopened this Feb 25, 2018
@rofinn
Copy link
Member

rofinn commented Feb 25, 2018

Maybe we should add __precompile__(true) to Syslogs.jl and see what happens?

test/runtests.jl Outdated

cd(dirname(@__FILE__))
@testset "Memento" begin
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 a fan of having global testsets. Maybe we should switch to using TestSetExtensions.jl?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes I'll add it in tomorrow

@rofinn rofinn merged commit cf9eab3 into master Mar 3, 2018
@iamed2 iamed2 deleted the compat branch March 3, 2018 20:38
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