Hi Lumir,

Hau idatzi du Lumír Balhar (lbal...@redhat.com) erabiltzaileak (2024
api. 4(a), og. (09:57)):
>
> It might look like simple bump but you are upgrading from 4.1.1 to 6.0.0
> and there are some breaking changes between those releases.

By "simple bump" I meant no other changes in the spec. I agree with
you the update  is not that "simple".


> The error message looks like the plugin is loaded twice for some reason
> and the second try to register the same CLI option fails. %pytest macro
> sets PYTHONPATH so it's possible that the plugin is first loaded from
> buildroot and then from the current working directory or vice-versa. I
> also see some settings for pytest in pyproject.toml you might want to
> take a look.

I found how to fix and it's a mix of what you suggest and pytest params.

I had to add "-p no:postgresql" to %pytest to avoid loading the
installed module, but also had to do changes in the pyproject.toml
file.

I documented in the commit I pushed:

https://src.fedoraproject.org/rpms/python-pytest-postgresql/c/4756bd60d23908b86f81ca25d551fa22835c83ac?branch=rawhide

Best regards,
Mikel
--
_______________________________________________
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
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/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to