Upgrade python version to >=3.10 and scipy
#155
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updating the Python version to
>=3.10in various workflow files and documentation, upgrading thescipydependency, and refactoring a gradient checking utility.Python Version Updates:
.github/workflows/build.yml: Updated Python version from 3.9 to 3.10..github/workflows/merge-tests.yml: Updated supported Python versions to 3.10, 3.11, and 3.12..github/workflows/tests.yml: Updated supported Python versions to 3.10, 3.11, and 3.12.README.md: Updated Python version requirement to 3.10 or newer.docsrc/source/development.rst: Updated Python version target to 3.10 and up.docsrc/source/installation.rst: Updated Python version requirement to 3.10 or newer.Dependency Updates:
pyproject.toml: Upgradedscipydependency to version 1.15.0 and updated the required Python version to 3.10 or newer.Codebase Improvements:
pyvbmc/testing/_check_grad.py: Refactored gradient checking utility to usescipy.differentiate.jacobianinstead ofscipy.misc.derivative.pyvbmc/testing/entropy/test_entmc_vbmc.py: Modified initialization ofvp.sigma,vp.lambd, andvp.etato ensure positive values and fixedvp.etainitialization.