Skip to content

Replace (unmaintained) orderedset with ordered_set#1020

Open
rolandmas wants to merge 1 commit intocctbx:masterfrom
rolandmas:switch-to-ordered_set
Open

Replace (unmaintained) orderedset with ordered_set#1020
rolandmas wants to merge 1 commit intocctbx:masterfrom
rolandmas:switch-to-ordered_set

Conversation

@rolandmas
Copy link
Copy Markdown

Hi, it seems that the orderedset module is abandoned by its author, and it started failing; in particular with Python 3.13 as discovered in Debian, but see also simonpercivall/orderedset#36

There's an API-compatible replacement called ordered_set, see https://github.com/rspeer/ordered-set

This patch replaces the one with the other. It's already been used as part of the Debian packaging of cctbx with no influence on the build or the testsuite. I suggest applying it to upstream cctbx.

@bkpoon bkpoon requested a review from phyy-nx September 27, 2024 17:30
@bkpoon
Copy link
Copy Markdown
Member

bkpoon commented Sep 27, 2024

The libtbx changes are fine. Those are either deprecated or for building other things. I added reviewers for the xfel stuff.

@olegsobolev
Copy link
Copy Markdown
Contributor

Maybe libtbx/containers.py can cover the functionality, and there won't be a need for just another dependency? Or should we consider removing cctbx implementation for the sake of consistency?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants