Skip to content

Commit

Permalink
only in py312+ can we be sure that the software will work
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandezfran committed Aug 24, 2024
1 parent f97ed14 commit 78e006d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -18,7 +18,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](https://matplotlib.org/), [NumPy](https://numpy.org/),
[pandas](https://pandas.pydata.org/), [scikit-learn](https://scikit-learn.org/)
Expand Down
3 changes: 1 addition & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 <https://matplotlib.org/>`__, `NumPy <https://numpy.org/>`__,
`pandas <https://pandas.pydata.org/>`__, `scikit-learn <https://scikit-learn.org>`__
Expand Down
6 changes: 0 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
line-length = 79
target-version = ["py39"]

[tool.pytest.ini_options]
filterwarnings = ["ignore::RuntimeWarning"]

# =============================================================================
# PACKAGING
# =============================================================================
Expand Down Expand Up @@ -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",
]
Expand Down

0 comments on commit 78e006d

Please sign in to comment.