Add support for Python 3.13 in conda#39189
Conversation
|
Documentation preview for this PR (built with commit c9e4863; changes) is ready! 🎉 |
3fd6590 to
0bb2a1b
Compare
```
In file included from build/cythonized/sage/graphs/base/boost_graph.cpp:1278:
build/cythonized/sage/graphs/base/boost_interface.cpp:119:34: error: non-constant-expression cannot be narrowed from type 'value_type' (aka 'unsigned long') to 'int' in initializer list [-Wc++11-narrowing-const-reference]
119 | to_return.push_back({index[boost::source(*ei, graph)],
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
build/cythonized/sage/graphs/base/boost_graph.cpp:17503:29: note: in instantiation of member function 'BoostGraph<boost::vecS, boost::vecS, boost::directedS, boost::vecS, boost::property<boost::edge_weight_t, double>>::edge_list' requested here
17503 | __pyx_v_edges = __pyx_v_g.edge_list();
^
```
https://clang.llvm.org/docs/DiagnosticsReference.html#wc-11-narrowing-const-reference
To silence the error assign to a v_index outside of the
initializer list.
Comes from the update to gcc14. Fixed in linbox-team/givaro#226, which is in givaro 4.2.1 - already on Conda but until conda-forge/fflas-ffpack-feedstock#21 is fixed it pulls in older givaro. |
|
Tests are mostly green (modulo the what appears to be the common background noise of randomly failing tests), so this is now finally ready for review. |
|
@tobiasdiez can you please update the checklist for this PR? Thanks! |
You mean the one in the PR description? It's mostly there as a reminder for the person opening the PR - but well, I clicked a few checkboxes ;-) |
I thought that was used by folks to review/merge PRs :D |
|
The two failing tests are due to the flaky |
|
ok, these are conda-only changes |
|
Thanks! |
sagemathgh-39189: Add support for Python 3.13 in conda <!-- ^ 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". --> Fixes sagemath#39163 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [ ] 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 - sagemath#38749 - sagemath#39249 <!-- 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#39189 Reported by: Tobias Diez Reviewer(s): Dima Pasechnik
sagemathgh-39189: Add support for Python 3.13 in conda <!-- ^ 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". --> Fixes sagemath#39163 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [ ] 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 - sagemath#38749 - sagemath#39249 <!-- 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#39189 Reported by: Tobias Diez Reviewer(s): Dima Pasechnik
|
You can delete the enviorment-3.10-win.yml. We no longer use it |
Fixes #39163
📝 Checklist
⌛ Dependencies