Skip to content

Commit 71a7b55

Browse files
authored
apacheGH-47137: [Python] Switch to [dependency-groups] (apache#47176)
### Rationale for this change Modern packaging requires non-user facing dependencies to be placed in a `dependency-groups` as per [PEP 735](https://peps.python.org/pep-0735.) ### What changes are included in this PR? Changes the `project.optional-dependencies` to `dependency-groups`. ### Are these changes tested? Not locally yet. I've tried searching for use of the word `test`. Obviously this comes up a lot in the code base, so testing in CI here. ### Are there any user-facing changes? Not really, no. The only difference is people would have to do `pip install --group test pyarrow` rather than `pip install pyarrow[test]`. * GitHub Issue: apache#47137 Authored-by: Patrick J. Roddy <patrickjamesroddy@gmail.com> Signed-off-by: Raúl Cumplido <raulcumplido@gmail.com>
1 parent f0955f1 commit 71a7b55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Documentation = "https://arrow.apache.org/docs/python"
5656
Repository = "https://github.com/apache/arrow"
5757
Issues = "https://github.com/apache/arrow/issues"
5858

59-
[project.optional-dependencies]
59+
[dependency-groups]
6060
test = [
6161
'pytest',
6262
'hypothesis',

0 commit comments

Comments
 (0)