Skip to content

Commit

Permalink
MRG: Merge pull request #9 from AndreaBlengino/dev
Browse files Browse the repository at this point in the history
v1.3.0
  • Loading branch information
AndreaBlengino authored Apr 13, 2024
2 parents 3c6f0f3 + 70d43d0 commit 1fe1e3f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 13 deletions.
8 changes: 6 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ through a Monte Carlo Markov chain sampling.
:width: 100%

* - PyPI
- |pypi_release| |supported_python_versions| |build|
- |pypi_release| |supported_python_versions| |build| |dependencies|
* - Tests
- |linux_tests| |macos_tests| |windows_tests| |test_coverage|
* - Documentation
Expand All @@ -35,7 +35,11 @@ through a Monte Carlo Markov chain sampling.
:target: https://github.com/AndreaBlengino/baypy/actions/workflows/release.yml
:alt: Package Build

.. |linux_tests| image:: https://img.shields.io/github/actions/workflow/status/AndreaBlengino/baypy/linux_test.yml.svg?logo=linux&label=Linux
.. |dependencies| image:: https://dependency-dash.repo-helper.uk/github/AndreaBlengino/baypy/badge.svg
:target: https://dependency-dash.repo-helper.uk/github/AndreaBlengino/baypy
:alt: Dependencies Status

.. |linux_tests| image:: https://img.shields.io/github/actions/workflow/status/AndreaBlengino/baypy/linux_test.yml.svg?logo=linux&logoColor=white&label=Linux
:target: https://github.com/AndreaBlengino/baypy/actions/workflows/linux_test.yml
:alt: Linux Tests

Expand Down
4 changes: 3 additions & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@
project = 'baypy'
copyright = '2023, Andrea Blengino'
author = 'Andrea Blengino'
release = subprocess.run(['git', 'describe', '--tags'], stdout = subprocess.PIPE).stdout.decode('utf-8').split('-')[0]
release = subprocess.run(['git', 'describe', '--tags'], stdout = subprocess.PIPE).stdout.decode('utf-8')

if not release.startswith('v') or not release.endswith('\n') or '-' in release or release.count('.') != 2:
raise ValueError(f"Invalid release name {release}.")

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
10 changes: 5 additions & 5 deletions docs/source/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,20 @@ The recommended installation is through `pip`:
$ pip install baypy
```

baypy runs for python versions 3.9, 3.10, 3.11 and 3.12.
`baypy` runs for Python versions 3.9+.

## Dependencies

- [matplotlib](https://matplotlib.org) >= 3.7.2
- [matplotlib](https://matplotlib.org) >= 3.6
Creates static, animated, and interactive visualizations in Python.
- [numpy](https://numpy.org) >= 1.26.1
- [numpy](https://numpy.org) >= 1.20
Adds support for large, multi-dimensional arrays, matrices and
high-level mathematical functions to operate on these arrays.
- [pandas](https://pandas.pydata.org) >= 2.0.3
- [pandas](https://pandas.pydata.org) >= 2.0
Provides fast, flexible, and expressive data structures designed to
make working with "relational" or "labeled" data both easy and
intuitive.
- [scipy](https://scipy.org) >= 1.11.3
- [scipy](https://scipy.org) >= 1.6, but not 1.11.0
Includes modules for statistics, optimization, integration, linear
algebra, Fourier transforms, signal and image processing, ODE solvers,
and more.
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ build-backend = "setuptools.build_meta"
[project]
name = "baypy"
dynamic = ["version"]
requires-python = ">=3.9,<3.13"
requires-python = ">=3.9"
dependencies = [
"matplotlib==3.7.2",
"numpy==1.26.1",
"pandas==2.0.3",
"scipy==1.11.3",
"matplotlib>=3.6",
"numpy>=1.20",
"pandas>=2.0",
"scipy>=1.6,!=1.11.0",
]
authors = [
{name = "Andrea Blengino", email = "[email protected]"},
Expand All @@ -22,6 +22,7 @@ description = "Python library for solving bayesian regression models through a M
readme = "README.rst"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Education",
"Intended Audience :: Manufacturing",
"Intended Audience :: Science/Research",
Expand Down

0 comments on commit 1fe1e3f

Please sign in to comment.