-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release upper version limit on PySCF (#61)
To enable check-pointing of the state of a converged calculation, Sebastiaan rolled some custom serialization with Dill. This worked until some data structures were changed in PySCF around v2.4, breaking this functionality. This forced an upper version limit on PySCF. Recently, in PySCF v2.7, serialization via Pickle is natively supported. This commit removes the upper version constraints on PySCF by making the needed changes to the templates and parser, and regenerating the reference file for the tests. Other versions were also bumped, where appropriate.
- Loading branch information
1 parent
6a99d37
commit b461f27
Showing
21 changed files
with
72 additions
and
111 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ requires = ['flit_core>=3.4,<4'] | |
[project] | ||
authors = [ | ||
{name = 'Sebastiaan P. Huber', email = '[email protected]'}, | ||
{name = 'Adam Grofe', email = '[email protected]'} | ||
{name = 'Adam Grofe', email = '[email protected]'}, | ||
{name = 'Conrad Johnston', email = '[email protected]'} | ||
] | ||
classifiers = [ | ||
'Development Status :: 3 - Alpha', | ||
|
@@ -20,12 +21,11 @@ classifiers = [ | |
'Topic :: Scientific/Engineering' | ||
] | ||
dependencies = [ | ||
'aiida-core[atomic_tools]~=2.5', | ||
'aiida-core[atomic_tools]~=2.6', | ||
'aiida-shell>=0.5.3', | ||
'dill', | ||
'numpy', | ||
'pint', | ||
'pyscf[geomopt]~=2.2,<2.4' | ||
'pyscf[geomopt] ~= 2.7' | ||
] | ||
dynamic = ['description', 'version'] | ||
keywords = ['aiida', 'workflows', 'pyscf'] | ||
|
@@ -45,13 +45,13 @@ requires-python = '>=3.9' | |
|
||
[project.optional-dependencies] | ||
pre-commit = [ | ||
'mypy==1.8.0', | ||
'mypy==1.13.0', | ||
'pre-commit~=2.17' | ||
] | ||
tests = [ | ||
'packaging', | ||
'pgtest~=1.3,>=1.3.1', | ||
'pytest~=7.2', | ||
'pytest~=8.3', | ||
'pytest-regressions' | ||
] | ||
|
||
|
@@ -90,10 +90,10 @@ module = 'aiida_pyscf.*' | |
ignore_missing_imports = true | ||
module = [ | ||
'ase.*', | ||
'dill.*', | ||
'pint.*', | ||
'plumpy.*', | ||
'ruamel.*' | ||
'ruamel.*', | ||
'aiida_shell.*' | ||
] | ||
|
||
[tool.pytest.ini_options] | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.