Introduce %pyproject_check_import macro which uses the enhanced %py3_check_import with new options. More info on %pyproject_check_import can be found in README.md.

%py_check_import newly accepts flags (additional to already existing functionality - accepting positional arguments):

  • -f <path_to_file> - file containing the module names to be checked during the import, separated with newlines
  • -t - if set, check only for top-level modules
  • -e <module_name_glob> - exclude module names matching the given glob, can be set multiple times

%pyproject_buildrequires: Accept installed pre-releases for all requirements


Define a new macros %python_wheel_dir and %python_wheel_pkg_prefix

How to install

sudo dnf upgrade --refresh --advisory=FEDORA-2021-d085ce09ef

This update's test gating status has been changed to 'waiting'.

a year ago

This update has obsoleted pyproject-rpm-macros-0-48.fc33, and has inherited its bugs and notes.

a year ago

This update has obsoleted python-rpm-macros-3.9-18.fc33, and has inherited its bugs and notes.

a year ago

This update has been submitted for testing by bodhi.

a year ago

This update's test gating status has been changed to 'ignored'.

a year ago
User Icon churchyard commented & provided feedback a year ago
karma

Tested locally and in mock with the python-packaging package.

Check import: packaging
Check import: packaging.markers
Check import: packaging.requirements
Check import: packaging.specifiers
Check import: packaging.tags
Check import: packaging.utils
Check import: packaging.version

This update has been submitted for stable by bodhi.

a year ago

churchyard edited this update.

a year ago

This update has been submitted for testing by churchyard.

a year ago
User Icon churchyard commented & provided feedback a year ago

Actually, there seem to be a regression, see https://bugzilla.redhat.com/show_bug.cgi?id=2018551 -- I've disabled autopush for now.

This update has been pushed to testing.

a year ago

ksurma edited this update.

New build(s):

  • python-rpm-macros-3.9-20.fc33

Removed build(s):

  • python-rpm-macros-3.9-19.fc33

Karma has been reset.

a year ago

This update has been submitted for testing by ksurma.

a year ago

This update has been pushed to testing.

a year ago
User Icon music commented & provided feedback a year ago
karma

Works great with python-rpm-macros-3.10-20.fc33. Looking forward to seeing this in stable.

BZ#2014639 ocrmypdf: FTBFS in Fedora Rawhide

churchyard edited this update.

a year ago

This update has been submitted for stable by bodhi.

a year ago

This update has been pushed to stable.

a year ago

Please login to add feedback.

Metadata
Type
enhancement
Karma
1
Signed
Content Type
RPM
Test Gating
Settings
Unstable by Karma
-2
Stable by Karma
2
Stable by Time
7 days
Dates
submitted
a year ago
in testing
a year ago
in stable
a year ago
modified
a year ago
BZ#2014639 ocrmypdf: FTBFS in Fedora Rawhide
0
1

Automated Test Results