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

Fix deprecation warning for save/load_trace #5106

Merged
merged 1 commit into from
Oct 28, 2021
Merged

Conversation

aloctavodia
Copy link
Member

FutureWarnings are intended for users and DeprecationWarnings for developers. I am not sure but I think by default jupyter notebook will show the former but not the later. Just in case I added an additional message in case a user attempts to use save_trace for saving InferenceData.

@codecov
Copy link

codecov bot commented Oct 27, 2021

Codecov Report

Merging #5106 (2fcb64b) into main (9e7e8aa) will decrease coverage by 0.02%.
The diff coverage is 62.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #5106      +/-   ##
==========================================
- Coverage   77.83%   77.81%   -0.03%     
==========================================
  Files          87       87              
  Lines       14006    14008       +2     
==========================================
- Hits        10902    10900       -2     
- Misses       3104     3108       +4     
Impacted Files Coverage Δ
pymc/backends/ndarray.py 86.97% <62.50%> (-0.39%) ⬇️
pymc/backends/report.py 89.51% <0.00%> (-2.10%) ⬇️

@twiecki
Copy link
Member

twiecki commented Oct 28, 2021

How long has this been there? Isn't it time we just remove them?

@aloctavodia
Copy link
Member Author

Not sure, but highly likely that users have not seen the message.

@twiecki
Copy link
Member

twiecki commented Oct 28, 2021

Seems like it was added 2 years ago: #3902

@twiecki
Copy link
Member

twiecki commented Oct 28, 2021

#5108

@twiecki twiecki merged commit 2b92a05 into pymc-devs:main Oct 28, 2021
@aloctavodia aloctavodia deleted the dslt branch October 28, 2021 05:13
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.

3 participants