#2277 Python2 exception for dxf2gcode
Closed: Invalid 4 years ago by churchyard. Opened 4 years ago by dwrobel.

This is an exception request for dxf2gcode which is a purely python3 based application and as such doesn't require any python2 dependencies (more details can be found in an e-mail attached below and in https://bugzilla.redhat.com/show_bug.cgi?id=1728273).

So far, I contacted Miro Hrončok and Petr Viktorin via e-mail and receive information that dxf2gcode will need to be manually blacklisted but I still see dxf2gcode in the list of packages to be removed from Fedora32, so I'm opening this issue.

Miro's reply:
---- On Thu, 07 Nov 2019 23:59:54 +0100 Miro Hrončok mhroncok@redhat.com wrote ----
On 07. 11. 19 22:50, Damian Wrobel wrote:

Hi,

dwrobel
dxf2gcode
(BuildRequires: python2-qt5-base → PY2)

If you find a bogus dependency, such as a dependency that can be
resolved in a non-Python 2 way, please let us know, so we can blacklist it.

dxf2gcode is a purely python3 based application and the spec file itself doesn't require
any python2 dependencies. So IMHO there is no reason to remove that package from fedora.

I checked the build.log from the latest release[1]:

$ curl -s https://kojipkgs.fedoraproject.org//packages/dxf2gcode/20191025/1.fc32/data/logs/noarch/root.log | grep python2
$

and couldn't find any python2 related package being installed. The same might be observed when you try to install it (I verified it on the
rawhide based docker image).

Could you please double check how python2-qt5-base appeared as the BR and if it's false positive consider not to remove the dxf2gcode?

[1] https://koji.fedoraproject.org/koji/rpminfo?rpmID=19434424

I believe we've already dealt with this issue this once before:

$ repoquery --repo=rawhide{,-source} --whatrequires python2-qt5-base | grep dxf
dxf2gcode-0:20191025-1.fc32.src

$ repoquery --repo=rawhide-source --requires dxf2gcode
...
/usr/bin/pyuic5
...

$ repoquery --repo=rawhide -f /usr/bin/pyuic5
python2-qt5-base-0:5.13.2-1.fc32.i686
python2-qt5-base-0:5.13.2-1.fc32.x86_64
python3-qt5-base-0:5.13.2-1.fc32.i686
python3-qt5-base-0:5.13.2-1.fc32.x86_6

Petr, we need to manually blacklist dxf2gcode.

--
Miro Hrončok


I only blacklisted it wrong from the report. Sorry about that, Ive blacklisted it from the wrong list.

It won't be removed. The list only contains it in the BuildRequires section and we will let the FTBFS policy handle those cases. Since dxf2gcode will still build, you will not be affected.

In the latest report, there are 2 extra lists: Packages to retire and Subpackages to drop. dxf2gcode is in neither of them.

Metadata Update from @churchyard:
- Issue close_status updated to: Invalid
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata