Bug 2014563

Summary: copr.py - DeprecationWarning + Err. 404
Product: [Fedora] Fedora Reporter: Davide Repetto <red>
Component: dnf-plugins-coreAssignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: daniel.mach, jmracek, mblaha, packaging-team-maint, pkratoch, praiskup, rpm-software-management, vmukhame
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: 2021-10-18 10:33:11 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:

Description Davide Repetto 2021-10-15 14:55:02 UTC
Description of problem:
=======================
[root@dave ~]# dnf copr search vnc4server
/usr/lib/python3.10/site-packages/dnf-plugins/copr.py:433: DeprecationWarning: distro.linux_distribution() is deprecated. It should only be used as a compatibility shim with Python's platform.linux_distribution(). Please use distro.id(), distro.version() and distro.name() instead.
  dist = linux_distribution()

Status code: 404 for https://copr.fedorainfracloud.org/api/coprs/search/vnc4server/ (IP: 3.225.109.36)


Version-Release number of selected component (if applicable):
=============================================================
python3-dnf-plugins-core-4.0.23-1.fc35.noarch

Comment 1 Pavla Kratochvilova 2021-10-18 10:33:11 UTC
The deprecation warning is already reported, so I am closing this as a duplicate.

The 404 seems valid, as there is no vnc4server found in the copr.

*** This bug has been marked as a duplicate of bug 2011550 ***