Skip to content

Commit

Permalink
WIP on bump/update-version (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaranra authored Dec 14, 2024
1 parent d0fb20e commit 6b19d06
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 29 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ repos:
- id: debug-statements

- repo: https://github.com/crate-ci/typos
rev: v1.28.1
rev: v1.28.3
hooks:
- id: typos
args: []

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.8.0
rev: v0.8.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
Expand Down
32 changes: 16 additions & 16 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 7 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@ resolver = "2"
members = [
"crates/pecos*",
"crates/benchmarks",
# "examples/*",
]

[workspace.package]
version = "0.1.0"
version = "0.1.1"
edition = "2021"
readme = "README.md"
authors = [
Expand All @@ -21,16 +20,16 @@ keywords = ["scientific", "quantum", "QEC"]
categories = ["science", "simulation"]

[workspace.dependencies]
pyo3 = "0.22"
pyo3 = "0.23"
rand = "0.8"
rand_chacha = "0.3"
rand_xoshiro = "0.6"

pecos-core = { version = "0.1.0", path = "crates/pecos-core" }
pecos-qsim = { version = "0.1.0", path = "crates/pecos-qsim" }
pecos-qec = { version = "0.1.0", path = "crates/pecos-qec" }
pecos = { version = "0.1.0", path = "crates/pecos" }
pecos-python = { version = "0.1.0", path = "crates/pecos-python" }
pecos-core = { version = "0.1.1", path = "crates/pecos-core" }
pecos-qsim = { version = "0.1.1", path = "crates/pecos-qsim" }
pecos-qec = { version = "0.1.1", path = "crates/pecos-qec" }
pecos = { version = "0.1.1", path = "crates/pecos" }
pecos-python = { version = "0.1.1", path = "crates/pecos-python" }

[profile.release]
codegen-units = 1
Expand Down
2 changes: 1 addition & 1 deletion python/pecos-rslib/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pecos-rslib"
version = "0.6.0.dev7"
version = "0.6.0.dev8"
description = "Rust libary extensions for Python PECOS."
authors = [
{name = "The PECOS Developers"},
Expand Down
13 changes: 11 additions & 2 deletions python/quantum-pecos/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "quantum-pecos"
version = "0.6.0.dev7"
version = "0.6.0.dev8"
authors = [
{name = "The PECOS Developers"},
]
Expand All @@ -28,7 +28,7 @@ requires-python = ">=3.10"
license = { file = "LICENSE"}
keywords = ["quantum", "QEC", "simulation", "PECOS"]
dependencies = [
"pecos-rslib==0.6.0.dev7",
"pecos-rslib==0.6.0.dev8",
"phir>=0.3.3",
"numpy>=1.15.0; python_version >= '3.13'",
"numpy>=1.15.0,<2.0; python_version < '3.13'",
Expand Down Expand Up @@ -71,6 +71,15 @@ tests = [
"pytest-cov",
"hypothesis",
]
simulators = [
"quantum-pecos[projectq]",
"quantum-pecos[qulacs]; python_version < '3.13'",
"quantum-pecos[pyquest]; python_version < '3.13'",
]
wasm = [
"quantum-pecos[wasmtime]",
"quantum-pecos[wasmer]", # TODO: avoid installing for 3.13 and adjust tests for this
]
all = [
"quantum-pecos[projectq]",
"quantum-pecos[wasmtime]",
Expand Down

0 comments on commit 6b19d06

Please sign in to comment.