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

Make analyze_stale_deps more robust #113

Merged
merged 1 commit into from
May 30, 2023

Conversation

fingolfin
Copy link
Member

@fingolfin fingolfin commented May 22, 2023

Otherwise, if any of the loaded packages prints during loading, this messes up things.

Real-world example: GAP.jl, where there is a \r being printed by some C code it loads; we'll try to fix that there, but it seems prudent to add this bit of defensive coding regardless of that.

Resolves #60

@codecov
Copy link

codecov bot commented May 22, 2023

Codecov Report

Merging #113 (c8615d7) into master (76443b2) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
+ Coverage   75.00%   75.11%   +0.11%     
==========================================
  Files          11       11              
  Lines         676      679       +3     
==========================================
+ Hits          507      510       +3     
  Misses        169      169              
Flag Coverage Δ
unittests 75.11% <100.00%> (+0.11%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/stale_deps.jl 97.43% <100.00%> (+0.21%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Otherwise, if any of the loaded packages prints during loading, this
messes up things.
@lgoettgens
Copy link
Collaborator

lgoettgens commented May 29, 2023

I think this fixes #60.

@fingolfin fingolfin merged commit b77b6f6 into JuliaTesting:master May 30, 2023
@fingolfin fingolfin deleted the mh/robust branch May 30, 2023 15:52
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.

Printing at __init__ time throws off stale dependencies check
2 participants