Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork34k
gh-139801: fix BaseProxy pickling with custom authkey#144311
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
deadlovelll commentedJan 28, 2026 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
I'll be glad to see the feedback! Thanks =) |
picnixz commentedJan 28, 2026 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Well.. one feedback I can give without looking at the PR is that tests should not fail, or you should have an idea why it fails, before requesting a review. We can't make the work of fixing the tests ourselves (otherwise we would have worked on the PR directly). So I suggest that you investigate why the tests fail and at least make sure thatsome tests succeed (at least on Ubuntu). In the meantime, I'm marking this PR as not ready. EDIT: I think you need to tackle a less complex issue. This issue is actually related to security and we prefer core developers making changes to security-related issues (the TypeError in the tests hint that we should not pickle some data). |
deadlovelll commentedJan 28, 2026
Thank you! I'll try not to make same mistakes again |
Uh oh!
There was an error while loading.Please reload this page.
Always save
authkeyinBaseProxy.__reduce__()so proxy created with a custom authkey could be picklable.Fixesgh-139801.