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 pymc requirement from ==5.16.* to >=5.16,<5.21 #140

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 10, 2025

Updates the requirements on pymc to permit the latest version.

Release notes

Sourced from pymc's releases.

v5.20.1

What's Changed

New Features 🎉

Bugfixes 🪲

Documentation 📖

Maintenance 🔧

New Contributors

Full Changelog: pymc-devs/pymc@v5.20.0...v5.20.1

Changelog

Sourced from pymc's changelog.

Release Notes

⚠️ Moving forward we're no longer updating the RELEASE-NOTES.md document. ⚠️

⚠️ Instead, please check the release notes in the GitHub Releases. ⚠️

PyMC 4.0.0 (2022-06-03)

If you want a description of the highlights of this release, check out the release announcement on our new website. Feel free to read it, print it out, and give it to people on the street -- because everybody has to know PyMC 4.0 is officially out 🍾

Do not miss 🚨

  • ⚠️ The project was renamed to "PyMC". Now the library is installed as "pip install pymc" and imported like import pymc as pm. See this migration guide for more details.
  • ⚠️ Theano-PyMC has been replaced with Aesara, so all external references to theano and tt need to be replaced with aesara and at, respectively (see 4471).
  • ⚠️ Support for JAX and JAX samplers, also allows sampling on GPUs. This benchmark shows speed-ups of up to 11x.
  • ⚠️ Random seeding behavior changed (see #5787)!
    • Sampling results will differ from those of v3 when passing the same random_seed as before. They will be consistent across subsequent v4 releases unless mentioned otherwise.
    • Sampling functions no longer respect user-specified global seeding! Always pass random_seed to ensure reproducible behavior.
    • random_seed now accepts RandomState and Generators besides integers.
  • ⚠️ The GLM submodule was removed, please use Bambi instead.
  • ⚠️ PyMC now requires SciPy version >= 1.4.1 (see #4857).

v3 features not yet working in v4 ⏳

⚠️ We plan to get these working again, but at this point their inner workings have not been refactored.

  • MvNormalRandomWalk, MvStudentTRandomWalk, GARCH11 and EulerMaruyama distributions (see #4642)
  • Nested Mixture distributions (see #5533)
  • pm.sample_posterior_predictive_w (see #4807)
  • Partially observed Multivariate distributions (see #5260)

New features 🥳

  • Distributions:

    • Univariate censored distributions are now available via pm.Censored. #5169

    • The CAR distribution has been added to allow for use of conditional autoregressions which often are used in spatial and network models.

    • Added a logcdf implementation for the Kumaraswamy distribution (see #4706).

    • The OrderedMultinomial distribution has been added for use on ordinal data which are aggregated by trial, like multinomial observations, whereas OrderedLogistic only accepts ordinal data in a disaggregated format, like categorical observations (see #4773).

    • The Polya-Gamma distribution has been added (see #4531). To make use of this distribution, the polyagamma>=1.3.1 library must be installed and available in the user's environment.

    • pm.DensityDist can now accept an optional logcdf keyword argument to pass in a function to compute the cumulative density function of the distribution (see 5026).

    • pm.DensityDist can now accept an optional moment keyword argument to pass in a function to compute the moment of the distribution (see 5026).

    • Added an alternative parametrization, logit_p to pm.Binomial and pm.Categorical distributions (see 5637).

  • Model dimensions:

    • The dimensionality of model variables can now be parametrized through either of shape or dims (see #4696):
      • With shape the length of dimensions must be given numerically or as scalar Aesara Variables. Numeric entries in shape restrict the model variable to the exact length and re-sizing is no longer possible.
      • dims keeps model variables re-sizeable (for example through pm.Data) and leads to well defined coordinates in InferenceData objects.
      • An Ellipsis (...) in the last position of shape or dims can be used as short-hand notation for implied dimensions.

... (truncated)

Commits
  • d7d2be2 bump pytensor version dependency
  • 3b6e351 Probability distributions guide update (#7671)
  • 268e13b remove the Futurewarning in the test
  • e0e7511 Ignore inner unused RNG inputs in collect_default_updates
  • 0db176c Show one progress bar per chain when sampling (#7634)
  • 472da97 fix: deep copy nuts_sampler_kwarg to prevent .pop side effects (#7652)
  • fa43eba Use jaxified logp for initial point evaluation when sampling via Jax (#7610)
  • 7a995a0 [pre-commit.ci] pre-commit autoupdate (#7653)
  • 892c37a Check for observed variables in the trace (#7641)
  • 2012262 Create zizmor workflow
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [pymc](https://github.com/pymc-devs/pymc) to permit the latest version.
- [Release notes](https://github.com/pymc-devs/pymc/releases)
- [Changelog](https://github.com/pymc-devs/pymc/blob/main/RELEASE-NOTES.md)
- [Commits](pymc-devs/pymc@v5.16.0...v5.20.1)

---
updated-dependencies:
- dependency-name: pymc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Feb 10, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 20, 2025

Looks like pymc is no longer updatable, so this is no longer needed.

@dependabot dependabot bot closed this Feb 20, 2025
@dependabot dependabot bot deleted the dependabot/pip/deps/pymc-gte-5.16-and-lt-5.21 branch February 20, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants