anjakefala commented on code in PR #41041:
URL: https://github.com/apache/arrow/pull/41041#discussion_r1621195561
##########
python/pyproject.toml:
##########
@@ -24,7 +24,63 @@ requires = [
# continue using oldest-support-numpy.
"oldest-supported-numpy>=0.14; python_version<'3.9'",
"numpy>=1.25; python_version>='3.9'",
- "setuptools_scm",
- "setuptools >= 40.1.0",
+ # configuring setuptools_scm in pyproject.toml requires
+ # versions released after 2022
+ "setuptools_scm[toml]>=8",
+ "setuptools>=64",
"wheel"
]
+build-backend = "setuptools.build_meta"
+
+[project]
+name = "pyarrow"
+dynamic = ["version"]
+requires-python = ">=3.8"
+dependencies = [
+ "numpy >= 1.16.6"
+]
+description = "Python library for Apache Arrow"
+readme = {file = "README.md", content-type = "text/markdown"}
+license = {text = "Apache Software License"}
+classifiers = [
+ 'License :: OSI Approved :: Apache Software License',
+ 'Programming Language :: Python :: 3.8',
+ 'Programming Language :: Python :: 3.9',
+ 'Programming Language :: Python :: 3.10',
+ 'Programming Language :: Python :: 3.11',
+ 'Programming Langauge :: Python :: 3.12',
+]
+maintainers = [
+ {name = "Apache Arrow Developers", email = "[email protected]"}
+]
+
+[project.urls]
+Homepage = "https://arrow.apache.org/"
+Documentation = "https://arrow.apache.org/docs/python"
+Repository = "https://github.com/apache/arrow"
+Issues = "https://github.com/apache/arrow/issues"
+
+[project.optional-dependencies]
+test = [
+ 'pytest',
+ 'hypothesis',
+ 'cffi',
+ 'pytz'
Review Comment:
I wasn't sure if we only wanted the strictly required ones! I support adding
`pandas`. I thought `pytz` was required, but now I see that it is
`importorskip`. =) I'll add `pandas`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]