Skip to content

replace deprecationwarning with futurewarning #5109

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

Merged
merged 2 commits into from
Oct 28, 2021

Conversation

aloctavodia
Copy link
Member

@aloctavodia aloctavodia commented Oct 28, 2021

DeprecationWarning is intended for other developers and FutureWarning for users. When in doubt is probably safer to go with FutureWarning.

@codecov
Copy link

codecov bot commented Oct 28, 2021

Codecov Report

Merging #5109 (16c1dd6) into main (2b92a05) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5109   +/-   ##
=======================================
  Coverage   77.83%   77.83%           
=======================================
  Files          87       87           
  Lines       14008    14008           
=======================================
  Hits        10903    10903           
  Misses       3105     3105           
Impacted Files Coverage Δ
pymc/backends/tracetab.py 100.00% <ø> (ø)
pymc/distributions/dist_math.py 87.70% <ø> (ø)
pymc/distributions/distribution.py 94.56% <ø> (ø)
pymc/distributions/multivariate.py 71.27% <ø> (ø)
pymc/gp/gp.py 60.25% <ø> (ø)
pymc/math.py 68.18% <ø> (ø)
pymc/model.py 83.79% <0.00%> (ø)
pymc/plots/__init__.py 95.83% <0.00%> (ø)
pymc/plots/posteriorplot.py 96.00% <ø> (ø)
pymc/sampling.py 86.93% <ø> (ø)
... and 2 more

@twiecki
Copy link
Member

twiecki commented Oct 28, 2021

Again, I think most of these should be deleted, let's open an issue for those.

@twiecki twiecki merged commit 05aa247 into pymc-devs:main Oct 28, 2021
@aloctavodia aloctavodia deleted the futurewarning branch October 28, 2021 10:10
thomasaarholt added a commit to thomasaarholt/pymc that referenced this pull request Sep 3, 2024
Removing these to reduce cognitive load for an
eventual migration to a function-based
distribution.

These were deprecated in pymc-devs#5109, in 2021, as part
of pymc 4 being released. We're on 5.x so these
should be safe.
ricardoV94 pushed a commit that referenced this pull request Sep 3, 2024
* Remove deprecated Distribution kwargs

Removing these to reduce cognitive load for an
eventual migration to a function-based
distribution.

These were deprecated in #5109, in 2021, as part
of pymc 4 being released. We're on 5.x so these
should be safe.

* Replace deprecated testval arg with initval in test

I keep the test, since it seems to cover behaviour not tested elsewhere.
vandalt pushed a commit to vandalt/pymc that referenced this pull request May 14, 2025
* Remove deprecated Distribution kwargs

Removing these to reduce cognitive load for an
eventual migration to a function-based
distribution.

These were deprecated in pymc-devs#5109, in 2021, as part
of pymc 4 being released. We're on 5.x so these
should be safe.

* Replace deprecated testval arg with initval in test

I keep the test, since it seems to cover behaviour not tested elsewhere.
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