From 78e006d3f8d4c4e23beda2d044de8ac5949fcb6a Mon Sep 17 00:00:00 2001 From: fernandezfran Date: Sat, 24 Aug 2024 11:06:48 +0200 Subject: [PATCH] only in py312+ can we be sure that the software will work --- README.md | 4 ++-- TODO.md | 3 +-- docs/source/index.rst | 4 ++-- pyproject.toml | 6 ------ 4 files changed, 5 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 7cbe1d1..ff693e6 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![galpynostatics CI](https://github.com/fernandezfran/galpynostatic/actions/workflows/CI.yml/badge.svg)](https://github.com/fernandezfran/galpynostatic/actions/workflows/CI.yml) [![documentation status](https://readthedocs.org/projects/galpynostatic/badge/?version=latest)](https://galpynostatic.readthedocs.io/en/latest/?badge=latest) [![pypi version](https://img.shields.io/pypi/v/galpynostatic)](https://pypi.org/project/galpynostatic/) -[![python version](https://img.shields.io/badge/python-3.9%2B-4584b6)](https://www.python.org/) +[![python version](https://img.shields.io/badge/python-3.12%2B-4584b6)](https://www.python.org/) [![mit license](https://img.shields.io/badge/License-MIT-ffde57)](https://github.com/fernandezfran/galpynostatic/blob/main/LICENSE) [![doi](https://img.shields.io/badge/doi-10.1016/j.electacta.2023.142951-36abe8)](https://doi.org/10.1016/j.electacta.2023.142951) @@ -18,7 +18,7 @@ If you have any questions, you can contact me at ## Requirements -You need Python 3.9+ to run galpynostatic. All other dependencies, which are the +You need Python 3.12+ to run galpynostatic. All other dependencies, which are the usual ones of the scientific computing stack ([matplotlib](https://matplotlib.org/), [NumPy](https://numpy.org/), [pandas](https://pandas.pydata.org/), [scikit-learn](https://scikit-learn.org/) diff --git a/TODO.md b/TODO.md index 8738058..72a38e0 100644 --- a/TODO.md +++ b/TODO.md @@ -1,9 +1,8 @@ # TODO -- [ ] Fix GHA test failure due to not reading C++ code compilation. - [ ] Add Jupyter Notebook tutorial for `simulation.py` module to documentation. - [ ] Review documentation for `simulation.py`. -- [ ] Check warning in `test_plot.py` tests. +- [ ] Fix warnings in `test_plot.py` and `test_make_prediction.py` tests. - [ ] In `utils.py` replace `l` with `ell` and simplify the last function to be a one-line return. - [ ] In `test_plot.py`, mock the slowest test, or give as args initial parameters closer to the minimum. - [ ] In `simulation.py` classes, move the args that relate to the specifics of the simulation and not to the system from the instantiation to the `run()` method. diff --git a/docs/source/index.rst b/docs/source/index.rst index df0595a..2b6da6f 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -19,7 +19,7 @@ galpynostatic :target: https://pypi.org/project/galpynostatic/ :alt: PyPI Version -.. image:: https://img.shields.io/badge/python-3.9%2B-4584b6 +.. image:: https://img.shields.io/badge/python-3.12%2B-4584b6 :target: https://www.python.org/ :alt: python version @@ -44,7 +44,7 @@ If you have any questions, you can contact me at ffernandev@gmail.com Requirements ------------ -You need Python 3.9+ to run galpynostatic. All other dependencies, which are the +You need Python 3.12+ to run galpynostatic. All other dependencies, which are the usual ones of the scientific computing stack (`matplotlib `__, `NumPy `__, `pandas `__, `scikit-learn `__ diff --git a/pyproject.toml b/pyproject.toml index a14410e..48835d4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,9 +2,6 @@ line-length = 79 target-version = ["py39"] -[tool.pytest.ini_options] -filterwarnings = ["ignore::RuntimeWarning"] - # ============================================================================= # PACKAGING # ============================================================================= @@ -39,9 +36,6 @@ classifiers = [ "Intended Audience :: Science/Research", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering", ]