Skip to content

Commit 2ede303

Browse files
authored
Merge pull request #58 from dftlibs/radovan/v2.1.1
Work towards v2.1.1
2 parents 96a70b9 + 10ac5ec commit 2ede303

15 files changed

Lines changed: 974 additions & 1134 deletions

File tree

File renamed without changes.

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020
- name: Build wheels
2121
uses: messense/maturin-action@v1
2222
with:

.github/workflows/package-pypi.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Package-PyPI
2+
3+
on:
4+
release:
5+
types: [created]
6+
7+
jobs:
8+
build:
9+
permissions: write-all
10+
runs-on: ${{ matrix.os }}
11+
strategy:
12+
matrix:
13+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
14+
os: [ubuntu-latest, macOS-latest, windows-latest]
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
- name: Set up Python ${{ matrix.python-version }}
20+
uses: actions/setup-python@v5
21+
with:
22+
python-version: ${{ matrix.python-version }}
23+
- name: Install Python dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install -r requirements.txt
27+
- name: Build crate
28+
run: cargo build --verbose
29+
- name: Test crate
30+
run: cargo test --verbose
31+
- name: Maturin build and publish
32+
run:
33+
maturin publish --no-sdist -u __token__ -i python
34+
env:
35+
MATURIN_PASSWORD: ${{ secrets.PYPI_TOKEN }}
36+
37+
# notes:
38+
# - for test-pypi: maturin publish --no-sdist -u __token__ -i python -r https://test.pypi.org/legacy/

.github/workflows/package.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
runs-on: ${{ matrix.os }}
1313
strategy:
1414
matrix:
15-
python-version: [3.6, 3.7, 3.8, 3.9]
15+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1616
os: [ubuntu-latest]
1717

1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v2
20+
uses: actions/checkout@v4
2121
- name: Set up Python ${{ matrix.python-version }}
22-
uses: actions/setup-python@v1
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525
- name: Build crate
Lines changed: 20 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
1+
# Changelog
12

23

3-
Changelog
4-
=========
4+
## Version 2.1.1
55

6+
Released on 2021-07-31.
67

7-
Version 2.1.0
8-
-------------
8+
- Package for Python 3.10, 3.11, and 3.12.
9+
- Updated dependencies and workflows.
10+
11+
12+
## Version 2.1.0
913

1014
Released on 2021-05-27.
1115

@@ -15,26 +19,23 @@ Released on 2021-05-27.
1519
(`radial_grid_lmg_bse`).
1620

1721

18-
Version 2.0.2
19-
-------------
22+
## Version 2.0.2
2023

2124
Released on 2021-05-23.
2225

2326
- Better error message for invalid inputs to angular_grid.
2427
- Improve package metadata.
2528

2629

27-
Version 2.0.1
28-
-------------
30+
## Version 2.0.1
2931

3032
Released on 2021-01-04.
3133

3234
- Test and build also for Python 3.9.
3335
- Export also __version__.
3436

3537

36-
Version 2.0.0
37-
-------------
38+
## Version 2.0.0
3839

3940
Released on 2021-01-03.
4041

@@ -55,25 +56,22 @@ The API changed for easier maintenance and simpler use:
5556
<https://github.com/dftlibs/numgrid/issues/43>`__).
5657

5758

58-
Version 1.1.2
59-
-------------
59+
## Version 1.1.2
6060

6161
Released on 2020-08-14.
6262

6363
- Unpin version dependencies for Numpy and CFFI.
6464

6565

66-
Version 1.1.1
67-
-------------
66+
## Version 1.1.1
6867

6968
Released on 2020-04-09.
7069

7170
- Build warning removed.
7271
- Add .zenodo.json.
7372

7473

75-
Version 1.1.0
76-
-------------
74+
## Version 1.1.0
7775

7876
Released on 2019-05-03.
7977

@@ -84,14 +82,12 @@ Released on 2019-05-03.
8482
(this uses https://github.com/MolSSI-BSE/basis_set_exchange).
8583

8684

87-
Version 1.0.2
88-
-------------
85+
## Version 1.0.2
8986

9087
Released on 2018-10-24.
9188

9289

93-
Grid memory management is now client-side
94-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
90+
### Grid memory management is now client-side
9591

9692
This was done to simplify memory management and avoid memory leaks and
9793
strange effects. The client can now query the number of grid points
@@ -100,29 +96,25 @@ is not a problem in practice. For the Python interface this is not a
10096
problem at all since it takes care of that.
10197

10298

103-
Compute one center at a time
104-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99+
### Compute one center at a time
105100

106101
Motivation was to simplify code and to make it possible to pre-compute a
107102
grid for a certain atom/basis type. This also means that the code can be
108103
optimized and parallelized on the client side.
109104

110105

111-
Full basis set does not need to be provided
112-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
106+
### Full basis set does not need to be provided
113107

114108
Great simplification. All that is needed now is the steepest exponent
115109
and a set of smallest exponents for each angular momentum.
116110

117111

118-
Separate arrays for x, y, z, and weights
119-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112+
### Separate arrays for x, y, z, and weights
120113

121114
They can be recombined on the client side but it makes it easier to
122115
understand how the grid information is stored in memory.
123116

124117

125-
Version 0.5.0
126-
-------------
118+
## Version 0.5.0
127119

128120
Released on 2016-12-26.

0 commit comments

Comments
 (0)