basically if you want this to make it work for python3-XXX then you need to
do something like
%package -n python3-%{pypi_name}
Summary: %{summary}
it is also a good idea to add `BuildRequires: python3-devel` as build
dependency for generating the metadata
Jiri Kyjovsky
Associate Software Engineer, CPT
Red Hat
Brno, Czech Republic
On Wed, Nov 26, 2025 at 2:51 PM Jiri Kyjovsky <[email protected]> wrote:
> Hi Ian,
>
> I can see the package for installation:
>
> ```
> [jkyjovsk@fedora ansible] (main) [SIGINT]$ podman run -ti fedora:43 bash
> bash-5.3# dnf copr enable ipilcher/grip
> https://copr.fedorainfracloud.org/api_3/rpmrepo/ipilcher/grip/fedora-43/
>
> 100% | 633.0 B/s | 228.0 B | 00m00s
> Enabling a Copr repository. Please note that this repository is not part
> of the main distribution, and quality may vary.
>
> The Fedora Project does not exercise any power over the contents of
> this repository beyond the rules outlined in the Copr FAQ at
> <
> https://docs.pagure.org/copr.copr/user_documentation.html#what-i-can-build-in-copr
> >,
> and packages are not held to any quality or security level.
>
> Please do not file bug reports about these packages in Fedora
> Bugzilla. In case of problems, contact the owner of this repository.
> Is this ok [y/N]: y
> bash-5.3# dnf install python-grip
> Updating and loading repositories:
> Copr repo for grip owned by ipilcher
>
> 100% | 2.6 KiB/s | 2.7 KiB | 00m01s
> Fedora 43 openh264 (From Cisco) - x86_64
>
> 100% | 2.8 KiB/s | 5.8 KiB | 00m02s
> Fedora 43 - x86_64
>
> 100% | 5.7 MiB/s | 35.4 MiB | 00m06s
> Fedora 43 - x86_64 - Updates
>
> 100% | 1.1 MiB/s | 5.7 MiB | 00m05s
> Repositories loaded.
> Package Arch
> Version Repository
> Size
> Installing:
> python3-grip noarch
> 4.6.2-1.fc43
> copr:copr.fedorainfracloud.org:ipilcher:grip 334.7 KiB
> Installing dependencies:
> expat x86_64
> 2.7.2-1.fc43 fedora
> 298.6 KiB
> mpdecimal x86_64
> 4.0.1-2.fc43 fedora
> 217.2 KiB
> python-pip-wheel noarch
> 25.1.1-18.fc43 fedora
> 1.2 MiB
> python3 x86_64
> 3.14.0-2.fc43 updates
> 28.9 KiB
> python3-blinker noarch
> 1.9.0-7.fc43 fedora
> 81.9 KiB
> python3-charset-normalizer noarch
> 3.4.3-3.fc43 fedora
> 355.7 KiB
> python3-click noarch
> 1:8.1.7-11.fc43 fedora
> 1.2 MiB
> python3-docopt noarch
> 1:0.6.2-8.fc43 fedora
> 121.3 KiB
> python3-flask noarch
> 1:3.1.2-3.fc43 fedora
> 931.2 KiB
> python3-idna noarch
> 3.10-6.fc43 fedora
> 730.6 KiB
> python3-itsdangerous noarch
> 2.2.0-6.fc43 fedora
> 109.0 KiB
> python3-jinja2 noarch
> 3.1.6-6.fc43 fedora
> 3.1 MiB
> python3-libs x86_64
> 3.14.0-2.fc43 updates
> 43.0 MiB
> python3-markdown noarch
> 3.10-1.fc43 updates
> 757.0 KiB
> python3-markupsafe x86_64
> 3.0.2-6.fc43 fedora
> 61.5 KiB
> python3-path-and-address noarch
> 2.0.1-6.fc43 fedora
> 11.2 KiB
> python3-pygments noarch
> 2.19.1-6.fc43 fedora
> 11.3 MiB
> python3-pysocks noarch
> 1.7.1-31.fc43 fedora
> 102.0 KiB
> python3-requests noarch
> 2.32.5-2.fc43 fedora
> 476.9 KiB
> python3-urllib3 noarch
> 2.5.0-3.fc43 fedora
> 1.1 MiB
> python3-werkzeug noarch
> 3.1.3-7.fc43 fedora
> 2.0 MiB
> Installing weak dependencies:
> python-unversioned-command noarch
> 3.14.0-2.fc43 updates
> 23.0 B
> python3-urllib3+socks noarch
> 2.5.0-3.fc43 fedora
> 7.5 KiB
>
> Transaction Summary:
> Installing: 24 packages
>
> Total size of inbound packages is 17 MiB. Need to download 17 MiB.
> After this operation, 67 MiB extra will be used (install 67 MiB, remove 0
> B).
> Is this ok [y/N]: ^Cbash-5.3# ^C
> bash-5.3#
> ```
>
> the problem is that you are basically providing only python-grip for your
> package (`Name: python-%{pypi_name}`) - try to install it without the `3`
>
> ---
>
> Jiri Kyjovsky
> Associate Software Engineer, CPT
> Red Hat
> Brno, Czech Republic
>
>
> On Wed, Nov 26, 2025 at 2:33 AM Ian Pilcher via copr-devel <
> [email protected]> wrote:
>
>> This is bizarre.
>>
>> I just built a package in COPR:
>>
>> https://copr.fedorainfracloud.org/coprs/ipilcher/grip/
>>
>> Everything seems OK in the COPR interface, but DNF refuses to install
>> it.
>>
>> # rpm -q python3-grip
>> package python3-grip is not installed
>>
>> # rpm -q --whatprovides python3-grip
>> no package provides python3-grip
>>
>> # dnf info python3-grip
>> Updating and loading repositories:
>> Repositories loaded.
>> Available packages
>> Name : python3-grip
>> Epoch : 0
>> Version : 4.6.2
>> Release : 1.fc43
>> Architecture : noarch
>> Download size : 144.4 KiB
>> Installed size : 334.7 KiB
>> Source : python-grip-4.6.2-1.fc43.src.rpm
>> Repository : copr:copr.fedorainfracloud.org:ipilcher:grip
>> Summary : Render local readme files before sending off to GitHub
>> URL : https://github.com/joeyespo/grip
>> License : MIT
>> Description : Grip is a command-line server application written in
>> Python that uses the GitHub
>> : markdown API to render a local readme file. The styles
>> and rendering come
>> : directly from GitHub, so you'll know exactly how it
>> will appear. Changes you
>> : make to the Readme will be instantly reflected in the
>> browser without requiring
>> : a page refresh.
>> Vendor : Fedora Copr - user ipilcher
>>
>> # dnf install python3-grip
>> Updating and loading repositories:
>> Repositories loaded.
>> Nothing to do.
>>
>> # dnf download python3-grip
>> Updating and loading repositories:
>> Repositories loaded.
>> Downloading Packages:
>> python3-grip-0:4.6.2-1.fc43.noarch 100% | 1.8 MiB/s
>> | 144.4 KiB | 00m00s
>>
>> # dnf install python3-grip-0:4.6.2-1.fc43.noarch
>> Updating and loading repositories:
>> Repositories loaded.
>> Package Arch Version Repository
>> Size
>> Installing:
>> python3-grip noarch 4.6.2-1.fc43
>> copr:copr.fedorainf 334.7 KiB
>> Installing dependencies:
>> python3-path-and-address noarch 2.0.1-6.fc43 fedora
>> 11.2 KiB
>>
>> Transaction Summary:
>> Installing: 2 packages
>>
>> Total size of inbound packages is 160 KiB. Need to download 160 KiB.
>> After this operation, 346 KiB extra will be used (install 346 KiB,
>> remove 0 B).
>> Is this ok [y/N]:
>>
>> What in the actual world?! DNF can see the package, and download the
>> package, and install the package locally, but it refuses to install it
>> directly from the COPR repo.
>>
>> Anyone have any idea what could cause this?
>>
>> --
>> ========================================================================
>> If your user interface is intuitive in retrospect ... it isn't intuitive
>> ========================================================================
>>
>> --
>> _______________________________________________
>> copr-devel mailing list -- [email protected]
>> To unsubscribe send an email to [email protected]
>> Fedora Code of Conduct:
>> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
>> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
>> List Archives:
>> https://lists.fedorahosted.org/archives/list/[email protected]
>> Do not reply to spam, report it:
>> https://pagure.io/fedora-infrastructure/new_issue
>>
>
--
_______________________________________________
copr-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue