Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: in-repo plugin requirements.txt not loading (Cherry-pick of #20355) #20381

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

WorkerPants
Copy link
Member

This fixes the change that was introduced on #19406: Due to the fact sys.path was not yet altered, _collect_backends_requirements fails to load in-repo plugins, thus ignoring the requirements.txt file.

This fixes the change that was introduced on #19406: Due to the fact
sys.path was not yet altered, `_collect_backends_requirements` fails to
load in-repo plugins, thus ignoring the requirements.txt file.

---------

Co-authored-by: Idan Attias <[email protected]>
@kaos kaos added the category:bugfix Bug fixes for released features label Jan 9, 2024
@huonw huonw added this to the 2.19.x milestone Jan 9, 2024
@huonw
Copy link
Contributor

huonw commented Jan 9, 2024

It looks like feature was released with this issue in 2.18.0. We're very close to 2.19.0, and it'd be good to finalise the branch, and existing bugs like this don't seem important enough to be worth delaying (whereas a regression from 2.18 to 2.19 would be worth delaying).

As such, I'm suggesting we hold off on merging this until 2.19.1 (which we can do fairly soon after 2.19.0), and will mark it as a draft to match.

Let me know if you disagree, and we can discuss.

@huonw huonw marked this pull request as draft January 9, 2024 21:04
@huonw
Copy link
Contributor

huonw commented Jan 9, 2024

FYI @idan-at @kaos

(Thanks for doing this fix, of course!)

@kaos
Copy link
Member

kaos commented Jan 10, 2024

@huonw yea thanks, totally agree.

@idan-at
Copy link
Contributor

idan-at commented Jan 28, 2024

@huonw Just making sure we're not forgetting about this one :)

@kaos kaos marked this pull request as ready for review January 29, 2024 09:32
@kaos
Copy link
Member

kaos commented Jan 29, 2024

2.19.0 is out.

@kaos kaos merged commit fca2acb into 2.19.x Jan 29, 2024
24 checks passed
@kaos kaos deleted the cherry-pick-20355-to-2.19.x branch January 29, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:bugfix Bug fixes for released features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants