Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Automated test thinks that python3 package is pulling in python2 #2

@abadger

Description

@abadger

https://taskotron.fedoraproject.org/artifacts/all/ad2d9846-de16-11e6-a19d-5254008e42f6/task_output/output.log

Here's the requires for the package:

[pts/27@roan /var/tmp]$ rpm -qp --requires python3-sphinx-1.4.8-3.fc24.noarch.rpm                         (23:41:30)
/bin/sh
/usr/bin/python3
/usr/sbin/alternatives
python(abi) = 3.5
python-sphinx-locale = 1.4.8-3.fc24
python3-babel
python3-docutils
python3-imagesize
python3-jinja2
python3-mock
python3-pygments
python3-six
python3-snowballstemmer
python3-sphinx-theme-alabaster
python3-sphinx_rtd_theme
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

My guess is that the python-sphinx-locale requirement is triggering the test. However, that subpackage contains only locale data files with no dependency on python:

$ rpm -qp --requires python-sphinx-locale-1.4.8-3.fc24.noarch.rpm                   (23:47:10)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsXz) <= 5.2-1

If that is in fact the problem, perhaps it is necessary to test if a python-* package requires python(abi) = 2.x before deciding whether it introduces a dependency on python2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions