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

Update deprecated_constants.jl #177

Merged
merged 1 commit into from
Mar 14, 2021
Merged

Update deprecated_constants.jl #177

merged 1 commit into from
Mar 14, 2021

Conversation

ericphanson
Copy link
Contributor

Running the Convex.jl tests spams like 100+ of these messages. Setting maxlog=1 should help by having it only print once. An alternative would be to use Base.depwarn to make it an actual deprecation warning which will only show up in tests or if you start julia with --depwarn=yes (on Julia 1.5+; it shows by default on earlier versions, I think), and only print once.

@codecov
Copy link

codecov bot commented Mar 13, 2021

Codecov Report

Merging #177 (b664c7d) into master (31435d0) will increase coverage by 1.34%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #177      +/-   ##
==========================================
+ Coverage   83.58%   84.92%   +1.34%     
==========================================
  Files           9        9              
  Lines        1553     1698     +145     
==========================================
+ Hits         1298     1442     +144     
- Misses        255      256       +1     
Impacted Files Coverage Δ
src/MOI_wrapper/deprecated_constants.jl 100.00% <ø> (ø)
src/precompile.jl 100.00% <0.00%> (ø)
src/MOI_wrapper/MOI_copy.jl 96.15% <0.00%> (+0.23%) ⬆️
src/MOI_wrapper/MOI_callbacks.jl 96.77% <0.00%> (+0.30%) ⬆️
src/MOI_wrapper/infeasibility_certificates.jl 92.00% <0.00%> (+0.33%) ⬆️
src/MOI_wrapper/MOI_wrapper.jl 92.25% <0.00%> (+0.53%) ⬆️
src/gen/libglpk_api.jl 55.48% <0.00%> (+5.65%) ⬆️

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 31435d0...b664c7d. Read the comment docs.

@odow odow merged commit b9c225c into jump-dev:master Mar 14, 2021
@odow
Copy link
Member

odow commented Mar 14, 2021

Can we not just update the Convex.jl tests?

@ericphanson ericphanson deleted the patch-1 branch March 14, 2021 20:03
@ericphanson
Copy link
Contributor Author

Oh, true. I actually didn't realize we were using the deprecated setting explicitly there, for some reason I thought it was getting set somewhere else.

@ericphanson
Copy link
Contributor Author

ericphanson commented Mar 14, 2021

jump-dev/Convex.jl#428

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants