Upgrade pypi packages to the lastest version#41926
Conversation
|
Documentation preview for this PR (built with commit 5716efd; changes) is ready! 🎉 |
|
many sage-the-distro packages seems unmaintenence for a while. |
|
bs4 needs typing_extension for all python3, so typing_extension is standard for all python |
…version_requirements.txt (#17) * Initial plan * Fix bootstrap installation issues - Remove exceptiongroup from hypothesis dependencies (built into Python 3.11+) - Add meson to bootstrap package list to generate version_requirements.txt Agent-Logs-Url: https://github.com/cxzhong/sage/sessions/32dbf026-e8eb-426c-aad0-c23f2cbf31a0 Co-authored-by: cxzhong <14092175+cxzhong@users.noreply.github.com> --------- Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com> Co-authored-by: cxzhong <14092175+cxzhong@users.noreply.github.com>
|
The fails caused by mpmath 1.4.1 deprecation warnings. It almostly good now |
Add warning filters for deprecated functions in mpmath and pyparsing
|
This is ready for review now. |
|
I could review all packages that are straightforward updates, i.e., with changes only to:
The rest would be too hard for me to properly check. |
Thank you. and there are also some typos, some dependencies relations change. since 2024, I think the sage-the-distro is not well maintained. And some packages are very old. |
There was a problem hiding this comment.
because now, beautifulsoup4 is a standard package which will rely typing_extension for all python version. so we must install typing_extension for all python versions.
There was a problem hiding this comment.
why? on Gentoo I use system python with system typing_extensions. Why would I all of a sudden need to install it? It's already there.
and beautifulsoup4, too.
There was a problem hiding this comment.
The sage-the-distro pypi packages need to be self-contained. And now for python>=3.12, actually we do not install typing_extension. but beatifulsoup4 needs typing_extension for all python version in their pyproject.toml. and the spkg-configure is used to do not install typing_extension when python>=3.11. But now we need it for all python version, I think this file is useless
There was a problem hiding this comment.
the clean way out here would be to use the same set-up as for the rust-dependent packages. But OK, it can wait
|
maybe I will try to edit sagelib dependency file for this and #41120 |
|
because they both try to edit the sagelib/dependency file |
|
Most likely, this broke |
|
You just revert the commits of this PR to check? Can you reproduce how this breaks? |
|
Unfortunately, this won't work. I downgraded to sage 10.8, but Ipython will stay the same: |
|
I found a hack: This works and shows that it is indeed a regression. |
|
please run |
Can you describe the detail of regression? Thank you. |
|
It seems ipython's upgrade break this |
|
The tab-completion in sage-shell-mode swallows the first letter of many (but not all) candidate completions. |
|
OK, I will find the root cause and fix this |
|
Observe: IPython 9.x changed |
|
It seems this part is also not maintained. Thank you for your report. IPython 9.0 changed this API |
Wow, that was quick! The following seems to work! |

Some pypi packages are not well maintained from 2024. I have upload them once. and I have fixed some typos. and delete some packages does not fit python3.12+
📝 Checklist
⌛ Dependencies