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

REL: Prep release 0.1.0 #24

Merged
merged 6 commits into from
Aug 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ dependencies:
- pandoc
- doxygen==1.9.1 # for doxyYoda
- graphviz # for dot
# Release management
- towncrier
- tbump
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('pypotlib', ['c', 'fortran'],
version: '0.0.13',
project('gaussjacobiquad', ['c', 'fortran'],
version: '0.1.0',
default_options : ['warning_level=2', 'cpp_std=c++17'])
# IMPORTANT!! warning_level=3 passes -fimplicit-none
# Many of the older Fortran codes need implicit typing
Expand Down
1 change: 1 addition & 0 deletions newsfragments/+c_interop.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added an ISO_C_BINDING compatible interface and a C header
1 change: 1 addition & 0 deletions newsfragments/+gw_algo.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Implemented the Golub-Welsch algorithm with newer LAPACK routines
1 change: 1 addition & 0 deletions newsfragments/+py_interop.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added an f2py generated wrapper for Python interoperability
1 change: 1 addition & 0 deletions newsfragments/+pytest_sympy.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added pytests validating the results against SymPy
1 change: 1 addition & 0 deletions newsfragments/+scipy_cli.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added a CLI for validating against SciPy
1 change: 1 addition & 0 deletions newsfragments/+sympy_cli.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Wrote a CLI for obtaining formatted results from SymPy
1 change: 1 addition & 0 deletions newsfragments/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
!.gitignore
1 change: 1 addition & 0 deletions newsfragments/8.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added benchmarks and a discussion on the interfaces
57 changes: 57 additions & 0 deletions tbump.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Uncomment this if your project is hosted on GitHub:
github_url = "https://github.com/HaoZeke/GaussJacobiQuad/"

[version]
current = "0.1.0"

# Example of a semver regexp.
# Make sure this matches current_version before
# using tbump
regex = '''
(?P<major>\d+)
\.
(?P<minor>\d+)
\.
(?P<patch>\d+)
'''

[git]
message_template = "REL: Bump to v{new_version}"
tag_template = "v{new_version}"

# For each file to patch, add a [[file]] config
# section containing the path of the file, relative to the
# tbump.toml location.
[[file]]
src = "apidocs/Doxygen-GaussJacobiQuad.cfg"
[[file]]
src = "fpm.toml"
[[file]]
src = "meson.build"

# You can specify a list of commands to
# run after the files have been patched
# and before the git commit is made

[[before_commit]]
name = 'update fortran license headers'
cmd = "python scripts/add_headers.py --dirs src/ interfaces/ --ftypes 'f90,f77' --cchar '!'"
[[before_commit]]
name = 'update C license headers'
cmd = "python scripts/add_headers.py --dirs interfaces --ftypes 'c,h' --cchar '//'"
[[before_commit]]
name = 'update Python license headers'
cmd = "python scripts/add_headers.py --dirs interfaces scripts --ftypes 'py' --cchar '#'"
[[before_commit]]
name = 'generate news'
cmd = "towncrier build --version $(tbump current-version)"

# [[before_commit]]
# name = "check changelog"
# cmd = "grep -q {new_version} Changelog.rst"

# Or run some commands after the git tag and the branch
# have been pushed:
# [[after_push]]
# name = "publish"
# cmd = "./publish.sh"
2 changes: 2 additions & 0 deletions towncrier.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tool.towncrier]
filename = "NEWS.md"
Loading