[prev in list] [next in list] [prev in thread] [next in thread] 

List:       hadoop-dev
Subject:    [jira] [Resolved] (HADOOP-17496) Build failure due to python2.7 deprecation by pip
From:       "Akira Ajisaka (Jira)" <jira () apache ! org>
Date:       2021-01-26 14:08:00
Message-ID: JIRA.13354617.1611647686000.515589.1611670080225 () Atlassian ! JIRA
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/HADOOP-17496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Akira Ajisaka resolved HADOOP-17496.
------------------------------------
    Fix Version/s: 3.4.0
     Hadoop Flags: Reviewed
       Resolution: Fixed

Committed to trunk. Thank you [~gautham] for your quick fix!

> Build failure due to python2.7 deprecation by pip
> -------------------------------------------------
> 
> Key: HADOOP-17496
> URL: https://issues.apache.org/jira/browse/HADOOP-17496
> Project: Hadoop Common
> Issue Type: Bug
> Components: build
> Affects Versions: 3.4.0
> Environment: Linux
> Reporter: Gautham Banasandra
> Assignee: Gautham Banasandra
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 3.4.0
> 
> Time Spent: 1h 10m
> Remaining Estimate: 0h
> 
> The latest version of pip has deprecated its support for python 2.7 -  [pip install \
> on Python 2 fails with SyntaxError: sys.stderr.write(f"ERROR: \{exc}")  · Issue \
> #9500  · pypa/pip (github.com)|https://github.com/pypa/pip/issues/9500] We \
> encounter the following error while building Hadoop - {code:java}
> 11:24:56  Traceback (most recent call last):
> 11:24:56    File "get-pip.py", line 24226, in <module>
> 11:24:56      main()
> 11:24:56    File "get-pip.py", line 199, in main
> 11:24:56      bootstrap(tmpdir=tmpdir)
> 11:24:56    File "get-pip.py", line 82, in bootstrap
> 11:24:56      from pip._internal.cli.main import main as pip_entry_point
> 11:24:56    File "/tmp/tmpDXDtcP/pip.zip/pip/_internal/cli/main.py", line 60
> 11:24:56      sys.stderr.write(f"ERROR: {exc}")
> 11:24:56                                     ^
> 11:24:56  SyntaxError: invalid syntax {code}
> Link : [https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2567/16/consoleFull]
> 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic