Re: Macro to smoke-test-import a Python module in %check

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 14, 2021 at 07:27:52PM +0200, Miro Hrončok wrote:
> On 08. 07. 21 16:48, Miro Hrončok wrote:
> > On 29. 06. 21 8:28, Felix Schwarz wrote:
> > > 
> > > Am 28.06.21 um 21:44 schrieb Miro Hrončok:
> > > > The semantics is quite simple:
> > > > 
> > > > 
> > > >      %check
> > > >      %py3_check_import mymodule mymodule.submodule
> > > 
> > > Looks great! Thank you.
> > > 
> > > Please let us know when we should start adding that to our Python packages. :-)
> > 
> > Feel free to test it out in rawhide.
> > 
> > If there is no more feedback, I'll initiate the backports next week.
> 
<snip>
> 
> EPEL 8: https://src.fedoraproject.org/rpms/epel-rpm-macros/pull-request/31
> 
> EPEL 7: https://src.fedoraproject.org/rpms/epel-rpm-macros/pull-request/32
> 
Tested the EPEL updates:
EPEL 8 - https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-dfd462a782
EPEL 7 - https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2021-e3b1cc2b6e

with this `python-dialog` PR:
https://src.fedoraproject.org/rpms/python-dialog/pull-request/1

Works fine. If someone wants to help test, the needed `epel-rpm-macros`
is in buildroot override, and here's a good way to find EPEL specs that
do not have checks yet:

   wget -cN https://src.fedoraproject.org/lookaside/rpm-specs-latest.tar.xz
   tar xf rpm-specs-latest.tar.xz
   cd rpm-specs
   grep -l epel $(grep -L '%check' python*.spec)

currently resulting in:

python-bitarray.spec
python-dialog.spec
python-docker.spec
python-epel-rpm-macros.spec
python-fedora.spec
python-flask-login.spec
python-graphitesend.spec
python-pretend.spec
python-progress.spec
python-pvc.spec
python-pysb.spec
python-pyvirtualize.spec
python-qt5.spec
python-requests-oauthlib.spec
python-sphinx-bootstrap-theme.spec
python-sphinx_lv2_theme.spec
python-stuf.spec
python-unidecode.spec
python-urlobject.spec
python-vevents.spec
python-vpoller.spec
python-wrapt.spec
python-wtforms.spec
python-xcffib.spec

Best regards,

-- 
Michel Alexandre Salim
profile: https://keyoxide.org/michel@xxxxxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature

_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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.fedoraproject.org/archives/list/epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux