Skip to content

Commit

Permalink
Start v1.15.dev (#838)
Browse files Browse the repository at this point in the history
  • Loading branch information
Strilanc authored Sep 24, 2024
1 parent 1fd7827 commit 49531a4
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 17 deletions.
14 changes: 5 additions & 9 deletions doc/developer_documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,18 @@ A *spandrel* is an implementation detail that has observable effects, but which

- Create an off-main-branch release commit
- [ ] `git checkout main -b SOMEBRANCHNAME`
- [ ] Update version to `version = 'X.Y.0'` in `setup.py` (at repo root)
- [ ] Update version to `version = 'X.Y.0'` in `glue/cirq/setup.py`
- [ ] Update version to `version = 'X.Y.0'` in `glue/sinter/setup.py`
- [ ] Update version to `version = 'X.Y.0'` in `glue/stimzx/setup.py`
- [ ] Global search replace `__version__ = 'X.Y.dev0'` with `__version__ = 'X.Y.0'`
- [ ] `git commit -a -m "Bump to vX.Y.0"`
- [ ] `git tag vX.Y.0`
- [ ] Push tag to github
- [ ] Check github `Actions` tab and confirm ci is running on the tag
- [ ] Wait for ci to finish validating and producing artifacts for the tag
- [ ] Get `stim`, `stimcirq`, and `sinter` wheels/sdists [from cibuildwheels](#pypackage.stim.cibuildwheels) of this tag
- Bump to next dev version on main branch
- [ ] Update version to `version = 'X.(Y+1).dev0'` in `setup.py` (at repo root)
- [ ] Update version to `version = 'X.(Y+1).dev0'` in `glue/cirq/setup.py`
- [ ] Update version to `version = 'X.(Y+1).dev0'` in `glue/sinter/setup.py`
- [ ] Update version to `version = 'X.(Y+1).dev0'` in `glue/stimzx/setup.py`
- [ ] Update `INTENTIONAL_VERSION_SEED_INCOMPATIBILITY` in `src/stim/circuit/circuit.h`
- [ ] `git checkout main -b SOMEBRANCHNAME`
- [ ] Global search replace `__version__ = 'X.Y.dev0'` with `__version__ = 'X.(Y+1).dev0'`
- [ ] Increment `INTENTIONAL_VERSION_SEED_INCOMPATIBILITY` in `src/stim/circuit/circuit.h`
- [ ] `git commit -a -m "Start vX.(Y+1).dev"`
- [ ] Push to github as a branch and merge into main using a pull request
- Write release notes on github
- [ ] In title, use two-word theming of most important changes
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', encoding='UTF-8') as f:
long_description = f.read()

__version__ = '1.14.dev0'
__version__ = '1.15.dev0'

setup(
name='stimcirq',
Expand Down
2 changes: 1 addition & 1 deletion glue/cirq/stimcirq/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '1.14.dev0'
__version__ = '1.15.dev0'
from ._cirq_to_stim import cirq_circuit_to_stim_circuit
from ._cx_swap_gate import CXSwapGate
from ._cz_swap_gate import CZSwapGate
Expand Down
2 changes: 1 addition & 1 deletion glue/sample/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
with open('requirements.txt', encoding='UTF-8') as f:
requirements = f.read().splitlines()

__version__ = '1.14.dev0'
__version__ = '1.15.dev0'

setup(
name='sinter',
Expand Down
2 changes: 1 addition & 1 deletion glue/sample/src/sinter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '1.14.dev0'
__version__ = '1.15.dev0'

from sinter._collection import (
collect,
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', encoding='UTF-8') as f:
long_description = f.read()

__version__ = '1.14.dev0'
__version__ = '1.15.dev0'

setup(
name='stimzx',
Expand Down
2 changes: 1 addition & 1 deletion glue/zx/stimzx/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '1.14.dev0'
__version__ = '1.15.dev0'
from ._external_stabilizer import (
ExternalStabilizer,
)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
HEADER_FILES = glob.glob("src/**/*.h", recursive=True) + glob.glob("src/**/*.inl", recursive=True)
RELEVANT_SOURCE_FILES = sorted(set(ALL_SOURCE_FILES) - set(TEST_FILES + PERF_FILES + MAIN_FILES + MUX_SOURCE_FILES))

__version__ = '1.14.dev0'
__version__ = '1.15.dev0'

if platform.system().startswith('Win'):
common_compile_args = [
Expand Down
2 changes: 1 addition & 1 deletion src/stim/util_bot/probability_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
namespace stim {

// Change this number from time to time to ensure people don't rely on seeds across versions.
constexpr uint64_t INTENTIONAL_VERSION_SEED_INCOMPATIBILITY = 0xDEADBEEF123BULL;
constexpr uint64_t INTENTIONAL_VERSION_SEED_INCOMPATIBILITY = 0xDEADBEEF124BULL;

/// Yields the indices of hits sampled from a Bernoulli distribution.
/// Gets more efficient as the hit probability drops.
Expand Down

0 comments on commit 49531a4

Please sign in to comment.