-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from GeoStat-Framework/develop
1.1.0 release
- Loading branch information
Showing
30 changed files
with
245 additions
and
662 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 |
---|---|---|
|
@@ -111,3 +111,6 @@ info/ | |
|
||
# JOSS stuff | ||
paper/compile | ||
|
||
# setuptools_scm generated version files | ||
pentapy/_version.py |
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 |
---|---|---|
@@ -1,137 +1,66 @@ | ||
language: python | ||
python: 3.8 | ||
|
||
matrix: | ||
include: | ||
- name: "Linux py27" | ||
sudo: required | ||
language: python | ||
python: 2.7 | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp27-*" | ||
- COVER="off" | ||
|
||
- name: "Linux py34" | ||
sudo: required | ||
language: python | ||
python: 3.4 | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp34-*" | ||
- COVER="off" | ||
|
||
- name: "Linux py35" | ||
sudo: required | ||
language: python | ||
python: 3.5 | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp35-*" | ||
- COVER="off" | ||
|
||
# py36 for coverage and sdist | ||
- name: "Linux py36" | ||
sudo: required | ||
language: python | ||
python: 3.6 | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp36-*" | ||
- COVER="on" | ||
|
||
# https://github.com/travis-ci/travis-ci/issues/9815 | ||
- name: "Linux py37" | ||
sudo: required | ||
language: python | ||
python: 3.7 | ||
dist: xenial | ||
services: docker | ||
env: | ||
- PIP=pip | ||
- CIBW_BUILD="cp37-*" | ||
- COVER="off" | ||
|
||
- name: "MacOS py27" | ||
os: osx | ||
language: generic | ||
env: | ||
- PIP=pip2 | ||
- CIBW_BUILD="cp27-*" | ||
- COVER="off" | ||
|
||
- name: "MacOS py34" | ||
os: osx | ||
language: generic | ||
env: | ||
- PIP=pip2 | ||
- CIBW_BUILD="cp34-*" | ||
- COVER="off" | ||
|
||
- name: "MacOS py35" | ||
os: osx | ||
language: generic | ||
env: | ||
- PIP=pip2 | ||
- CIBW_BUILD="cp35-*" | ||
- COVER="off" | ||
|
||
- name: "MacOS py36" | ||
os: osx | ||
language: generic | ||
env: | ||
- PIP=pip2 | ||
- CIBW_BUILD="cp36-*" | ||
- COVER="off" | ||
|
||
- name: "MacOS py37" | ||
os: osx | ||
language: generic | ||
env: | ||
- PIP=pip2 | ||
- CIBW_BUILD="cp37-*" | ||
- COVER="off" | ||
# setuptools-scm needs all tags in order to obtain a proper version | ||
git: | ||
depth: false | ||
|
||
env: | ||
global: | ||
- TWINE_USERNAME=geostatframework | ||
- CIBW_BEFORE_BUILD="pip install numpy==1.14.5 cython==0.28.3" | ||
- CIBW_TEST_REQUIRES=pytest-cov | ||
# inplace cython build and test run | ||
- CIBW_TEST_COMMAND="cd {project} && python setup.py build_ext --inplace && py.test --cov pentapy --cov-report term-missing -v {project}/tests" | ||
- CIBW_BEFORE_BUILD="pip install numpy==1.17.3 cython==0.29.14 setuptools" | ||
- CIBW_TEST_REQUIRES=pytest | ||
- CIBW_TEST_COMMAND="pytest -v {project}/tests" | ||
- CIBW_BUILD="cp35-* cp36-* cp37-* cp38-*" | ||
|
||
script: | ||
# create wheels | ||
- $PIP install cibuildwheel==0.11.1 | ||
- cibuildwheel --output-dir wheelhouse | ||
# create source dist for pypi and create coverage (only once for linux py3.6) | ||
before_install: | ||
- | | ||
if [[ $COVER == "on" ]]; then | ||
rm -rf dist | ||
python -m pip install -U numpy==1.14.5 cython==0.28.3 setuptools | ||
python -m pip install pytest-cov coveralls | ||
python -m pip install -r docs/requirements.txt | ||
python setup.py sdist | ||
python setup.py build_ext --inplace | ||
python -m pytest --cov pentapy --cov-report term-missing -v tests/ | ||
python -m coveralls | ||
if [[ "$TRAVIS_OS_NAME" = windows ]]; then | ||
choco install python --version 3.8.0 | ||
export PATH="/c/Python38:/c/Python38/Scripts:$PATH" | ||
# make sure it's on PATH as 'python3' | ||
ln -s /c/Python38/python.exe /c/Python38/python3.exe | ||
fi | ||
install: | ||
- python3 -m pip install cibuildwheel==1.3.0 | ||
|
||
script: | ||
- python3 -m cibuildwheel --output-dir dist | ||
|
||
after_success: | ||
# pypi upload ("test" allways and "official" on TAG) | ||
- python -m pip install twine | ||
- python -m twine upload --verbose --skip-existing --repository-url https://test.pypi.org/legacy/ wheelhouse/*.whl | ||
- python -m twine upload --verbose --skip-existing --repository-url https://test.pypi.org/legacy/ dist/*.tar.gz | ||
- | | ||
if [[ $TRAVIS_TAG ]]; then | ||
python -m twine upload --verbose --skip-existing wheelhouse/*.whl | ||
python -m twine upload --verbose --skip-existing dist/*.tar.gz | ||
if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then | ||
python3 -m pip install twine | ||
python3 -m twine upload --verbose --skip-existing --repository-url https://test.pypi.org/legacy/ dist/* | ||
if [[ $TRAVIS_TAG ]]; then python3 -m twine upload --verbose --skip-existing dist/*; fi | ||
fi | ||
notifications: | ||
email: | ||
recipients: | ||
- info@geostat-framework.org | ||
- info@geostat-framework.org | ||
|
||
jobs: | ||
include: | ||
- name: "sdist and coverage" | ||
services: docker | ||
script: | ||
- python3 -m pip install -U setuptools pytest-cov coveralls | ||
- python3 -m pip install -U numpy==1.17.3 cython==0.29.14 | ||
- python3 -m pip install -r requirements.txt | ||
- python3 setup.py sdist -d dist | ||
- python3 setup.py build_ext --inplace | ||
- python3 -m pytest --cov pentapy --cov-report term-missing -v tests/ | ||
- python3 -m coveralls | ||
|
||
- name: "Linux py35-py38" | ||
services: docker | ||
|
||
- name: "MacOS py35-py38" | ||
os: osx | ||
language: shell | ||
|
||
- name: "Win py35-py38" | ||
os: windows | ||
language: shell |
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"license": "MIT", | ||
"language": "eng", | ||
"keywords": [ | ||
"linear algebra", | ||
"equation systems", | ||
"pentadiagonal matrices", | ||
"math", | ||
"Python", | ||
"GeoStat-Framework" | ||
], | ||
"creators": [ | ||
{ | ||
"orcid": "0000-0001-9060-4008", | ||
"affiliation": "Helmholtz Centre for Environmental Research - UFZ", | ||
"name": "Sebastian M\u00fcller" | ||
} | ||
] | ||
} |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Changelog | ||
|
||
All notable changes to **pentapy** will be documented in this file. | ||
|
||
|
||
## [1.1.0] - 2020-03-22 | ||
|
||
### Enhancements | ||
- Python 3.8 support | ||
|
||
### Changes | ||
- python only builds are no longer available | ||
- Python 2.7 and 3.4 support dropped | ||
|
||
|
||
## [1.0.3] - 2019-11-10 | ||
|
||
### Enhancements | ||
- the algorithms `PTRANS-I` and `PTRANS-II` now raise a warning when they can not solve the given system | ||
- there are now switches to install scipy and umf solvers as extra requirements | ||
|
||
### Bugfixes | ||
- multiple minor bugfixes | ||
|
||
|
||
## [1.0.0] - 2019-09-18 | ||
|
||
### Enhancements | ||
- the second algorithm `PTRANS-II` from *Askar et al. 2015* is now implemented and can be used by `solver=2` | ||
- the package is now tested and a coverage is calculated | ||
- there are now pre-built binaries for Python 3.7 | ||
- the documentation is now available under https://geostat-framework.readthedocs.io/projects/pentapy | ||
|
||
### Changes | ||
- pentapy is now licensed under the MIT license | ||
|
||
|
||
## [0.1.1] - 2019-03-08 | ||
|
||
### Bugfixes | ||
- MANIFEST.in was missing in the 0.1.0 version | ||
|
||
|
||
## [0.1.0] - 2019-03-07 | ||
|
||
This is the first release of pentapy, a python toolbox for solving pentadiagonal linear equation systems. | ||
The solver is implemented in cython, which makes it really fast. | ||
|
||
|
||
[1.1.0]: https://github.com/GeoStat-Framework/gstools/compare/v1.0.3...v1.1.0 | ||
[1.0.3]: https://github.com/GeoStat-Framework/gstools/compare/v1.0.0...v1.0.3 | ||
[1.0.0]: https://github.com/GeoStat-Framework/gstools/compare/v0.1.1...v1.0.0 | ||
[0.1.1]: https://github.com/GeoStat-Framework/gstools/compare/v0.1...v0.1.1 | ||
[0.1.0]: https://github.com/GeoStat-Framework/gstools/releases/tag/v0.1 |
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 |
---|---|---|
@@ -1,6 +1,9 @@ | ||
include README.md | ||
include MANIFEST.in | ||
include setup.py | ||
include setup.cfg | ||
recursive-include pentapy *.py *.pyx *.c | ||
recursive-include tests *.py | ||
recursive-include docs/source * | ||
include docs/Makefile docs/requirements.txt | ||
include LICENSE |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#required for readthedocs.org | ||
cython>=0.28.3 | ||
numpy>=1.14.5 | ||
numpydoc | ||
-r requirements_doc.txt | ||
-r ../requirements_setup.txt | ||
-r ../requirements.txt |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
numpydoc |
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.