Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions clients/python-wrapper/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
[build-system]
requires = ["setuptools>=77"]
build-backend = "setuptools.build_meta"

[project]
name = "lakefs"
version = "0.14.0"
description = "lakeFS Python SDK Wrapper"
keywords = ["OpenAPI", "OpenAPI-Generator", "lakeFS API", "Python Wrapper"]
requires-python = ">=3.9"
readme = "README.md"
license = "Apache-2.0"
authors = [
{ name = "Treeverse", email = "services@treeverse.io" },
]
dependencies = [
"lakefs-sdk>=1.50,< 2",
"pyyaml~=6.0.1",
]
classifiers = [
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Version Control",
"Topic :: Utilities",
"Typing :: Typed",
]

[project.optional-dependencies]
all = [ "boto3 >= 1.26.0" ]
aws-iam = [ "boto3 >= 1.26.0" ]
Comment on lines +31 to +32
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hi, dependency-groups and extras (aka project.optional-dependencies) aren't the same thing. extras are for package distributions whereas dependency-groups are project dependencies, similar to requirements.txt files.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it, so test moves into a dependency group, while all and aws-iam return to optional-dependencies?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, looks good as you have done. :)


[dependency-groups]
test = [
Copy link
Contributor

@skshetry skshetry Oct 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems like a good case for dependency-groups instead of introducing a new extra, but that's upto the maintainers to decide. Alternatively, this could be removed as there is requirements.txt for testing.

"pytest ~= 7.4.3",
"pytest-datafiles ~= 3.0.0",
"pandas >= 2.1.4,<3",
"pyarrow >= 14.0.1,<20",
"pillow >= 10.3.0,<12"
]

[project.urls]
Homepage = "https://github.com/treeverse/lakeFS/tree/master/clients/python-wrapper"

[tool.setuptools.packages.find]
include = ["lakectl", "lakefs"]

[tool.setuptools.package-data]
lakefs = ["py.typed"]
49 changes: 0 additions & 49 deletions clients/python-wrapper/setup.py

This file was deleted.