spkg bumps for Python 3.14#40892
Conversation
|
Documentation preview for this PR (built with commit eb347d3; changes) is ready! 🎉 |
1d2963e to
b42ce8e
Compare
|
we are not 3.14-compatible yet. |
|
I have to repeat make several times because it stops without an error but there is no package to blame. |
|
Running ./bootstrap produces some complains about dashes and underscore and it seems it affects hatch-vcs |
this is probably because you forgot to merge #40882 (unbreak the current beta) before testing |
|
|
Exactly. Enabling system-packages one can go on. |
|
also names of packages in distro/ for the newly introduced spkgs have to be adjusted. E.g. for gentoo there should be |
|
sage_setup complains about 3.14.0 |
|
The mess with underscores etc is very unpleasant. Sage's spkgs cannot have more than 1 underscore in their names - I've recently seen that with |
|
I missed this; applied. |
diff --git a/build/pkgs/argon2_cffi/dependencies b/build/pkgs/argon2_cffi/dependencies
index 81c83adedaf..8b0d10fd255 100644
--- a/build/pkgs/argon2_cffi/dependencies
+++ b/build/pkgs/argon2_cffi/dependencies
@@ -1,4 +1,4 @@
-argon2_cffi_bindings | $(PYTHON_TOOLCHAIN) flit_core $(PYTHON) hatchling hatch-vcs hatch-fancy-pypi-readme
+argon2_cffi_bindings | $(PYTHON_TOOLCHAIN) flit_core $(PYTHON) hatchling hatch_vcs hatch_readme
----------
All lines of this file are ignored except the first.
diff --git a/build/pkgs/hatch_vcs/dependencies b/build/pkgs/hatch_vcs/dependencies
index 93937564726..210ca14d94e 100644
--- a/build/pkgs/hatch_vcs/dependencies
+++ b/build/pkgs/hatch_vcs/dependencies
@@ -1 +1 @@
-setuptools-scm hatchling | pip $(PYTHON)
+setuptools_scm hatchling | pip $(PYTHON)fixes the bootstrap for me |
|
As I said I bypassed this enabling system-packages but this is useful to avoid the problem, thanks. |
Thanks, and no, we understand what's going on, Basically most of atexit.pyx is already obsolete on Python 3.13, So we should work on refactoring/replacing it, see #40890 for more details |
|
Could you please review this on Python <3.14 ? We need these in anyway. |
|
@enriqueartal and review #40888 too, please |
|
I am testing in Fedora 42 with python 3.13. There is an error with |
|
Besides the above problems, everything works. |
|
OK, indeed, build/pkgs/hatch_readme/distros/ need adjusting. I'll push an update |
|
I've added and corrected data on packages, in particular on Fedora. Can you have another look whether it works with system packages hatch* ? |
|
Do you mean to use enable-system-packages? |
|
yes |
|
perhaps there must be version constraints set, to avoid cryptic errors stemming ftom incompatible packages used |
|
When building Maybe another confusion between _ and -? |
|
On Thu, Oct 02, 2025 at 11:57:55AM -0700, Enrique Manuel Artal Bartolo wrote:
enriqueartal left a comment (sagemath/sage#40892)
When building `ipykernel` it fails:
```
ModuleNotFoundError: No module named 'jupyter_core'
```
Maybe another confusion between _ and -?
please a bit more context, perhaps config.log, to understand where each
affected spkg comes from
|
|
This is config.log and ipykernel-6.27.1.log. I hope it may help. |
this is what I also saw when I tried this with some homebrew Python packages, so this should be fixed by the last commit. |
|
You also need to bump flit_core and info. Because the old flit_core is not fit in Python 3.14 and the old info os not fit for gcc 15. |
flit-core is already bumped here. I'm less worried about info, as a sane system setup will have (tex)info installed, and so it can be used. Also, there is no relation between info and Python, so this should be another PR to make. |
|
Then scipy, ipython, notebook, pip, wheel, pyproject-api, pytest which are important. and we can remove tomli, from python 3.11, we do not need this library. It is a python standard library |
184ad65 to
eb347d3
Compare
sagemathgh-40892: spkg bumps for Python 3.14 needed for building Sage with Python 3.14, as tracked on sagemath#40890 ### 📝 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. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ 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#40892 Reported by: Dima Pasechnik Reviewer(s): Chenxin Zhong
sagemathgh-40892: spkg bumps for Python 3.14 needed for building Sage with Python 3.14, as tracked on sagemath#40890 ### 📝 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. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ 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#40892 Reported by: Dima Pasechnik Reviewer(s): Chenxin Zhong
sagemathgh-40892: spkg bumps for Python 3.14 needed for building Sage with Python 3.14, as tracked on sagemath#40890 ### 📝 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. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ 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#40892 Reported by: Dima Pasechnik Reviewer(s): Chenxin Zhong
sagemathgh-40892: spkg bumps for Python 3.14 needed for building Sage with Python 3.14, as tracked on sagemath#40890 ### 📝 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. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ 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#40892 Reported by: Dima Pasechnik Reviewer(s): Chenxin Zhong
needed for building Sage with Python 3.14, as tracked on #40890
📝 Checklist
⌛ Dependencies