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

file modified
+8 -4
@@ -14,7 +14,7 @@ 

  

  Name:           python-%{modulename}

  Version:        1.3.0

- Release:        10%{?dist}

+ Release:        11%{?dist}

  Summary:        A cached-property for decorating methods in Python classes

  License:        BSD

  URL:            https://github.com/pydanny/%{projectname}
@@ -23,9 +23,9 @@ 

  BuildArch:      noarch

  BuildRequires:  python2-devel

  

- BuildRequires:  python-dateutil

- BuildRequires:  python-freezegun

- BuildRequires:  pytest

+ BuildRequires:  python2-dateutil

+ BuildRequires:  python2-freezegun

+ BuildRequires:  python2-pytest

  

  %if 0%{?with_python3}

  BuildRequires:  python%{python3_pkgversion}-devel
@@ -110,6 +110,10 @@ 

  %endif # with_python3

  

  %changelog

+ * Sun Feb 11 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.3.0-11

+ - 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.3.0-10

  - 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.

This PR was opened automatically, for source code see here

Can't be merged yet; there is no python2-freezegun provide for EL6. We need to update python-freezegun for EL6 to provide it.

Also not sure about python-dateutil; the only EPEL builds I see for it are extremely old, it may be in EL. I'll have to look.

edit: looks like it's in EL. Will ask @tibbs for a stub.

Thanks for that. Still need freezegun. I can try to get to it at some point, but this is not a priority for me...

Pull-Request has been merged by adamwill

6 years ago