Skip to content

Conversation

dcoudert
Copy link
Contributor

@dcoudert dcoudert commented Jul 5, 2023

Part of #35902.

📚 Description

We add parameter key to methods multiple_edges and edge_boundary. This is useful when users manipulate graphs with edges of incomparable types.

On the way, we avoid some calls to multiple_edges with sort=True in method is_tree.

📝 Checklist

  • The title is concise, informative, and self-explanatory.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation accordingly.

⌛ Dependencies

@dcoudert dcoudert self-assigned this Jul 5, 2023
@dcoudert dcoudert requested a review from videlec July 12, 2023 13:56
@dcoudert dcoudert requested a review from dimpase July 19, 2023 16:21
@dcoudert
Copy link
Contributor Author

Thank you.

@vbraun
Copy link
Member

vbraun commented Jul 21, 2023

Merge conflict

@dcoudert
Copy link
Contributor Author

I don't see any conflict with 10.1.beta7, so I set this ticket back to positive review.

@dimpase
Copy link
Member

dimpase commented Jul 22, 2023

I'd suggest to rebase over beta7, just to be sure

@dcoudert
Copy link
Contributor Author

It's what I did using the button on the GitHub interface.

@vbraun
Copy link
Member

vbraun commented Jul 23, 2023

please wait for the next beta

@dcoudert
Copy link
Contributor Author

I fixed the merge conflicts. Let me know if I can set back to positive.

Note that the bot reports many doctests errors that are not related to this ticket. I observe the same errors in unrelated tickets like #35981, #35982.

@github-actions
Copy link

github-actions bot commented Aug 6, 2023

Documentation preview for this PR (built with commit ee2084f; changes) is ready! 🎉

@dcoudert
Copy link
Contributor Author

dcoudert commented Aug 6, 2023

The failing doctests are independent from this PR. One of them is fixed in #36040.

I'm setting this PR back to positive review.

vbraun pushed a commit to vbraun/sage that referenced this pull request Aug 11, 2023
sagemathgh-35903: Add parameter key to methods multiple_edges and edge_boundary
    
Part of sagemath#35902.

### 📚 Description

We add parameter `key` to methods `multiple_edges` and `edge_boundary`.
This is useful when users manipulate graphs with edges of incomparable
types.

On the way, we avoid some calls to `multiple_edges` with `sort=True` in
method `is_tree`.

### 📝 Checklist

<!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x
]`. -->

- [x] The title is concise, informative, and self-explanatory.
- [x] The description explains in detail what this PR is about.
- [x] I have linked a relevant issue or discussion.
- [x] I have created tests covering the changes.
- [x] I have updated the documentation accordingly.

### ⌛ Dependencies

<!-- List all open PRs that this PR logically depends on
- sagemath#12345: short description why this is a dependency
- sagemath#34567: ...
-->

<!-- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->
    
URL: sagemath#35903
Reported by: David Coudert
Reviewer(s): Dima Pasechnik
@vbraun vbraun merged commit c0b1683 into sagemath:develop Aug 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants