-
-
Notifications
You must be signed in to change notification settings - Fork 660
bump prompt_toolkit/version_requirements.txt, more spkg-configures #38212
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
bump prompt_toolkit/version_requirements.txt, more spkg-configures #38212
Conversation
in particular the bump is needed to prevent DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop() as in sagemath#37539
Documentation preview for this PR (built with commit ad1cd78; changes) is ready! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Best to add a comment to the file that explains the lower version bound. |
Yes, that is documented recommendation: https://deploy-livedoc--sagemath.netlify.app/html/en/developer/packaging#abstract-requirements-the-version-requirements-txt-file |
it's easy to find: do actually all the info is in the commit message |
@@ -1 +1 @@ | |||
prompt_toolkit >=3.0.38 | |||
prompt_toolkit >=3.0.43 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prompt_toolkit >=3.0.43 | |
# Fedora 40 has an issue with lower version. See #38212. | |
prompt_toolkit >=3.0.43 |
for future maintainer?
This change is useful but actually this warning existed for me in Fedora 39, I do not remember exactly when it disappear but it does not appear for me in Fedora 40. |
I got a warning since I used a system version (using |
sagemathgh-38212: bump prompt_toolkit/version_requirements.txt, more spkg-configures in particular the bump is needed to prevent `DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop()` as in sagemath#37539 On Fedora 40 using old prompt_toolkit from the system not only produces warnings, it hangs `make test` <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x ] The title is concise and informative. - [x ] The description explains in detail what this PR is about. - [x ] I have linked a relevant issue or discussion. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#38212 Reported by: Dima Pasechnik Reviewer(s): Kwankyu Lee
sagemathgh-38212: bump prompt_toolkit/version_requirements.txt, more spkg-configures in particular the bump is needed to prevent `DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop()` as in sagemath#37539 On Fedora 40 using old prompt_toolkit from the system not only produces warnings, it hangs `make test` <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes sagemath#12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes sagemath#12345". --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x ] The title is concise and informative. - [x ] The description explains in detail what this PR is about. - [x ] I have linked a relevant issue or discussion. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#38212 Reported by: Dima Pasechnik Reviewer(s): Kwankyu Lee
in particular the bump is needed to prevent
DeprecationWarning: There is no current event loop loop = asyncio.get_event_loop()
as in #37539
On Fedora 40 using old prompt_toolkit from the system not only produces warnings, it hangs
make test
📝 Checklist
⌛ Dependencies