|
| 1 | +[project] |
| 2 | +name = "hsfs" |
| 3 | +dynamic = ["version"] |
| 4 | +requires-python = ">=3.8,<=3.12" |
| 5 | +readme = "README.md" |
| 6 | +description = "HSFS Python SDK to interact with Hopsworks Feature Store" |
| 7 | +keywords = [ |
| 8 | + "Hopsworks", |
| 9 | + "Feature Store", |
| 10 | + "hsfs", |
| 11 | + "Spark", |
| 12 | + "Machine Learning", |
| 13 | + "MLOps", |
| 14 | + "DataOps", |
| 15 | +] |
| 16 | +authors = [{ name = "Hopsworks AB", email = "[email protected]" }] |
| 17 | +license = { text = "Apache-2.0" } |
| 18 | + |
| 19 | +classifiers = [ |
| 20 | + "Development Status :: 5 - Production/Stable", |
| 21 | + "Topic :: Utilities", |
| 22 | + "License :: OSI Approved :: Apache Software License", |
| 23 | + "Programming Language :: Python :: 3", |
| 24 | + "Programming Language :: Python :: 3.8", |
| 25 | + "Programming Language :: Python :: 3.9", |
| 26 | + "Programming Language :: Python :: 3.10", |
| 27 | + "Programming Language :: Python :: 3.11", |
| 28 | + "Programming Language :: Python :: 3.12", |
| 29 | + "Intended Audience :: Developers", |
| 30 | +] |
| 31 | + |
| 32 | +dependencies = [ |
| 33 | + "pyhumps==1.6.1", |
| 34 | + "requests", |
| 35 | + "furl", |
| 36 | + "boto3", |
| 37 | + "pandas<2.2.0", |
| 38 | + "numpy<2", |
| 39 | + "pyjks", |
| 40 | + "mock", |
| 41 | + "avro==1.11.3", |
| 42 | + "sqlalchemy", |
| 43 | + "PyMySQL[rsa]", |
| 44 | + "great_expectations==0.18.12", |
| 45 | + "tzlocal", |
| 46 | + "fsspec", |
| 47 | + "retrying", |
| 48 | + "aiomysql[sa] @ git+https://[email protected]/logicalclocks/aiomysql", |
| 49 | + "polars>=0.20.18,<=0.21.0", |
| 50 | + "opensearch-py>=1.1.0,<=2.4.2", |
| 51 | +] |
| 52 | + |
| 53 | +[project.optional-dependencies] |
| 54 | +dev = [ |
| 55 | + "pytest==7.4.4", |
| 56 | + "pytest-mock==3.12.0", |
| 57 | + "ruff", |
| 58 | + "pyspark==3.1.1", |
| 59 | + "moto[s3]==5.0.0", |
| 60 | + "typeguard==4.2.1", |
| 61 | +] |
| 62 | +dev-pandas1 = [ |
| 63 | + "pytest==7.4.4", |
| 64 | + "pytest-mock==3.12.0", |
| 65 | + "ruff", |
| 66 | + "pyspark==3.1.1", |
| 67 | + "moto[s3]==5.0.0", |
| 68 | + "pandas<=1.5.3", |
| 69 | + "sqlalchemy<=1.4.48", |
| 70 | +] |
| 71 | +docs = [ |
| 72 | + "mkdocs==1.5.3", |
| 73 | + "mkdocs-material==9.5.17", |
| 74 | + "mike==2.0.0", |
| 75 | + "sphinx==7.2.6", |
| 76 | + "keras_autodoc @ git+https://[email protected]/logicalclocks/keras-autodoc", |
| 77 | + "markdown-include==0.8.1", |
| 78 | + "mkdocs-jupyter==0.24.3", |
| 79 | + "markdown==3.6", |
| 80 | + "pymdown-extensions==10.7.1", |
| 81 | + "mkdocs-macros-plugin==1.0.4", |
| 82 | + "mkdocs-minify-plugin>=0.2.0", |
| 83 | +] |
| 84 | +hive = [ |
| 85 | + "pyhopshive[thrift]", |
| 86 | + "pyarrow>=10.0", |
| 87 | + "confluent-kafka<=2.3.0", |
| 88 | + "fastavro>=1.4.11,<=1.8.4", |
| 89 | +] |
| 90 | +python = [ |
| 91 | + "pyhopshive[thrift]", |
| 92 | + "pyarrow>=10.0", |
| 93 | + "confluent-kafka<=2.3.0", |
| 94 | + "fastavro>=1.4.11,<=1.8.4", |
| 95 | + "tqdm", |
| 96 | +] |
| 97 | + |
| 98 | +[build-system] |
| 99 | +requires = ["setuptools", "wheel"] |
| 100 | +build-backend = "setuptools.build_meta" |
| 101 | + |
| 102 | +[tool.setuptools.packages.find] |
| 103 | +exclude = ["tests*"] |
| 104 | +include = ["../Readme.md", "../LICENSE", "hsfs"] |
| 105 | + |
| 106 | +[tool.setuptools.dynamic] |
| 107 | +version = { attr = "hsfs.version.__version__" } |
| 108 | + |
| 109 | +[project.urls] |
| 110 | +Documentation = "https://docs.hopsworks.ai/latest" |
| 111 | +Repository = "https://github.com/logicalclocks/feature-store-api" |
| 112 | +Homepage = "https://www.hopsworks.ai" |
| 113 | +Community = "https://community.hopsworks.ai" |
| 114 | + |
| 115 | + |
1 | 116 | [tool.ruff]
|
2 | 117 | # Exclude a variety of commonly ignored directories.
|
3 | 118 | exclude = [
|
@@ -39,14 +154,15 @@ target-version = "py38"
|
39 | 154 |
|
40 | 155 | [tool.ruff.lint]
|
41 | 156 | # 1. Enable flake8-bugbear (`B`) rules, in addition to the defaults.
|
42 |
| -select = ["E4", "E7", "E9", "F", "B", "I"]#, "ANN"] |
| 157 | +select = ["E4", "E7", "E9", "F", "B", "I", "W"] #, "ANN"] |
43 | 158 | ignore = [
|
44 | 159 | "B905", # zip has no strict kwarg until Python 3.10
|
45 | 160 | "ANN101", # Missing type annotation for self in method
|
46 | 161 | "ANN102", # Missing type annotation for cls in classmethod
|
47 | 162 | "ANN003", # Missing type annotation for **kwarg in function
|
48 | 163 | "ANN002", # Missing type annotation for *args in function
|
49 | 164 | "ANN401", # Allow Any in type annotations
|
| 165 | + "W505", # Doc line too long |
50 | 166 | ]
|
51 | 167 |
|
52 | 168 | # Allow fix for all enabled rules (when `--fix`) is provided.
|
|
0 commit comments