[
https://issues.apache.org/jira/browse/SPARK-29672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shane Knapp updated SPARK-29672:
--------------------------------
Description:
python 2.7 is EOL jan 1st 2020: [https://github.com/python/devguide/pull/344]
it's time, at least for 3.0+ to remove python 2.7 test support and migrate the
test execution framework to python 3.6.
this PR ([https://github.com/apache/spark/pull/26330]) does all of the above.
was:
python 2.7 is EOL jan 1st 2020: [https://github.com/python/devguide/pull/344]
it's time, at least for 3.0+ to remove python 2.7 test support and migrate the
test execution framework to python 3.6.
this PR ([https://github.com/apache/spark/pull/26330]) does all of the above.
two things of note:
1) there are a bunch of other python scripts in the repo that need to be
updated to '/usr/bin/env python3':
{noformat}
$ grep -r "env python" * |grep -v python3
dev/create-release/releaseutils.py:#!/usr/bin/env python
dev/create-release/generate-contributors.py:#!/usr/bin/env python
dev/create-release/translate-contributors.py:#!/usr/bin/env python
dev/github_jira_sync.py:#!/usr/bin/env python
dev/merge_spark_pr.py:#!/usr/bin/env python
python/pyspark/version.py:#!/usr/bin/env python
python/pyspark/find_spark_home.py:#!/usr/bin/env python
python/setup.py:#!/usr/bin/env python{noformat}
2) there are 135 python files in the spark repo that need to have `from
__future__ import print_function` removed (see attached file
'print_function_list.txt')
> remove python2 tests and test infra
> -----------------------------------
>
> Key: SPARK-29672
> URL: https://issues.apache.org/jira/browse/SPARK-29672
> Project: Spark
> Issue Type: Sub-task
> Components: Build
> Affects Versions: 3.0.0
> Reporter: Shane Knapp
> Assignee: Shane Knapp
> Priority: Major
>
> python 2.7 is EOL jan 1st 2020: [https://github.com/python/devguide/pull/344]
> it's time, at least for 3.0+ to remove python 2.7 test support and migrate
> the test execution framework to python 3.6.
> this PR ([https://github.com/apache/spark/pull/26330]) does all of the above.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]