From 2d4e409f3ace87cd7a05505fc7d7114cff55283b Mon Sep 17 00:00:00 2001 From: Felipe Date: Mon, 15 Apr 2024 17:52:19 -0500 Subject: [PATCH] Update versions --- docs/conf.py | 2 +- pyproject.toml | 79 +++++++++++++++++++++++--------------------------- 2 files changed, 38 insertions(+), 43 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 2e7bb8ef..37d16245 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -31,7 +31,7 @@ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. extensions = [ - 'm2r', + 'm2r2', 'nbsphinx', 'sphinx.ext.autodoc', 'sphinx.ext.githubpages', diff --git a/pyproject.toml b/pyproject.toml index a2caca13..e3211d50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,8 @@ dependencies = [ "numpy>=1.26.0;python_version>='3.12'", "pandas>=1.1.3;python_version<'3.10'", "pandas>=1.3.4;python_version>='3.10' and python_version<'3.11'", - "pandas>=1.5.0;python_version>='3.11'", + "pandas>=1.5.0;python_version>='3.11' and python_version<'3.12'", + "pandas>=2.1.1;python_version>='3.12'", 'plotly>=5.10.0', "scipy>=1.5.4;python_version<'3.10'", "scipy>=1.9.2;python_version>='3.10' and python_version<'3.12'", @@ -49,9 +50,10 @@ version = {attr = 'copulas.__version__'} [project.optional-dependencies] tutorials = [ - 'markupsafe<=2.0.1', + 'markupsafe<3', "scikit-learn>=0.24,<1.2;python_version<'3.10'", - "scikit-learn>=0.24,<1.5;python_version>='3.10'", + "scikit-learn>=1.1.3;python_version>='3.10' and python_version<'3.12'", + "scikit-learn>=1.3.1;python_version>='3.12'", 'jupyter>=1.0.0,<2', ] test = [ @@ -72,65 +74,58 @@ dev = [ 'watchdog>=1.0.1,<5', # docs - 'm2r>=0.2.0,<0.3', - 'nbsphinx>=0.5.0,<0.7', - 'Sphinx>=1.7.1,<3', - 'sphinx_rtd_theme>=0.2.4,<0.5', - 'sphinxcontrib_applehelp<1.0.8', - 'sphinxcontrib-devhelp<1.0.6', - 'sphinxcontrib-htmlhelp<2.0.5', - 'sphinxcontrib_serializinghtml<1.1.10', - 'sphinxcontrib_qthelp<1.0.7', - 'alabaster<0.7.13', + 'docutils>=0.12,<1', + 'm2r2>=0.2.5,<1', + 'nbsphinx>=0.5.0,<1', + 'Sphinx>=3,<8', # Jinja2>=3 makes the sphinx theme fail - 'Jinja2>=2,<3', + 'Jinja2>=2,<4', # style check - 'flake8>=3.7.7,<4', - 'isort>=4.3.4,<5', - 'flake8-debugger>=4.0.0,<4.1', - 'flake8-mock>=0.3,<0.4', - 'flake8-mutable>=1.2.0,<1.3', - 'flake8-fixme>=1.1.1,<1.2', - 'pep8-naming>=0.12.1,<0.13', - 'dlint>=0.11.0,<0.12', + 'flake8>=3.7.7,<8', + 'flake8-absolute-import>=1.0,<2', + 'flake8-builtins>=1.5.3,<3', + 'flake8-comprehensions>=3.6.1,<4', + 'flake8-debugger>=4.0.0,<5', 'flake8-docstrings>=1.5.0,<2', - 'pydocstyle>=6.1.1,<6.2', - 'flake8-pytest-style>=1.5.0,<2', - 'flake8-comprehensions>=3.6.1,<3.7', - 'flake8-print>=4.0.0,<4.1', - 'flake8-expression-complexity>=0.0.9,<0.1', + 'flake8-eradicate>=1.1.0,<2', + 'flake8-fixme>=1.1.1,<1.2', + 'flake8-mock>=0.3,<1', 'flake8-multiline-containers>=0.0.18,<0.1', - 'pandas-vet>=0.2.2,<0.3', - 'flake8-builtins>=1.5.3,<1.6', - 'flake8-eradicate>=1.1.0,<1.2', + 'flake8-mutable>=1.2.0,<1.3', + 'flake8-expression-complexity>=0.0.9,<0.1', + 'flake8-print>=4.0.0,<4.1', + 'flake8-pytest-style>=1.5.0,<3', 'flake8-quotes>=3.3.0,<4', + 'flake8-sfs>=0.0.3,<2', 'flake8-variables-names>=0.0.4,<0.1', - 'flake8-sfs>=0.0.3,<0.1', - 'flake8-absolute-import>=1.0,<2', + 'dlint>=0.11.0,<1', + 'isort>=4.3.4,<6', + 'pandas-vet>=0.2.3,<2024', + 'pep8-naming>=0.12.1,<1', + 'pydocstyle>=6.1.1,<7', # fix style issues - 'autoflake>=1.1,<2', - 'autopep8>=1.4.3,<1.6', + 'autoflake>=1.1,<3', + 'autopep8>=1.4.3,<3', # distribute on PyPI - 'twine>=1.10.0,<4', + 'twine>=1.10.0,<6', 'wheel>=0.30.0', # Advanced testing - 'coverage>=4.5.1,<6', - 'tox>=2.9.1,<4', + 'coverage>=4.5.12,<8', + 'tox>=2.9.1,<5', 'invoke', # Documentation style - 'doc8>=0.8.0,<0.9', + 'doc8>=0.8.0,<1.2', # Large scale evaluation - 'urllib3>=1.20,<1.26', - 'tabulate>=0.8.3,<0.9', - 'boto3>=1.7.47,<1.10', - 'docutils>=0.10,<0.15' + 'urllib3>=1.20,<2.3', + 'tabulate>=0.8.3,<1', + 'boto3>=1.28', ] [tool.isort]