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

file modified
+17 -13
@@ -1,7 +1,7 @@ 

  Name:           taskotron-trigger

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

  Version:        0.4.9

- Release:        1%{?dist}

+ Release:        2%{?dist}

  Summary:        Triggering Taskotron jobs via fedmsg

  

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

  BuildArch:      noarch

  

  Requires:       fedmsg

- Requires:       fedmsg-hub

+ Requires:       python2-fedmsg

  Requires:       git

  %if 0%{?fedora} <= 26

  Requires:       koji

  %else

  Requires:       python2-koji

  %endif

- Requires:       python-mongoquery

- Requires:       python-requests

- Requires:       python-twisted

- Requires:       PyYAML

+ Requires:       python2-mongoquery

+ Requires:       python2-requests

+ Requires:       python2-twisted

+ Requires:       python2-pyyaml

  BuildRequires:  fedmsg

  %if 0%{?fedora} <= 26

  BuildRequires:  koji
@@ -29,14 +29,14 @@ 

  BuildRequires:  python2-koji

  %endif

  BuildRequires:  python2-devel

- BuildRequires:  python-dingus

- BuildRequires:  python-mock

- BuildRequires:  python-mongoquery

- BuildRequires:  python-munch

+ BuildRequires:  python2-dingus

+ BuildRequires:  python2-mock

+ BuildRequires:  python2-mongoquery

+ BuildRequires:  python2-munch

  BuildRequires:  python2-pytest

- BuildRequires:  python-pytest-cov

- BuildRequires:  python-setuptools

- BuildRequires:  PyYAML

+ BuildRequires:  python2-pytest-cov

+ BuildRequires:  python2-setuptools

+ BuildRequires:  python2-pyyaml

  

  %description

  Triggering Taskotron jobs via fedmsg.
@@ -84,6 +84,10 @@ 

  %config(noreplace) %{_sysconfdir}/logrotate.d/taskotron-trigger

  

  %changelog

+ * Thu Feb 01 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.4.9-2

+ - Update Python 2 dependency declarations to new packaging standards

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

+ 

  * Thu Nov 23 2017 Kamil Páral <kparal@redhat.com> - 0.4.9-1

  - Added consumer for Github's Pull Requests

  

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

Pull-Request has been closed by kparal

6 years ago