You should skip the key when invoking rosdep (--skip-keys) and install the package manually via pip.

Note that this is only a problem for Eloquent and older. In Foxy, I converted the package to use pycodestyle directly.

--scott

On Aug 14, 2020 08:44, Robert Kudyba <rkudyba@fordham.edu> wrote:
Fedora 32 replaced python3-pep8 with python3-pycodestyle (see https://bugzilla.redhat.com/show_bug.cgi?id=1839789#c1)  so the following step from (https://index.ros.org//doc/ros2/Installation/Dashing/Linux-Development-Setup/#install-dependencies-using-rosdep) Install dependencies using rosdep fails:

rosdep install --from-paths src --ignore-src --rosdistro dashing -y --skip-keys "console_bridge fastcdr fastrtps libopensplice67 libopensplice69 rti-connext-dds-5.3.1 urdfdom_headers"
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
ament_pep8: No definition of [python3-pep8] for OS version [32]
I tried to install the Fedora 31 version of python3-pep8 and got more dependency issues:

dnf install https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/31/Everything/armhfp/os/Packages/p/python3-pep8-1.7.1-4.fc31.noarch.rpm
Last metadata expiration check: 1:16:46 ago on Thu 13 Aug 2020 11:52:19 AM EDT.
python3-pep8-1.7.1-4.fc31.noarch.rpm                                                             426 kB/s |  63 kB     00:00
Error:
 Problem: conflicting requests
  - nothing provides python(abi) = 3.7 needed by python3-pep8-1.7.1-4.fc31.noarch
  - nothing provides python3.7dist(setuptools) needed by python3-pep8-1.7.1-4.fc31.noarch
(try to add '--skip-broken' to skip uninstallable packages)

Any work-around available?