#1 Update Python 2 dependency declarations to new packaging standards
Closed 6 years ago by ishcherb. Opened 6 years ago by ishcherb.
rpms/ ishcherb/python-automaton pyambiguous  into  master

file modified
+12 -8
@@ -7,7 +7,7 @@ 

  

  Name:           python-%{pypi_name}

  Version:        1.5.0

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Summary:        Friendly state machines for python

  

  License:        ASL 2.0
@@ -22,14 +22,14 @@ 

  Summary:        Friendly state machines for python

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

  BuildRequires:  python2-devel

- BuildRequires:  python-pbr

- BuildRequires:  python-sphinx

- BuildRequires:  python-oslo-sphinx

+ BuildRequires:  python2-pbr

+ BuildRequires:  python2-sphinx

+ BuildRequires:  python2-oslo-sphinx

  

- Requires: python-pbr >= 1.6

- Requires: python-six >= 1.9.0

- Requires: python-debtcollector >= 1.2.0

- Requires: python-prettytable

+ Requires: python2-pbr >= 1.6

+ Requires: python2-six >= 1.9.0

+ Requires: python2-debtcollector >= 1.2.0

+ Requires: python2-prettytable

  

  %description -n python2-%{pypi_name}

  Friendly state machines for python.
@@ -97,6 +97,10 @@ 

  %license LICENSE

  

  %changelog

+ * Wed Feb 07 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.5.0-5

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.0-4

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

  

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. There is no need to build the package right after merge, this change can wait for the next package rebuild.
The local mock build passed, for Koji scratch build please see simple-koji-ci result.

Note: please do not backport this to f26, f27 branch(es) as some of the modified requirements are not available there

This PR was opened automatically, for source code see here

We are preparing an update of automaton as part of the new OpenStack release (it will be released in some weeks). We'll fix python2 dependencies as part of the update.

thanks @amoralej ! Closing this PR then.

Pull-Request has been closed by ishcherb

6 years ago

This is still not in Fedora.