#2 Fix ambiguous Python 2 dependency declarations
Merged 4 years ago by churchyard. Opened 4 years ago by ishcherb.
rpms/ ishcherb/python-nbconvert pyambiguous  into  master

file modified
+14 -10
@@ -2,7 +2,7 @@ 

  

  Name:           python-%{pypi_name}

  Version:        5.2.1

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Summary:        Converting Jupyter Notebooks

  

  License:        BSD and MIT
@@ -10,9 +10,9 @@ 

  Source0:        https://files.pythonhosted.org/packages/source/n/%{pypi_name}/%{pypi_name}-%{version}.tar.gz

  BuildArch:      noarch

   

- BuildRequires:  python-setuptools

+ BuildRequires:  python2-setuptools

  BuildRequires:  python2-devel

- BuildRequires:  python-sphinx

+ BuildRequires:  python2-sphinx

   

  BuildRequires:  python3-pandocfilters

  BuildRequires:  python3-setuptools
@@ -37,13 +37,13 @@ 

  %{?python_provide:%python_provide python2-%{pypi_name}}

   

  Conflicts:      python-mistune = 0.6

- Requires:       python-jinja2

- Requires:       python-pygments

- Requires:       python-traitlets

- Requires:       python-jupyter_core

- Requires:       python-nbformat

- Requires:       python-entrypoints

- Requires:       python-setuptools

+ Requires:       python2-jinja2

+ Requires:       python2-pygments

+ Requires:       python2-traitlets

+ Requires:       python2-jupyter_core

+ Requires:       python2-nbformat

+ Requires:       python2-entrypoints

+ Requires:       python2-setuptools

  Requires:       python2-testpath

  Requires:       python2-pandocfilters

  
@@ -133,6 +133,10 @@ 

  %doc html

  

  %changelog

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

+ - Fix ambiguous Python 2 dependency declarations

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

+ 

  * Mon Oct 02 2017 Mukundan Ragavan <nonamedotc@gmail.com> - 5.2.1-4

  - Fix requires (added pandocfilters and testpath)

  

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=23641630
This PR was opened automatically, for source code see here

Pull-Request has been merged by churchyard

4 years ago