Use dftkit for DFT converters - #286
Merged
Merged
Conversation
- Use CPM to fetch dftkit for converter functionality - Re-export converters from dftkit for backward compatibility - Update tests to use dftkit reference data - Remove Fortran language requirement (dmftproj now in dftkit) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove dmftproj Fortran component - Remove converter Python modules - Remove converter tests and test data These are now provided by the triqs_dftkit package. Co-Authored-By: Claude <noreply@anthropic.com>
the-hampel
approved these changes
Dec 22, 2025
the-hampel
left a comment
Member
There was a problem hiding this comment.
Hi @Wentzell ,
I think this looks good to me. I tried both the new dftkit repo alone and this branch. I think the changes in the __init__.py module of the converters should make this fully backward compatible. I did not see any missing files or files that did not move. From my side this has green light to merge.
the-hampel
added a commit
that referenced
this pull request
May 26, 2026
…287) After PR #286 moved all converters to triqs_dftkit, the Sphinx build failed because autosummary tried to recursively import the now-missing triqs_dft_tools.converters.* submodules. - Remove `converters` from the recursive autosummary in documentation.rst - Add new converters_reference.rst page linking to dftkit docs with a backward-compatible import table - Add dftkit to intersphinx_mapping so :py:mod:/:py:class: refs resolve - Exclude stale _python_api/triqs_dft_tools.converters* files via exclude_patterns to prevent leftover generated files from re-triggering the import errors on incremental builds - Update :py:mod: cross-references in guide pages to point to the correct triqs_dftkit.* module paths - Fix all converter import statements in guide/tutorial .rst files and .py scripts: replace `from triqs_dft_tools.converters.xxx import *` (submodule no longer exists) with `from triqs_dft_tools.converters import XxxConverter` Closes #287
the-hampel
added a commit
that referenced
this pull request
May 27, 2026
…287) After PR #286 moved all converters to triqs_dftkit, the Sphinx build failed because autosummary tried to recursively import the now-missing triqs_dft_tools.converters.* submodules. - Remove `converters` from the recursive autosummary in documentation.rst - Add new converters_reference.rst page linking to dftkit docs with a backward-compatible import table - Add dftkit to intersphinx_mapping so :py:mod:/:py:class: refs resolve - Exclude stale _python_api/triqs_dft_tools.converters* files via exclude_patterns to prevent leftover generated files from re-triggering the import errors on incremental builds - Update :py:mod: cross-references in guide pages to point to the correct triqs_dftkit.* module paths - Fix all converter import statements in guide/tutorial .rst files and .py scripts: replace `from triqs_dft_tools.converters.xxx import *` (submodule no longer exists) with `from triqs_dft_tools.converters import XxxConverter` Closes #287
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This significantly reduces code duplication and centralizes converter maintenance in triqs_dftkit.
Test plan