#1 Fix ambiguous Python 2 dependency declarations
Merged 6 years ago by jcline. Opened 6 years ago by ishcherb.
rpms/ ishcherb/python-requests pyambiguous  into  master

file modified
+8 -4
@@ -9,7 +9,7 @@ 

  

  Name:           python-requests

  Version:        2.18.4

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        HTTP library, written in Python, for human beings

  

  License:        ASL 2.0
@@ -50,7 +50,7 @@ 

  %{?python_provide:%python_provide python2-requests}

  

  BuildRequires:  python2-devel

- BuildRequires:  python-chardet

+ BuildRequires:  python2-chardet

  BuildRequires:  python2-urllib3

  # For tests

  BuildRequires:  python2-pytest
@@ -60,9 +60,9 @@ 

  

  

  Requires:       ca-certificates

- Requires:       python-chardet

+ Requires:       python2-chardet

  Requires:       python2-urllib3

- Requires:       python-idna

+ Requires:       python2-idna

  

  %if 0%{?rhel} && 0%{?rhel} <= 6

  BuildRequires:  python-ordereddict
@@ -166,6 +166,10 @@ 

  %endif

  

  %changelog

+ * Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 2.18.4-2

+ - Fix ambiguous Python 2 dependency declarations

+   (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)

+ 

  * Fri Aug 18 2017 Jeremy Cline <jeremy@jcline.org> - 2.18.4-1

  - Update to 2.18.4

  

This package uses names with ambiguous python- prefix in requirements.

According to Fedora Packaging guidelines for Python, packages must use names with either python2- or python3- prefix in requirements where available.
We are aiming to rename python-* dependencies to python2-*, so we can later switch the python-* namespace to Python 3.

This PR is part of Fedora's Switch to Python 3 effort.

Note that, although this PR was created automatically, we will respond to any comments or issues which you might find with it. We will keep the PR open for review for a week, and if there's no feedback we'll merge it.

Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=23642234
Note: please do not backport this to f26 branch(es) as some of the modified requirements are not available there

This PR was opened automatically, for source code see here

Pull-Request has been merged by jcline

6 years ago