https://bugzilla.redhat.com/show_bug.cgi?id=2115102 --- Comment #27 from Wayne Sun <gsun@xxxxxxxxxx> --- (In reply to Miro Hrončok from comment #26) > > > Every time something like this is necessary it is a really good idea to put > a comment in the spec, so your future self or another future maintainer > knows. > > # If the Polarion server URL is not specified in config some libraries will > # fail to import, so only specify to import the top-level module: > %pyproject_check_import -t > ACK > > Is it possible to exclude the failing libraries with -e instead or would the > list be too long? With -e the line will be: %pyproject_check_import -e pylero.build -e pylero.build_linked_work_item -e pylero.cli.cmd -e pylero.document -e pylero.plan -e pylero.plan_record -e pylero.test_record -e pylero.test_run -e pylero.work_item not that long but better switch lines, how about: %global _pylero_import_exclude %{expand: -e pylero.build -e pylero.build_linked_work_item -e pylero.cli.cmd -e pylero.document -e pylero.plan -e pylero.plan_record -e pylero.test_record -e pylero.test_run -e pylero.work_item } %check %pyproject_check_import %_pylero_import_exclude -- You are receiving this mail because: You are on the CC list for the bug. You are always notified about changes to this product and component https://bugzilla.redhat.com/show_bug.cgi?id=2115102 _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-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/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue