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

file modified
+22 -18
@@ -14,7 +14,7 @@ 

  

  Name:           python-%{pypi_name}

  Version:        1.0.1

- Release:        8%{?dist}

+ Release:        9%{?dist}

  Summary:        Python client for Vitrage REST API

  

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

  

  %package -n     python2-%{pypi_name}

  

- BuildRequires:  python-devel

- BuildRequires:  python-setuptools

- BuildRequires:  python-pbr

- BuildRequires:  python-coverage

- BuildRequires:  python-subunit

- BuildRequires:  python-oslotest

- BuildRequires:  python-testrepository

- BuildRequires:  python-testscenarios

- BuildRequires:  python-testtools

- 

- Requires:       python-babel >= 2.3.4

- Requires:       python-cliff >= 1.15.0

- Requires:       python-keystoneauth1 >= 2.10.0

- Requires:       python-pbr

- Requires:       python-oslo-utils >= 3.16.0

- Requires:       python-oslo-log

+ BuildRequires:  python2-devel

+ BuildRequires:  python2-setuptools

+ BuildRequires:  python2-pbr

+ BuildRequires:  python2-coverage

+ BuildRequires:  python2-subunit

+ BuildRequires:  python2-oslotest

+ BuildRequires:  python2-testrepository

+ BuildRequires:  python2-testscenarios

+ BuildRequires:  python2-testtools

+ 

+ Requires:       python2-babel >= 2.3.4

+ Requires:       python2-cliff >= 1.15.0

+ Requires:       python2-keystoneauth1 >= 2.10.0

+ Requires:       python2-pbr

+ Requires:       python2-oslo-utils >= 3.16.0

+ Requires:       python2-oslo-log

  

  Requires:       %{name}-bash-completion = %{version}-%{release}

  
@@ -90,7 +90,7 @@ 

  %package -n python-%{pypi_name}-doc

  Summary:       Documentation for python client for Vitrage REST API

  

- BuildRequires: python-sphinx

+ BuildRequires: python2-sphinx

  BuildRequires: python2-oslo-sphinx >= 2.3.0

  

  %description -n python-%{pypi_name}-doc
@@ -176,6 +176,10 @@ 

  %{_datadir}/bash-completion/completions/vitrage

  

  %changelog

+ * Wed Feb 28 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.0.1-9

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-8

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_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 branches, as some of the modified requirements are not available there

This PR was opened automatically, for source code see here

Thank you for this pull request. OpenStack clients are being maintained in RDO, this one for example is maintained https://review.rdoproject.org/r/#/q/project:openstack/vitrageclient-distgit

I'm happy to submit a request there, as it will be copied over from there to fedora.

Pull-Request has been closed by mrunge

6 years ago

In fact, something like this already has been merged in vitrageclient in rdo, and will be copied over for OpenStack Queens release over the next days.

@mrunge Any update on when this is going to happen? Thanks

I meant when is this going to land in Fedora.

This is still not in Fedora.

This is still not in Fedora.