picasso icon indicating copy to clipboard operation
picasso copied to clipboard

Bump lmfit from 1.0.1 to 1.0.2

Open dependabot-preview[bot] opened this issue 4 years ago • 0 comments

Bumps lmfit from 1.0.1 to 1.0.2.

Release notes

Sourced from lmfit's releases.

1.0.2

Version 1.0.2 officially supports Python 3.9 and has dropped support for Python 3.5. The minimum version of the following dependencies were updated: asteval>=0.9.21, numpy>=1.18, and scipy>=1.3.

New features:

  • added two-dimensional Gaussian lineshape and model (PR #642; @mpmdean)
  • all built-in models are now registered in lmfit.models.lmfit_models; new Model class attribute valid_forms (PR #663; @rayosborn)
  • added a SineModel (PR #676; @lneuhaus)
  • add the run_mcmc_kwargs argument to Minimizer.emcee to pass to the emcee.EnsembleSampler.run_mcmc function (PR #694; @rbnvrw)

Bug fixes:

  • ModelResult.eval_uncertainty should use provided Parameters (PR #646)
  • center in lognormal model can be negative (Issue #644, PR #645; @YoshieraHuang)
  • restore best-fit values after calculation of covariance matrix (Issue #655, PR #657)
  • add helper-function not_zero to prevent ZeroDivisionError in lineshapes and use in exponential lineshape (Issue #631, PR #664; @s-weigand)
  • save last_internal_values and use to restore internal values if fit is aborted (PR #667)
  • dumping a fit using the lbfgsb method now works, convert bytes to string if needed (Issue #677, PR #678; @leonfoks)
  • fix use of callable Jacobian for scalar methods (PR #681; @mstimberg)
  • preserve float/int types when encoding for JSON (PR #696; @jedzill4)
  • better support for saving/loading of ExpressionModels and assure that init_params and init_fit are set when loading a ModelResult (PR #706)

Various:

  • update minimum dependencies (PRs #688, #693)
  • improvements in coding style, docstrings, CI, and test coverage (PRs #647, #649, #650, #653, #654; #685, #668, #689)
  • fix typo in Oscillator (PR #658; @flothesof)
  • add example using SymPy (PR #662)
  • allow better custom pool for emcee() (Issue #666, PR #667)
  • update NIST Strd reference functions and tests (PR #670)
  • make building of documentation cross-platform (PR #673; @s-weigand)
  • relax module name check in test_check_ast_errors for Python 3.9 (Issue #674, PR #675; @mwhudson)
  • fix/update layout of documentation, now uses the sphinx13 theme (PR #687)
  • fixed DeprecationWarnings reported by NumPy v1.2.0 (PR #699)
  • increase value of tiny and check for it in bounded parameters to avoid "parameter not moving from initial value" (Issue #700, PR #701)
  • add max_nfev to basinhopping and brute (now supported everywhere in lmfit) and set to more uniform default values (PR #701)
  • use Azure Pipelines for CI, drop Travis (PRs #696 and #702)
Changelog

Sourced from lmfit's changelog.

Version 1.0.2 Release Notes

Version 1.0.2 officially supports Python 3.9 and has dropped support for Python 3.5. The minimum version of the following dependencies were updated: asteval>=0.9.21, numpy>=1.18, and scipy>=1.3.

New features:

  • added two-dimensional Gaussian lineshape and model (PR #642; @mpmdean)
  • all built-in models are now registered in lmfit.models.lmfit_models; new Model class attribute valid_forms (PR #663; @rayosborn)
  • added a SineModel (PR #676; @lneuhaus)
  • add the run_mcmc_kwargs argument to Minimizer.emcee to pass to the emcee.EnsembleSampler.run_mcmc function (PR #694; @rbnvrw)

Bug fixes:

  • ModelResult.eval_uncertainty should use provided Parameters (PR #646)
  • center in lognormal model can be negative (Issue #644, PR #645; @YoshieraHuang)
  • restore best-fit values after calculation of covariance matrix (Issue #655, PR #657)
  • add helper-function not_zero to prevent ZeroDivisionError in lineshapes and use in exponential lineshape (Issue #631, PR #664; @s-weigand)
  • save last_internal_values and use to restore internal values if fit is aborted (PR #667)
  • dumping a fit using the lbfgsb method now works, convert bytes to string if needed (Issue #677, PR #678; @leonfoks)
  • fix use of callable Jacobian for scalar methods (PR #681; @mstimberg)
  • preserve float/int types when encoding for JSON (PR #696; @jedzill4)
  • better support for saving/loading of ExpressionModels and assure that init_params and init_fit are set when loading a ModelResult (PR #706)

Various:

  • update minimum dependencies (PRs #688, #693)
  • improvements in coding style, docstrings, CI, and test coverage (PRs #647, #649, #650, #653, #654; #685, #668, #689)
  • fix typo in Oscillator (PR #658; @flothesof)
  • add example using SymPy (PR #662)
  • allow better custom pool for emcee() (Issue #666, PR #667)
  • update NIST Strd reference functions and tests (PR #670)
  • make building of documentation cross-platform (PR #673; @s-weigand)
  • relax module name check in test_check_ast_errors for Python 3.9 (Issue #674, PR #675; @mwhudson)
  • fix/update layout of documentation, now uses the sphinx13 theme (PR #687)
  • fixed DeprecationWarnings reported by NumPy v1.2.0 (PR #699)
  • increase value of tiny and check for it in bounded parameters to avoid "parameter not moving from initial value" (Issue #700, PR #701)
  • add max_nfev to basinhopping and brute (now supported everywhere in lmfit) and set to more uniform default values (PR #701)
  • use Azure Pipelines for CI, drop Travis (PRs #696 and #702)
Commits
  • ddf7d40 faq rst fixes
  • 24a569a add FAQ entries for more common fitting problems
  • 00361b5 remove link to GSECARS conda channel
  • 4edb1ea MAINT: update pygrep-hooks for pre-commit
  • e966106 DOC: a few more minor corrections
  • c6cd665 DOC: minor changes, correct typos, update links
  • 802bb28 CI: install asteval from GitHub master branch
  • 203de45 CI: fix running the test-suite with Python3.10-devel
  • c1dd868 FIX: better support for save/load of ExpressionModel
  • 2e541db DOC: add badge to README with link to GitHub Pages
  • Additional commits viewable in compare view

Dependabot compatibility score

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

dependabot-preview[bot] avatar Feb 08 '21 04:02 dependabot-preview[bot]