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

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

  Name:           python-resultsdb_api

  # NOTE: if you update version, *make sure* to also update `setup.py`

  Version:        2.0.0

- Release:        4%{?dist}

+ Release:        5%{?dist}

  Summary:        Interface api to ResultsDB

  

  License:        GPLv2+
@@ -11,14 +11,14 @@ 

  BuildArch:      noarch

  

  BuildRequires:  git

- BuildRequires:  pytest

+ BuildRequires:  python2-pytest

  BuildRequires:  python2-devel

- BuildRequires:  python-dingus

- BuildRequires:  python-pytest-cov

- BuildRequires:  python-requests

- BuildRequires:  python-setuptools

- BuildRequires:  python-simplejson

- BuildRequires:  python-virtualenv

+ BuildRequires:  python2-dingus

+ BuildRequires:  python2-pytest-cov

+ BuildRequires:  python2-requests

+ BuildRequires:  python2-setuptools

+ BuildRequires:  python2-simplejson

+ BuildRequires:  python2-virtualenv

  

  %{?python_provide:%python_provide python-resultsdb_api}

  
@@ -29,8 +29,8 @@ 

  

  %package -n python2-resultsdb_api

  Summary: %summary

- Requires:       python-requests

- Requires:       python-simplejson

+ Requires:       python2-requests

+ Requires:       python2-simplejson

  %{?python_provide:%python_provide python2-resultsdb_api}

  

  %description -n python2-resultsdb_api %_description
@@ -56,6 +56,10 @@ 

  %{python2_sitelib}/*.egg-info

  

  %changelog

+ * Tue Jan 30 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.0.0-5

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.0.0-4

  - Python 2 binary package renamed to python2-resultsdb_api

    See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3

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

rebased onto 586e2ec

6 years ago

Metadata Update from @kparal:
- Request assigned

6 years ago

Pull-Request has been merged by kparal

6 years ago
Metadata