diff --git a/pyproject.toml b/pyproject.toml index 048672ad..35395dba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [ { name = "Manu Joseph", email = "manujosephv@gmail.com" } ] -requires-python = ">=3.8" +requires-python = ">=3.10,<3.15" keywords = [ "pytorch", @@ -18,10 +18,12 @@ keywords = [ "neural network", ] + classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", + "Intended Audience :: Science/Research", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", @@ -29,14 +31,20 @@ classifiers = [ "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Topic :: Scientific/Engineering", + "Topic :: Scientific/Engineering :: Artificial Intelligence", + "Topic :: Software Development", + "Topic :: Software Development :: Libraries", + "Topic :: Software Development :: Libraries :: Python Modules", ] dependencies = [ "torch>=1.11.0", - "numpy>1.20.0,<2.0", - "pandas>=1.1.5", - "scikit-learn>=1.3.0", + "numpy<=3.0.0", + "pandas>=1.1.5,<3.0.0", + "scikit-learn>=1.3.0,<2.0", "pytorch-lightning>=2.0.0,<2.5.0", + "scipy>=1.8,<2.0", "omegaconf>=2.3.0", "torchmetrics>=0.10.0,<1.7.0", "tensorboard>2.2.0,!=2.5.0", @@ -58,8 +66,7 @@ dev = [ "bump2version==1.0.1", "mkdocs-material==9.5.*", "ipython[notebook]>8.0,<9.0", - "mkdocstrings[python]==0.26.*; python_version < '3.9'", - "mkdocstrings[python]==0.29.*; python_version >= '3.9'", + "mkdocstrings[python]==0.29.*", "mknotebooks==0.8.*", "pytest>=5.3.2", "pytest-runner>=5.1", @@ -79,7 +86,7 @@ Homepage = "https://github.com/pytorch-tabular/pytorch_tabular" [build-system] -requires = ["setuptools>=61.0", "wheel"] +requires = ["setuptools>=78.1.1", "wheel"] build-backend = "setuptools.build_meta" @@ -94,8 +101,10 @@ include = ["pytorch_tabular", "pytorch_tabular.*"] [tool.ruff] -target-version = "py38" -line-length = 120 +target-version = "py310" +line-length = 88 + +[tool.ruff.lint] # Enable Pyflakes `E` and `F` codes by default. select = [ "E", "W", # see: https://pypi.org/project/pycodestyle @@ -135,8 +144,8 @@ ignore-init-module-imports = true "__init__.py" = ["D100"] [tool.ruff.pydocstyle] -# Use Google-style docstrings. -convention = "google" +# Use numpy-style docstrings. +convention = "numpy" [tool.docformatter] recursive = true