Skip to content

Commit

Permalink
Release 2.0 (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Dec 7, 2020
1 parent 5db1b8a commit f12cd51
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,5 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.8
- run: |
python -m pip install requests
python .ci/release_check.py src/iminuit/version.py doc/changelog.rst
- run: python -m pip install requests
- run: python .ci/release_check.py src/iminuit/version.py doc/changelog.rst
13 changes: 2 additions & 11 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
path: dist/*.tar.gz

upload:
if: "github.event.release.release"
needs: [wheels, sdist]
runs-on: ubuntu-latest
steps:
Expand All @@ -84,17 +85,7 @@ jobs:
name: artifact
path: dist

- name: Prerelease
if: "github.event.release.prerelease"
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{secrets.test_pypi_password}}
repository_url: https://test.pypi.org/legacy/

- name: Release
if: "github.event.release.release"
uses: pypa/gh-action-pypi-publish@master
- uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{secrets.pypi_password}}
5 changes: 3 additions & 2 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
Changelog
=========

2.0 (???, 2020)
-----------------
2.0.0 (December 7, 2020)
------------------------

This is a breaking change for iminuit. Interface that was deprecated in 1.x has been removed. In addition, breaking changes were made to the interface to arrive at a clean minimal state that is easier to learn, safer to use, and ready for the long-term future. **To keep existing scripts running, pin your major iminuit version to <2**, i.e. ``pip install 'iminuit<2'`` installs the 1.x series.

Under the hood, Cython was replaced with pybind11 to generate the bindings to the C++ Minuit2 library. This simplified the code considerably (Cython is bad at generating correct C++ bindings, while it is a breeze with pybind11).
Expand Down

0 comments on commit f12cd51

Please sign in to comment.