Skip to content

Commit 507df04

Browse files
authored
Release 0.1.11 (#81)
1 parent e9a5fb1 commit 507df04

File tree

219 files changed

+3978
-581
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+3978
-581
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
matrix:
1616
os: [ubuntu-latest]
17-
python-version: ["3.10","3.12"]
17+
python-version: ["3.11","3.12","3.13"]
1818
environment: ci
1919
steps:
2020
- uses: actions/checkout@v4

.github/workflows/install_pyscf.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ pip install pytest-cov
77
pip install numpy
88
pip install scipy
99
pip install h5py
10-
pip install 'jaxlib==0.4.35'
11-
pip install 'jax==0.4.35'
12-
pip install 'pyscf>=2.3'
10+
pip install 'jaxlib==0.7.0'
11+
pip install 'jax==0.7.0'
12+
pip install 'pyscf==2.10.0'

.github/workflows/publish_cuda_plugin.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ jobs:
3030
/opt/python/cp311-cp311/bin/pip install --upgrade pip setuptools wheel auditwheel && \
3131
ln -s /opt/python/cp311-cp311/bin/python3 /usr/local/bin/python3 && \
3232
cd pyscfadlib && \
33-
python3 build/build.py build --python_version=3.10 && \
3433
python3 build/build.py build --python_version=3.11 && \
3534
python3 build/build.py build --python_version=3.12 && \
3635
python3 build/build.py build --python_version=3.13 && \
@@ -54,7 +53,6 @@ jobs:
5453
/opt/python/cp311-cp311/bin/pip install --upgrade pip setuptools wheel auditwheel && \
5554
ln -s /opt/python/cp311-cp311/bin/python3 /usr/local/bin/python3 && \
5655
cd pyscfadlib && \
57-
python3 build/build.py build --python_version=3.10 --target_cpu=aarch64 && \
5856
python3 build/build.py build --python_version=3.11 --target_cpu=aarch64 && \
5957
python3 build/build.py build --python_version=3.12 --target_cpu=aarch64 && \
6058
python3 build/build.py build --python_version=3.13 --target_cpu=aarch64 && \

.github/workflows/run_test.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,16 @@ coverage erase
99

1010
MODULES=("scipy" "gto" "scf" "dft" "cc" "fci" "gw" "mp" "tdscf" "lo" "pbc")
1111

12+
FAILED=0
13+
1214
for mod in "${MODULES[@]}"; do
13-
pytest "./pyscfad/$mod" --cov=pyscfad --cov-report=xml --verbosity=1 --durations=5 --cov-append
15+
pytest "./pyscfad/$mod" --cov=pyscfad --cov-report=xml --verbosity=1 --durations=5 --cov-append || FAILED=1
1416
done
1517

1618
#coverage report -m
1719
coverage xml
20+
21+
if [ "$FAILED" -ne 0 ]; then
22+
echo "One or more test modules failed."
23+
exit 1
24+
fi

.pylintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ disable=abstract-method,
163163
consider-using-in,
164164
invalid-unary-operand-type,
165165
unnecessary-lambda-assignment,
166+
unbalanced-tuple-unpacking,
166167

167168

168169
[REPORTS]

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Change log
22

3+
## pyscfad 0.1.11 (August 13, 2025)
4+
5+
* Changes
6+
* Drop support to Python 3.10.
7+
* Updata for compatibility with pyscf 2.10.
8+
* Updata for compatibility with jax 0.7.
9+
* Add int3c2e auxiliary basis response.
10+
* Update rcut estimation for lattice sum.
11+
12+
* Bug fixes
13+
* Fix optimized DF-CCSD(T)
14+
* Fix implicit differentiation for PBC methods
15+
316
## pyscfad 0.1.10 (April 12, 2025)
417

518
* Changes

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ The dependent C library `pyscfadlib` can be compiled from source following the i
3535
`pyscfad` depends on
3636
`numpy`, `scipy`,
3737
`pyscf>=2.3.0`,
38-
`pyscfadlib>=0.1.4`, and
39-
`jax==0.4.35`.
38+
`pyscfadlib>=0.1.11`, and
39+
`jax==0.7.0`.
4040

4141
Citing PySCFAD
4242
--------------

pyscfad/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2021-2025 Xing Zhang
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
"""
216
PySCF with auto-differentiation
317
"""

pyscfad/_src/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright 2021-2025 Xing Zhang
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+

pyscfad/_src/_config.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2021-2025 Xing Zhang
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
115
class _Config:
216
def __init__(self):
317
self.values = {}

0 commit comments

Comments
 (0)