Description of problem: The entrypoints package does not make its version number known to setuptools somehow. I admit that I don't understand the mechanism at work here, but it prevents python-nbconvert from working: $ jupyter nbconvert --to html example_notebook.ipynb --stdout > _build/html/example_notebook.html Traceback (most recent call last): File "/usr/bin/jupyter-nbconvert", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3141, in <module> @_call_aside File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3125, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3154, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 666, in _build_master ws.require(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 984, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 870, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'entrypoints>=0.2.2' distribution was not found and is required by nbconvert Version-Release number of selected component (if applicable): python-entrypoints-0.2.3-2.fc27 How reproducible: Always Steps to Reproduce: 1. Attempt to use nbconvert 2. 3. Actual results: The nbconvert invocation fails with the traceback shown above. Expected results: Since entrypoints 0.2.3 is >= 0.2.2, this should work. Additional info:
It seems that the egg-info is missing. See a related bug filed on another Linux distribution: https://bugs.archlinux.org/task/52477.
Thanks for the Arch bug report. I will try to fix it or report upstream.
It's caused by missing *.dist-info directory. https://src.fedoraproject.org/rpms/python-entrypoints/pull-request/1
(In reply to Elliott Sales de Andrade from comment #3) > It's caused by missing *.dist-info directory. > > https://src.fedoraproject.org/rpms/python-entrypoints/pull-request/1 Thank you Elliot! Jerry, can you test this? https://koji.fedoraproject.org/koji/buildinfo?buildID=1013159 If this works, I will push this as update.
Yes, indeed, that works. Thank you, Elliott!
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'.
This is fixed in Fedora 27+; don't know if it needs to be fixed in 26.
Any ETA of when this reaches F27? the latest version is still entrypoints-0.2.3-2.fc27. Thank you.
python-entrypoints-0.2.3-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-13b54a0aba
python-entrypoints-0.2.3-5.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-13b54a0aba
python-entrypoints-0.2.3-5.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.