Skip to content

Commit

Permalink
v1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc committed Dec 14, 2021
1 parent fc4b355 commit f81a63a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ on:
push:
branches:
- main
tags:
- v*
pull_request:
branches:
- main
Expand Down Expand Up @@ -123,7 +125,7 @@ jobs:
architecture: 'x64'
- run: pip install -e .
- run: pip install pybind11 && python setup.py install # Workaround for https://github.com/pypa/setuptools/issues/230
- run: diff doc/python_api_reference_vDev.md <(python glue/python/generate_api_reference.py)
- run: diff doc/python_api_reference_vDev.md <(python glue/python/generate_api_reference.py -dev)
- run: cmake .
- run: make stim
- run: diff doc/gates.md <(out/stim help gates_markdown)
Expand Down
2 changes: 1 addition & 1 deletion glue/cirq/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
with open('README.md') as f:
long_description = f.read()

version = '1.7.dev0'
version = '1.7.0'

setup(
name='stimcirq',
Expand Down
2 changes: 1 addition & 1 deletion glue/python/create_sdists.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#########################################################

if [ -z "$1" ]; then
echo "Provide a version argument like 'v1.2.0' or 'v1.2.dev0'."
echo "Provide a version argument like '1.2.0' or '1.2.dev0'."
exit 1
fi

Expand Down
3 changes: 2 additions & 1 deletion glue/python/generate_api_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import collections
import inspect
import sys
from typing import DefaultDict, List, Union

keep = {
Expand Down Expand Up @@ -139,7 +140,7 @@ def main():
index = []
generate_documentation(obj=stim, full_name="stim", outs=level_entries, level=2, out_index=index)
version = stim.__version__
if "dev" in version or version == "VERSION_INFO":
if "dev" in version or version == "VERSION_INFO" or "-dev" in sys.argv:
version = "(Development Version)"
else:
version = "v" + version
Expand Down
2 changes: 1 addition & 1 deletion glue/zx/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
with open('README.md') as f:
long_description = f.read()

version = '1.7.dev0'
version = '1.7.0'

setup(
name='stimzx',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
HEADER_FILES = glob.glob("src/**/*.h", recursive=True)
RELEVANT_SOURCE_FILES = sorted(set(ALL_SOURCE_FILES) - set(TEST_FILES + PERF_FILES + MAIN_FILES))

version = '1.7.dev1'
version = '1.7.0'

common_compile_args = [
'-std=c++11',
Expand Down

0 comments on commit f81a63a

Please sign in to comment.