Skip to content

Commit

Permalink
Remove outdated + bump pandas 1.5 (#389)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelvallat committed Nov 11, 2023
1 parent a3a62ac commit ac24f09
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 27 deletions.
3 changes: 1 addition & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,13 @@ The main dependencies of Pingouin are :
* `Statsmodels <https://www.statsmodels.org/>`_
* `Matplotlib <https://matplotlib.org/>`_
* `Seaborn <https://seaborn.pydata.org/>`_
* `Outdated <https://github.com/alexmojaki/outdated>`_

In addition, some functions require :

* `Scikit-learn <https://scikit-learn.org/>`_
* `Mpmath <http://mpmath.org/>`_

Pingouin is a Python 3 package and is currently tested for Python 3.8-3.11. It does not support Python 2.
Pingouin is a Python 3 package and is currently tested for Python 3.8-3.11.

User installation
-----------------
Expand Down
4 changes: 2 additions & 2 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -286,12 +286,12 @@ To read more about what you can do and cannot do with a GPL-3 license, please vi
<div id="collapse_release" class="panel-collapse collapse">
<div class="panel-body">

Pingouin uses `outdated <https://github.com/alexmojaki/outdated>`_, a Python package that automatically checks if a newer version of Pingouin is available upon loading. Alternatively, you can click "Watch" on the `GitHub <https://github.com/raphaelvallat/pingouin>`_ of Pingouin.
You can click "Watch" on the `GitHub <https://github.com/raphaelvallat/pingouin>`_ of Pingouin:

.. figure:: /pictures/github_watch_release.png
:align: center

Whenever a new release is out there, you can simply upgrade your version by typing the following line in a terminal window:
Whenever a new release is available, you can simply upgrade your version by typing the following line in a terminal window:

.. code-block:: shell
Expand Down
3 changes: 1 addition & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ the :code:`ttest` function of Pingouin returns the T-value, the p-value, the deg
Installation
============

Pingouin is a Python 3 package and is currently tested for Python 3.8-3.11. It does not support Python 2.
Pingouin is a Python 3 package and is currently tested for Python 3.8-3.11.

The main dependencies of Pingouin are :

Expand All @@ -74,7 +74,6 @@ The main dependencies of Pingouin are :
* `Statsmodels <https://www.statsmodels.org/>`_
* `Matplotlib <https://matplotlib.org/>`_
* `Seaborn <https://seaborn.pydata.org/>`_
* `Outdated <https://github.com/alexmojaki/outdated>`_

In addition, some functions require :

Expand Down
5 changes: 0 additions & 5 deletions pingouin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,5 @@
# Current version
__version__ = "0.5.3"

# Warn if a newer version of Pingouin is available
from outdated import warn_if_outdated

warn_if_outdated("pingouin", __version__)

# load default options
set_default_options()
15 changes: 7 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
numpy>=1.19
scipy>=1.7
pandas>=1.1
matplotlib>=3.0.2
seaborn>=0.11
statsmodels>=0.13
numpy
scipy
pandas>=1.5
matplotlib
seaborn
statsmodels
scikit-learn
pandas_flavor>=0.2.0
outdated
pandas_flavor
tabulate
15 changes: 7 additions & 8 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ def read(fname):
PACKAGE_DATA = {"pingouin.data.icons": ["*.svg"]}

INSTALL_REQUIRES = [
"numpy>=1.19",
"scipy>=1.7",
"pandas>=1.1",
"matplotlib>=3.0.2",
"seaborn>=0.11",
"statsmodels>=0.13",
"numpy",
"scipy",
"pandas>=1.5",
"matplotlib",
"seaborn",
"statsmodels",
"scikit-learn",
"pandas_flavor>=0.2.0",
"outdated",
"pandas_flavor",
"tabulate",
]

Expand Down

0 comments on commit ac24f09

Please sign in to comment.