Bug 1770735

Summary: nothing provides python3.8dist(importlib-metadata) needed by python3-Pallets-Sphinx-Themes
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-Pallets-Sphinx-ThemesAssignee: Rick Elrod <relrod>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: lbalhar, python-sig, relrod
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-19 14:57:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1750909    

Description Miro Hrončok 2019-11-11 09:19:51 UTC
Description of problem:
python3-Pallets-Sphinx-Themes depends on python3.8dist(importlib-metadata) and cannot be installed on rawhide.

Version-Release number of selected component (if applicable):
1.2.2-2.fc32

How reproducible:
easy

Steps to Reproduce:
1. $ mock -r fedora-rawhide-x86_64 install python3-Pallets-Sphinx-Themes

Actual results:
Error: 
 Problem: conflicting requests
  - nothing provides python3.8dist(importlib-metadata) needed by python3-Pallets-Sphinx-Themes-1.2.2-2.fc32.noarch


Expected results:
Package installs.

Additional info:
The importlib.metadata module has been part of the standard library since Python 3.8.

Use something like this to fix this:

https://github.com/tox-dev/tox/pull/1368
https://github.com/pytest-dev/pytest/issues/5537
https://github.com/pytest-dev/pluggy/pull/223

Comment 1 Rick Elrod 2019-11-11 16:42:37 UTC
Patch for upstream: https://github.com/pallets/pallets-sphinx-themes/pull/27

Patch for us (which is my original, but upstream wanted to catch ImportError instead of checking version): https://src.fedoraproject.org/rpms/python-Pallets-Sphinx-Themes/c/1104018911833e33b0d78b1bb90e8b5d22ffd4b3?branch=master
Scratch build (installed fine in a rawhide container): https://koji.fedoraproject.org/koji/taskinfo?taskID=38919217
Rawhide build: https://koji.fedoraproject.org/koji/taskinfo?taskID=38920044