From ca5a10ecf4b494229c8cff0d4fbc80318a251ce8 Mon Sep 17 00:00:00 2001 From: stephanbreimann Date: Fri, 5 Apr 2024 19:51:14 +0200 Subject: [PATCH] Update requirements.txt --- docs/requirements_docs.txt | 9 ---- pyproject.toml | 89 +++++++++++++++++++++----------------- requirements.txt | 1 + 3 files changed, 51 insertions(+), 48 deletions(-) diff --git a/docs/requirements_docs.txt b/docs/requirements_docs.txt index 72cb7a43..c1c32098 100644 --- a/docs/requirements_docs.txt +++ b/docs/requirements_docs.txt @@ -6,25 +6,16 @@ ipython>=8.16.1 hypothesis>=6.86.2 pytest>=7.4.2 -nbconvert>=7.8.0 -nbformat>=5.9.2 -UpSetPlot>=0.8.0 - # Additional dependencies for developer version (pip install aaanalasis[dev]) black==22.12.0 docutils==0.18.0 -hypothesis>=6.86.2 ipykernel==6.25.2 -nbconvert==7.8.0 nbconvert>=7.8.0 -nbformat==5.9.2 nbformat>=5.9.2 nbsphinx==0.9.3 numpydoc==1.5.0 pandoc==2.3 poetry==1.6.1 -pytest==7.4.2 -pytest>=7.4.2 pytest-mpl==0.16.1 sphinx==5.3.0 #,<7.0 # Newest version not campatible with myst_nb sphinx-autodoc-typehints==1.15.0 diff --git a/pyproject.toml b/pyproject.toml index b8f97fcf..2b55e3ef 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,6 +10,7 @@ authors = ["Stephan Breimann "] license = "MIT" readme = "README.rst" include = ["data/*.xlsx", "data/benchmarks/*.tsv", "data/benchmarks/*.xlsx"] + # Add classifiers to provide more details about the package (used by PyPI) classifiers = [ "Operating System :: OS Independent", @@ -32,63 +33,73 @@ classifiers = [ # 7 - Inactive (project no longer maintained) ] -# Core Requirement +# Core dependencies [tool.poetry.dependencies] -python = ">=3.9,<=3.12" +python = "^3.9" cycler = "^0.11.0" et-xmlfile = "^1.1.0" fonttools = "^4.37.1" -joblib = "^1.1.0" +Jinja2 = "^3.1.2" +joblib = "^1.2.0" kiwisolver = "^1.4.4" matplotlib = "^3.5.3" numpy = "^1.24.4" openpyxl = "^3.0.10" packaging = "^21.3" -pandas = ">=2.0.0" +pandas = "^2.0.0" patsy = "^0.5.2" Pillow = "^10.0.1" +pip = "^23.2.01" pyparsing = "^3.0.9" python-dateutil = "^2.8.2" pytz = "^2022.2.1" -scikit-learn = "^1.1.2" -scipy = "^1.9.0" -seaborn = ">=0.11.2" +scikit-learn = "^1.4" +scipy = "^1.10.0" +seaborn = "^0.11.2" six = "^1.16.0" statsmodels = "^0.13.2" -threadpoolctl = "^3.1.0" -pip = "^23.2.01" -shap = "^0.44.0" -ipython = "^8.16.1" -UpSetPlot= "^0.8.0" +threadpoolctl = "^3.1.0 -#... (keep the other dependencies as they are) -[tool.poetry.dev-dependencies] -sphinx = "5.3.0" #,<7.0 # Newest version not campatible with myst_nb -sphinx_rtd_theme = "1.3.0" #"^1.3.0" -sphinx-design = "0.5" #{ version = "^0.5", python = ">=3.8" } -sphinx_copybutton = "0.5.2" #"^0.5.2" -sphinxext-opengraph = "0.8.2" #"^0.8.2" -sphinx-autodoc-typehints = "1.15.0" #"^1.15.0" -docutils = "0.18.0" -poetry = "1.6.1" -urllib3 = "2.0.4" -nbsphinx = "0.9.3" -nbconvert = "7.8.0" -nbformat = "5.9.2" -ipykernel = "6.25.2" -pandoc = "2.3" -numpydoc = "1.5.0" -pytest = "7.4.2" -pytest-mpl = "0.16.1" -hypothesis = "6.86.2" -black = "22.12.0" -# Install juypter locally (not included for RTD due to dependcy conflicts) -#jupyter = "^1.0.0" -#jsonschema = "^4.17.0" +# Additional depdencies (professional & developer) +# Install via pip install aaanalysis[pro] or aaanalysis[dev] +[tool.poetry.extras] +pro = [ + "shap>=0.44.0", + "ipython>=8.16.1", + "hypothesis>=6.86.2", + "pytest>=7.4.2", + "UpSetPlot>=0.8.0" +] +dev = [ + # Include 'pro' dependencies + "shap>=0.44.0", + "ipython>=8.16.1", + "hypothesis>=6.86.2", + "pytest>=7.4.2", + "UpSetPlot>=0.8.0", + # All 'dev' dependencies + "black==22.12.0", + "docutils==0.18.0", + "ipykernel==6.25.2", + "nbconvert>=7.8.0", + "nbformat>=5.9.2", + "nbsphinx==0.9.3", + "numpydoc==1.5.0", + "pandoc==2.3", + "poetry==1.6.1", + "pytest-mpl==0.16.1", + "sphinx==5.3.0", + "sphinx-autodoc-typehints==1.15.0", + "sphinx_copybutton==0.5.2", + "sphinx_design==0.5.0", + "sphinx_rtd_theme==1.3.0", + "sphinxext-opengraph==0.8.2", + "urllib3==2.0.4", +] -# Optional dependencies -#[tool.poetry.extras] -#plots = ["matplotlib", "seaborn"] +[build-system] +requires = ["poetry-core>=1.0.0"] +build-backend = "poetry.core.masonry.api" # Project URLs [tool.poetry.urls] diff --git a/requirements.txt b/requirements.txt index 83d68652..6755957e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ cycler>=0.11.0 et-xmlfile>=1.1.0 fonttools>=4.37.1 +Jinja2>=3.1.2 joblib>=1.2.0 kiwisolver>=1.4.4 matplotlib>=3.5.3