This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new cf970b76f94 [SPARK-45994][PYTHON] Change `description-file` to
`description_file`
cf970b76f94 is described below
commit cf970b76f9466781798909570c50b0bb8b2d0601
Author: Bjørn Jørgensen <[email protected]>
AuthorDate: Mon Nov 20 09:38:43 2023 +0900
[SPARK-45994][PYTHON] Change `description-file` to `description_file`
### What changes were proposed in this pull request?
Change `description-file` to `description_file`
### Why are the changes needed?
`./dev/make-distribution.sh --name custom-spark --pip -Pkubernetes >
output.txt 2>&1`
in the file there is this
```
+ echo 'Building python distribution package'
Building python distribution package
+ pushd /home/bjorn/spark/python
+ rm -rf pyspark.egg-info
+ python3 setup.py sdist
/usr/lib/python3.11/site-packages/setuptools/dist.py:745:
SetuptoolsDeprecationWarning: Invalid dash-separated options
!!
********************************************************************************
Usage of dash-separated 'description-file' will not be supported in
future
versions. Please use the underscore name 'description_file' instead.
This deprecation is overdue, please update your project and remove
deprecated
calls to avoid build errors in the future.
See
https://setuptools.pypa.io/en/latest/userguide/declarative_config.html for
details.
********************************************************************************
!!
opt = self.warn_dash_deprecation(opt, section)
running sdist
running egg_info
```
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass GA
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #43891 from bjornjorgensen/description-file.
Authored-by: Bjørn Jørgensen <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
python/setup.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/setup.cfg b/python/setup.cfg
index d100b932bba..ed26209d369 100644
--- a/python/setup.cfg
+++ b/python/setup.cfg
@@ -19,4 +19,4 @@
universal = 1
[metadata]
-description-file = README.md
+description_file = README.md
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]