Hello Pythonistas,

every now and then, I see people need to do:

  %check
  export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
  %pyproject_check_import / %pytest / ...

Or similar.

I wonder if %{py3_test_envvars} should set
  LD_LIBRARY_PATH=${LD_LIBRARY_PATH:-%{buildroot}%{_libdir}}
(as it currently also sets PATH="%{buildroot}%{bindir}:$PATH").

It sounds like a nice improvement to me, but could it break anything?

--
Miro Hrončok
--
Phone: +420777974800

--
_______________________________________________
python-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
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/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to