Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add rustworkx backend #111

Merged
merged 27 commits into from
Mar 11, 2024
Merged

Add rustworkx backend #111

merged 27 commits into from
Mar 11, 2024

Conversation

RMeli
Copy link
Owner

@RMeli RMeli commented Mar 7, 2024

Description

Close #69

Checklist

  • Tests
  • Documentation
  • Changelog

Jnelen and others added 10 commits February 29, 2024 21:32
I also made a fuction to see the available backends and get the current backend
This commit contains the suggested changes regarding making the available_backends variable private, and refactoring the get_available_backends method to available_backends

Co-authored-by: Rocco Meli <[email protected]>
print warning when a certain backend isn't installed
add __all__ back
refactor _alias_backendDict to _alias_to_backend
Co-authored-by: Rocco Meli <[email protected]>
remove __all__ assignment
@RMeli RMeli self-assigned this Mar 7, 2024
@RMeli RMeli marked this pull request as draft March 7, 2024 21:13
Copy link

codecov bot commented Mar 7, 2024

Codecov Report

Merging #111 (5f90f9a) into develop (fbff4a3) will increase coverage by 0.10%.
The diff coverage is 100.00%.

Additional details and impacted files

@RMeli RMeli marked this pull request as ready for review March 7, 2024 22:52
tests/test_molecule.py Outdated Show resolved Hide resolved
@RMeli RMeli merged commit f250c3e into develop Mar 11, 2024
87 checks passed
@RMeli RMeli deleted the rx branch March 11, 2024 22:41
RMeli added a commit that referenced this pull request Apr 5, 2024
* add details on NotImplementedError exceptions

* changelog

* remove versioneer

* changelog

* fix warning

* fix tests with pytest 8

* update changelog

* update ci

* add setuptools for python 12

* setuptools in ci

* use miniconda, conda is missing from macos-14

* miniforge

* fixes

* mamba

* bump min python version

* update changelog

* Update build system to flit_core

* Add entry to changelog

* Update CHANGELOG.md

* Delete .gitattributes

* Delete .lgtm.yml

* Update CHANGELOG.md

* Add functionality to select backend (#107)

* Documentation and CLI for backend selection (#112)

* Add rustworkx backend (#111)

* Update graph.py to support set_backend function
I also made a fuction to see the available backends and get the current backend

* Apply private _available_backends suggestions from code review

This commit contains the suggested changes regarding making the available_backends variable private, and refactoring the get_available_backends method to available_backends

Co-authored-by: Rocco Meli <[email protected]>

* Print warning when backend is already set + make sure we use _available_backends everywhere where possible

* remove reliance on environment variables

* make _validate_backend function
print warning when a certain backend isn't installed

* Use precommit hooks
add __all__ back
refactor _alias_backendDict to _alias_to_backend

* Update ValueError message

Co-authored-by: Rocco Meli <[email protected]>

* Don't return the backend when setting it

Co-authored-by: Rocco Meli <[email protected]>

* Add dummy function to make mypy happy
remove __all__ assignment

* fist play with rustworkx backend

* add documentation for backend selection

* add cli backend selection

* cleanup

* changelog

* apply @Jnelen suggestion and add warning filter

* make molecule test also more robust

* add rx to ci

* add rustworkx to all backends tests

* add back graphtool

* add rx to test all backends and add verbose mode

* Update test_molecule.py

---------

Co-authored-by: jnelen <[email protected]>
Co-authored-by: Jochem Nelen <[email protected]>

* Update .readthedocs.yml (#114)

* Update .readthedocs.yml

* rm duplicate key

* prepare release 0.7.0

---------

Co-authored-by: Thomas Kluyver <[email protected]>
Co-authored-by: Jochem Nelen <[email protected]>
Co-authored-by: jnelen <[email protected]>
@RMeli RMeli mentioned this pull request Apr 7, 2024
2 tasks
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.

Add support for rustworkx as backend
2 participants