Skip to content

Commit 6a976f3

Browse files
authored
Bump dev version to 1.8.dev0 (#177)
- Fix help text in create_sdists.sh - Add "-dev" option to generate_api_reference.py and force it in ci - Run ci on tags - Fixes a typo in the stim file format documentation
1 parent fc4b355 commit 6a976f3

File tree

7 files changed

+10
-7
lines changed

7 files changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ on:
1717
push:
1818
branches:
1919
- main
20+
tags:
21+
- v*
2022
pull_request:
2123
branches:
2224
- main
@@ -123,7 +125,7 @@ jobs:
123125
architecture: 'x64'
124126
- run: pip install -e .
125127
- run: pip install pybind11 && python setup.py install # Workaround for https://github.com/pypa/setuptools/issues/230
126-
- run: diff doc/python_api_reference_vDev.md <(python glue/python/generate_api_reference.py)
128+
- run: diff doc/python_api_reference_vDev.md <(python glue/python/generate_api_reference.py -dev)
127129
- run: cmake .
128130
- run: make stim
129131
- run: diff doc/gates.md <(out/stim help gates_markdown)

doc/file_format_stim_circuit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ which indicate that the block's instructions should be iterated over `K` times i
126126

127127
### Target Types
128128

129-
There are three types of targets that can be given to instructions:
129+
There are four types of targets that can be given to instructions:
130130
qubit targets, measurement record targets, sweep bit targets, and Pauli targets.
131131

132132
A qubit target refers to a qubit by index.

glue/cirq/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
with open('README.md') as f:
1818
long_description = f.read()
1919

20-
version = '1.7.dev0'
20+
version = '1.8.dev0'
2121

2222
setup(
2323
name='stimcirq',

glue/python/create_sdists.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#########################################################
1010

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

glue/python/generate_api_reference.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
import collections
88
import inspect
9+
import sys
910
from typing import DefaultDict, List, Union
1011

1112
keep = {
@@ -139,7 +140,7 @@ def main():
139140
index = []
140141
generate_documentation(obj=stim, full_name="stim", outs=level_entries, level=2, out_index=index)
141142
version = stim.__version__
142-
if "dev" in version or version == "VERSION_INFO":
143+
if "dev" in version or version == "VERSION_INFO" or "-dev" in sys.argv:
143144
version = "(Development Version)"
144145
else:
145146
version = "v" + version

glue/zx/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
with open('README.md') as f:
1818
long_description = f.read()
1919

20-
version = '1.7.dev0'
20+
version = '1.8.dev0'
2121

2222
setup(
2323
name='stimzx',

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
HEADER_FILES = glob.glob("src/**/*.h", recursive=True)
2424
RELEVANT_SOURCE_FILES = sorted(set(ALL_SOURCE_FILES) - set(TEST_FILES + PERF_FILES + MAIN_FILES))
2525

26-
version = '1.7.dev1'
26+
version = '1.8.dev0'
2727

2828
common_compile_args = [
2929
'-std=c++11',

0 commit comments

Comments
 (0)