Overview

Request 1097823 accepted

go (forwarded request 1097822 from bnavigator)


Benjamin Greiner's avatar

Requires either a new python-jsonschema417 package https://build.opensuse.org/request/show/1097824 or that python-jsonschema be reverted to <4.18


Benjamin Greiner's avatar

@darix

BuildRequires: %{python_module jsonschema > 2.6 with %python-jsonschema < 4.18}

Is not a typo, it is a correct statement with the way %python_module is defined in the prjconf. It expands to

BuildRequires: (python39-jsonschema > 2.6 with python39-jsonschema < 4.18) (python310-jsonschema > 2.6 with python310-jsonschema < 4.18) (python311-jsonschema > 2.6 with python311-jsonschema < 4.18)

for both:

  • the OBS resolver through %python_module_iter()
  • rpmbuild inside the build environment through %python_module_lua()
Request History
Benjamin Greiner's avatar

bnavigator created request

go (forwarded request 1097822 from bnavigator)


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Saul Goodman's avatar

licensedigger accepted review

ok


Staging Bot's avatar

staging-bot added openSUSE:Factory:Staging:adi:2 as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:2"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:2"


Marcus Rueckert's avatar

darix declined request

mrueckert wrote (1097823),looks like a typo in,,```,+BuildRequires: %{python_module jsonschema > 2.6 with %python-jsonschema < 4.18},```


Ana Guerrero's avatar

anag+factory reopened request

Reopened via staging workflow.


Ana Guerrero's avatar

anag+factory added factory-staging as a reviewer

Being evaluated by group "factory-staging"


Ana Guerrero's avatar

anag+factory accepted review

Unstaged from project "openSUSE:Factory:Staging:adi:2"


Ana Guerrero's avatar

anag+factory declined request

Declined via staging workflow.


Benjamin Greiner's avatar

bnavigator reopened request

@darix: no it is not a typo. This is how it works:

https://github.com/openSUSE/python-rpm-macros#macros

> %{python_module modname args} expands to (-modname args) for every flavor. Intended as: BuildRequires: %{python_module foo >= version}. Supports rpm boolean dependencies. If the package needs a module only for a specific Python version, you can use the special pseudo-macro %python for expansion of the python-flavor within the requirement, e.g. BuildRequires: %{python_module python-aiocontextvars >= 0.2.2 if %python-base < 3.7}. (Don't define %python anywhere else.)


Staging Bot's avatar

staging-bot added as a reviewer

Being evaluated by staging project "openSUSE:Factory:Staging:adi:35"


Staging Bot's avatar

staging-bot accepted review

Picked "openSUSE:Factory:Staging:adi:35"


Marcus Rueckert's avatar

darix accepted review

Accepted review for by_group opensuse-review-team request 1097823 from user staging-bot


Dominique Leuenberger's avatar

dimstar_suse accepted review

Staging Project openSUSE:Factory:Staging:adi:35 got accepted.


Dominique Leuenberger's avatar

dimstar_suse approved review

Staging Project openSUSE:Factory:Staging:adi:35 got accepted.


Dominique Leuenberger's avatar

dimstar_suse accepted request

Staging Project openSUSE:Factory:Staging:adi:35 got accepted.

openSUSE Build Service is sponsored by