Skip to content

Commit

Permalink
fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
HDembinski committed Nov 30, 2020
1 parent b5d5a5c commit a11ba01
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
13 changes: 7 additions & 6 deletions .ci/release_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@
assert version in f.read()

# make sure that version itself was updated
r = requests.get("https://pypi.org/pypi/iminuit/json")
releases = r.json()["releases"]
pypi_versions = []
for prefix in ("pypi", "test.pypi"):
url = f"https://{prefix}.org/pypi/iminuit/json"
r = requests.get(url)
releases = r.json()["releases"]
pypi_versions += [parse_version(v) for v in releases]

pypi_versions = [parse_version(v) for v in releases]
this_version = parse_version(version)

assert this_version not in pypi_versions
assert parse_version(version) not in pypi_versions
4 changes: 2 additions & 2 deletions doc/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
Changelog
=========

2.0 (???, 2020)
-----------------
2.0rc1 (???, 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 easy to learn. Under the hood, Cython was replaced with pybind11 to generate the bindings to the C++ Minuit2 library. This simplified the code considerably (Cython is very bad at generating correct C++ bindings, while it is breeze with pybind11).

Removed and changed interface (breaking changes)
Expand Down
2 changes: 1 addition & 1 deletion src/iminuit/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0-beta-4"
__version__ = "2.0rc1"

0 comments on commit a11ba01

Please sign in to comment.