PR#1 Merged Fix ambiguous Python 2 dependency declarations

Proposed 11 months ago by ishcherb
Modified 11 months ago
From forks/ishcherb/rpms/python2-ipython pyambiguous  into rpms/python2-ipython master

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=23588177
Note: please do not backport this to f26 branch(es) as some of the modified requirements are not available there

file changed

@@ -4,7 +4,7 @@ 

  

  Name:           python2-ipython

  Version:        5.5.0

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        An enhanced interactive Python shell

  

  License:        BSD

@@ -28,16 +28,16 @@

  BuildRequires:  python2-pexpect

  BuildRequires:  python2-simplegeneric

  BuildRequires:  python2-pickleshare

- BuildRequires:  python-mistune >= 0.3.1

+ BuildRequires:  python2-mistune >= 0.3.1

  BuildRequires:  python2-traitlets >= 4.2

  BuildRequires:  python2-prompt_toolkit

  

  Requires:       python2-zmq

  Requires:       python2-backports-shutil_get_terminal_size

  Requires:       python2-zmq

- Requires:       python-pathlib

+ Requires:       python2-pathlib

  Requires:       python2-decorator

- Requires:       python-mistune >= 0.3.1

+ Requires:       python2-mistune >= 0.3.1

  Requires:       python2-jsonschema

  Requires:       python2-path

  Requires:       python2-pexpect

@@ -61,7 +61,7 @@

  BuildRequires:  python2-requests

  BuildRequires:  python2-zmq

  BuildRequires:  python2-zmq-tests

- BuildRequires:  python-pathlib

+ BuildRequires:  python2-pathlib

  BuildRequires:  python2-backports-shutil_get_terminal_size

  BuildRequires:  python2-nbformat

  BuildRequires:  python2-pytest

@@ -69,7 +69,7 @@

  BuildRequires:  python2-jupyter-client

  BuildRequires:  python2-testpath

  # for frontend

- BuildRequires:  python-pygments

+ BuildRequires:  python2-pygments

  # for running qt/matplotlib tests

  BuildRequires:  xorg-x11-server-Xvfb

  %endif # with check

@@ -238,6 +238,10 @@

  %endif

  

  %changelog

+ * Fri Dec 08 2017 Iryna Shcherbina <ishcherb@redhat.com> - 5.5.0-2

+ - Fix ambiguous Python 2 dependency declarations

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

+ 

  * Sat Sep 30 2017 Lumir Balhar <lbalhar@redhat.com> - 5.5.0-1

  - New upstream release

  
11 months ago

Pull-Request has been merged by churchyard

Changes summary
+10 -6
file changed