Skip to content

Move ulimit workaround into yum reqs func#1961

Open
jakirkham wants to merge 1 commit intoconda-forge:mainfrom
jakirkham:mv_ulimit_yum_gen_func
Open

Move ulimit workaround into yum reqs func#1961
jakirkham wants to merge 1 commit intoconda-forge:mainfrom
jakirkham:mv_ulimit_yum_gen_func

Conversation

@jakirkham
Copy link
Member

@jakirkham jakirkham commented Jun 24, 2024

Moves the ulimit workaround used with yum added in PR ( #1960 ) into the generate_yum_requirements function per this suggestion ( #1960 (comment) ).

In the process this also fixes a formatting issue that occurs when cleaning up blank space with Jinja.


Checklist

  • Added Updated a news entry

@jakirkham
Copy link
Member Author

Testing this out in PR: conda-forge/python-feedstock#691

@jakirkham jakirkham force-pushed the mv_ulimit_yum_gen_func branch from 1765e96 to 29516af Compare June 24, 2024 22:45
@jakirkham jakirkham marked this pull request as ready for review June 24, 2024 22:46
@jakirkham jakirkham requested a review from a team as a code owner June 24, 2024 22:46
Comment on lines +1361 to +1365
# Due to https://bugzilla.redhat.com/show_bug.cgi?id=1537564 old
# versions of rpm are drastically slowed down when the number of
# file descriptors is very high. This can be visible during a
# `yum install` step of a feedstock build.
# => Set a lower limit in a subshell for the `yum install`s only.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's keep this explanation in conda-smithy. No need to propagate it to each and every feedstock.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jakirkham thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants