-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Python] Drop python 3.6 #28450
Comments
Antoine Pitrou / @pitrou: |
Adam Lippai / @alippai:
|
Joris Van den Bossche / @jorisvandenbossche: |
Antoine Pitrou / @pitrou: |
Antoine Pitrou / @pitrou: |
Antoine Pitrou / @pitrou: Traceback (most recent call last):
File "setup.py", line 632, in <module>
url='https://arrow.apache.org/'
File "/opt/conda/envs/arrow/lib/python3.6/site-packages/setuptools/__init__.py", line 153, in setup
return distutils.core.setup(**attrs)
File "/opt/conda/envs/arrow/lib/python3.6/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/opt/conda/envs/arrow/lib/python3.6/site-packages/setuptools/dist.py", line 457, in __init__
for k, v in attrs.items()
File "/opt/conda/envs/arrow/lib/python3.6/distutils/dist.py", line 281, in __init__
self.finalize_options()
File "/opt/conda/envs/arrow/lib/python3.6/site-packages/setuptools/dist.py", line 831, in finalize_options
ep(self)
File "/opt/conda/envs/arrow/lib/python3.6/site-packages/setuptools_scm/integration.py", line 90, in infer_version
config = Configuration.from_file(dist_name=dist_name)
File "/opt/conda/envs/arrow/lib/python3.6/site-packages/setuptools_scm/config.py", line 181, in from_file
defn = _load_toml(data)
File "/opt/conda/envs/arrow/lib/python3.6/site-packages/setuptools_scm/config.py", line 53, in _lazy_tomli_load
from tomli import loads
File "/opt/conda/envs/arrow/lib/python3.6/site-packages/tomli/__init__.py", line 6, in <module>
from tomli._parser import TOMLDecodeError, load, loads
File "/opt/conda/envs/arrow/lib/python3.6/site-packages/tomli/_parser.py", line 1
from __future__ import annotations
^
SyntaxError: future feature annotations is not defined See https://github.com/apache/arrow/runs/4521199401?check_suite_focus=true |
Joris Van den Bossche / @jorisvandenbossche: |
Antoine Pitrou / @pitrou: |
Joris Van den Bossche / @jorisvandenbossche: |
Micah Kornfield / @emkornfield:
|
Antoine Pitrou / @pitrou: |
Antoine Pitrou / @pitrou: |
Antoine Pitrou / @pitrou: |
Antoine Pitrou / @pitrou: |
If we are following NEP 29 we can safely drop python 3.6 (released in 2016) and numpy 1.16 support (released in 2019), they got unsupported in January by numpy.
Python 3.6 will reach end of life in 6-7 months anyways, so it's a good target for removal in pyarrow 5.0.0 or 6.0.0.
Reporter: Adam Lippai / @alippai
Related issues:
PRs and other links:
Note: This issue was originally created as ARROW-12706. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: