Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
347 commits
Select commit Hold shift + click to select a range
4e9ae75
feat: Allow sets of calibrations in batches (#859)
jcjaskula-aws Mar 18, 2024
314bf59
fix: batch tasking passing lists to single tasks (#917)
AbeCoull Mar 21, 2024
1751ec9
prepare release v1.74.0
Mar 21, 2024
661529a
update development version to v1.74.1.dev0
Mar 21, 2024
8618fcb
fix: temporarily pin the schemas version (#924)
AbeCoull Mar 27, 2024
baf2ff2
prepare release v1.74.1
Mar 27, 2024
182b923
update development version to v1.74.2.dev0
Mar 27, 2024
cfbdd50
fix: change schemas constraint (#927)
AbeCoull Mar 27, 2024
c42d46e
feat: upgrade to pydantic 2.x (#926)
AbeCoull Mar 27, 2024
a526546
prepare release v1.75.0
Mar 28, 2024
5884b1f
update development version to v1.75.1.dev0
Mar 28, 2024
d6209ee
fix: restore the dependent test back to pennylane (#928)
AbeCoull Mar 28, 2024
ecf30b6
doc: fix GPI2 gate matrix representation (#919)
AbeCoull Mar 28, 2024
e98aead
feature: add support for OpenQASM measure on a subset of qubits (#904)
ashlhans Apr 1, 2024
600baf2
prepare release v1.76.0
Apr 1, 2024
d5580dc
update development version to v1.76.1.dev0
Apr 1, 2024
c57a9ba
fix: prevent repeated measurements on a qubit (#937)
ashlhans Apr 5, 2024
b98bce5
fix: Support single-register measurements in `from_ir` (#934)
ashlhans Apr 5, 2024
1beeaac
prepare release v1.76.1
Apr 8, 2024
e93b8a7
update development version to v1.76.2.dev0
Apr 8, 2024
1de7dbe
fix: backwards compatiblity for local detuning (#942)
AbeCoull Apr 8, 2024
e17918b
prepare release v1.76.2
Apr 8, 2024
5b21c12
update development version to v1.76.3.dev0
Apr 8, 2024
64a2536
fix: Replace pkg_resources with importlib.metadata (#935)
tachikoma-li Apr 9, 2024
c687223
doc: Improve gphase unitary matrix definition in docstring (#944)
rmshaffer Apr 9, 2024
bc8e56a
prepare release v1.76.3
Apr 9, 2024
3ea6899
update development version to v1.76.4.dev0
Apr 9, 2024
e2da4ff
feat: rename shifting field to local detuning (#943)
AbeCoull Apr 9, 2024
bf07507
prepare release v1.77.0
Apr 10, 2024
f556567
update development version to v1.77.1.dev0
Apr 10, 2024
78a4969
fix: add measure qubit targets in braket_program_context (#947)
ashlhans Apr 10, 2024
fc045fa
prepare release v1.77.1
Apr 10, 2024
a60d715
update development version to v1.77.2.dev0
Apr 10, 2024
e1564a4
fix: remove shifting field from testing (#948)
AbeCoull Apr 10, 2024
da70fff
prepare release v1.77.2
Apr 10, 2024
04d8a95
update development version to v1.77.3.dev0
Apr 10, 2024
18aa64e
fix: measure target qubits are required (#940)
ashlhans Apr 11, 2024
7831de0
prepare release v1.77.3
Apr 11, 2024
53aba5e
update development version to v1.77.4.dev0
Apr 11, 2024
b1cd32d
doc: correct gphase matrix representation (#946)
rmshaffer Apr 12, 2024
a18d445
prepare release v1.77.3.post0
Apr 15, 2024
6e9a2dc
update development version to v1.77.4.dev0
Apr 15, 2024
5ed6590
fix: discretize method now takes None as an arg (#950)
AbeCoull Apr 15, 2024
0a90fa6
doc: Correct miscellaneous spelling mistakes in docstrings (#952)
mbeach-aws Apr 15, 2024
3499577
prepare release v1.77.4
Apr 16, 2024
9388a25
update development version to v1.77.5.dev0
Apr 16, 2024
f69c824
fix: remove optional discretization fields (#953)
AbeCoull Apr 16, 2024
f66a21a
prepare release v1.77.5
Apr 16, 2024
0e22849
update development version to v1.77.6.dev0
Apr 16, 2024
3698931
fix: if rydberg local is not pulled, pass in None (#959)
AbeCoull Apr 17, 2024
c3eb8b6
prepare release v1.77.6
Apr 17, 2024
9bda244
update development version to v1.77.7.dev0
Apr 17, 2024
0cd4531
feat: add phase RX gate (#945)
AbeCoull Apr 17, 2024
b492031
Feature: Code refactoring with Sourcery (#954)
mbeach-aws Apr 17, 2024
c1a941f
prepare release v1.78.0
Apr 18, 2024
07d9e1e
update development version to v1.78.1.dev0
Apr 18, 2024
d966222
feature: Direct Reservation context manager (#955)
mbeach-aws May 3, 2024
84c3bb7
doc: correct the example in the measure docstring (#965)
ashlhans May 3, 2024
2730aa1
infra: add opts for tox builds ran in parallel (#759)
AbeCoull May 6, 2024
7824bfb
infra: allow worksteal for testing (#960)
AbeCoull May 6, 2024
6d30734
test: Extract `decorator_python_version` (#968)
speller26 May 6, 2024
376fb90
prepare release v1.79.0
May 6, 2024
b791858
update development version to v1.79.1.dev0
May 6, 2024
6c4282e
fix: check the qubit set length against observables (#970)
AbeCoull May 8, 2024
dfd75b3
prepare release v1.79.1
May 8, 2024
ec5edaf
update development version to v1.79.2.dev0
May 8, 2024
7ba54ce
feature: Add support for SerializableProgram abstraction to Device in…
rmshaffer May 21, 2024
035409a
feat: add support for the ARN region (#977)
AbeCoull May 22, 2024
1438528
fix: job fixture for endpoint support (#978)
AbeCoull May 22, 2024
5453cf5
prepare release v1.80.0
May 22, 2024
1c46ca7
update development version to v1.80.1.dev0
May 22, 2024
ecbe76d
infra: remove flake8 constraints (#964)
AbeCoull Jun 3, 2024
d5dfbf4
infra: change action updates to monthly (#951)
AbeCoull Jun 3, 2024
2f02107
Implement `braket.ahs.AnalogHamiltonianSimulation.from_ir()` (#983)
king-p3nguin Jun 6, 2024
dfdc50d
docs: add stack exchange badge to the readme (#956)
AbeCoull Jun 7, 2024
050c6c3
prepare release v1.80.1
Jun 10, 2024
0ad486f
update development version to v1.80.2.dev0
Jun 10, 2024
5679726
feature: Add IQM to get compiled program convenience method (#1001)
laurencap Jun 12, 2024
feedb6a
prepare release v1.81.0
Jun 13, 2024
bc56429
update development version to v1.81.1.dev0
Jun 13, 2024
63b519c
fix: Error when FreeParameters are named QASM types (#999)
Tarun-Kumar07 Jun 17, 2024
d85eaa4
prepare release v1.81.1
Jun 17, 2024
90f9395
update development version to v1.81.2.dev0
Jun 17, 2024
72b59bd
infra: add pr_title_check workflow (#991)
AbeCoull Jun 19, 2024
7486805
infra: unpin numpy version (#1003)
shpface Jun 19, 2024
7a6025b
infra: bump codecov/codecov-action from 4.1.0 to 4.2.0 (#941)
dependabot[bot] Jun 26, 2024
234ab0a
infra: bump codecov/codecov-action from 4.2.0 to 4.5.0 (#1011)
dependabot[bot] Jun 26, 2024
785d251
feat: Track classical target indices for measurements (#1008)
Altanali Jun 26, 2024
eeb7630
change: Add test to check classical indices used in measurement are p…
Altanali Jun 26, 2024
6cd842e
prepare release v1.82.0
Jun 27, 2024
239fc81
update development version to v1.82.1.dev0
Jun 27, 2024
12d0d67
infra: bump actions/setup-python from 5.0.0 to 5.1.0 (#931)
dependabot[bot] Jun 27, 2024
24d4d5f
infra: bump actions/checkout from 4.1.1 to 4.1.5 (#967)
dependabot[bot] Jun 27, 2024
96b4200
infra: bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#1012)
dependabot[bot] Jun 27, 2024
fb307e3
infra: bump thehanimo/pr-title-checker from 1.4.1 to 1.4.2 (#1010)
dependabot[bot] Jun 27, 2024
9f6adcf
doc: update PR title instructions (#994)
rmshaffer Jun 27, 2024
dabcb5e
feat: Use `run_multiple` for local batches (#1005)
speller26 Jun 28, 2024
686aaf8
deprecation: Remove OQC (#1014)
speller26 Jun 28, 2024
1e4a76f
prepare release v1.83.0
Jun 28, 2024
e72299b
update development version to v1.83.1.dev0
Jun 28, 2024
f42f322
infra: bump actions/checkout from 4.1.5 to 4.1.7 (#1015)
dependabot[bot] Jul 2, 2024
bbdbfa6
test: Add Garnet to tracker integ test (#1016)
speller26 Jul 2, 2024
66fec48
feat: support erf_square and swap_phases (#1019)
yitchen-tim Jul 29, 2024
12ec01b
prepare release v1.84.0
Jul 30, 2024
ee63777
update development version to v1.84.1.dev0
Jul 30, 2024
b095710
feat: Allow early qubit binding of observables (#1022)
speller26 Aug 20, 2024
6c6caf3
prepare release v1.85.0
Aug 20, 2024
f87be27
update development version to v1.85.1.dev0
Aug 20, 2024
a79dccc
feat: add off_center to erf_square (#1023)
yitchen-tim Aug 23, 2024
7e478ce
feat: Rigetti Ankaa (#1024)
speller26 Aug 26, 2024
4f4f3a5
prepare release v1.86.0
Aug 26, 2024
93f450b
update development version to v1.86.1.dev0
Aug 26, 2024
8f4e88f
fix: Use observable targets for targetless results (#1025)
speller26 Aug 28, 2024
6cad46e
prepare release v1.86.1
Aug 29, 2024
cbe7fc9
update development version to v1.86.2.dev0
Aug 29, 2024
2d57c5f
change: Return observable target if absent for RT (#1026)
speller26 Sep 3, 2024
1f6bf0f
deprecation: Retire IonQ Harmony (#1030)
speller26 Sep 4, 2024
6236d63
prepare release v1.87.0
Sep 5, 2024
42d0ef8
update development version to v1.87.1.dev0
Sep 5, 2024
2ddb3d2
infra: update to cloudpickle 3.x (#1032)
AbeCoull Sep 19, 2024
fd597d6
fix: Pass through inputs for SerializableProgram simulation (#1033)
rmshaffer Sep 23, 2024
d3c0ec2
prepare release v1.87.1
Sep 23, 2024
d45958b
update development version to v1.87.2.dev0
Sep 23, 2024
b076fda
deprecation: Mark Aspen-M-3 as deprecated, replace with Ankaa-2 in te…
rmshaffer Sep 26, 2024
71dc33b
fix: Update pulse integration tests for Ankaa-2 device (#1035)
rmshaffer Sep 27, 2024
5870ea6
prepare release v1.88.0
Sep 27, 2024
43d0c7e
update development version to v1.88.1.dev0
Sep 27, 2024
5534034
infra: remove doc dependencies from the test list and add to their ow…
AbeCoull Oct 6, 2024
36e32f6
infra: bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0 (#1027)
dependabot[bot] Oct 8, 2024
cc3698c
fix: correct typing for task results methods (#1039)
AbeCoull Oct 18, 2024
447c87d
prepare release v1.88.1
Oct 21, 2024
90ca196
update development version to v1.88.2.dev0
Oct 21, 2024
a7348c6
fix: Pin cloudpickle==2.2.1 (#1044)
jheckey Nov 18, 2024
0644b0a
prepare release v1.88.2
Nov 18, 2024
e6775d5
update development version to v1.88.3.dev0
Nov 18, 2024
5cb4a31
doc: add dual navigation buttons and cleanup some docstrings (#758)
AbeCoull Nov 21, 2024
cfe0214
prepare release v1.88.2.post0
Nov 25, 2024
b378184
update development version to v1.88.3.dev0
Nov 25, 2024
7966a3d
infra: bump pypa/gh-action-pypi-publish from 1.10.0 to 1.11.0 (#1042)
dependabot[bot] Nov 27, 2024
509bad6
infra: bump pypa/gh-action-pypi-publish from 1.11.0 to 1.12.2 (#1047)
dependabot[bot] Dec 2, 2024
daab554
infra: bump codecov/codecov-action from 4.5.0 to 5.0.7 (#1045)
dependabot[bot] Dec 2, 2024
2e8a1be
infra: bump thehanimo/pr-title-checker from 1.4.2 to 1.4.3 (#1046)
dependabot[bot] Dec 2, 2024
13fef32
infra: bump actions/checkout from 4.1.7 to 4.2.0 (#1036)
dependabot[bot] Dec 3, 2024
aead183
infra: bump actions/setup-python from 5.1.0 to 5.2.0 (#1028)
dependabot[bot] Dec 3, 2024
73a03c6
fix: increase timeout for tasks to avoid async polling timeout during…
AbeCoull Dec 6, 2024
77353c1
prepare release v1.88.3
Dec 6, 2024
8367e48
update development version to v1.88.4.dev0
Dec 6, 2024
880e921
infra: constrain schemas to >= 1.23.0 (#1053)
AbeCoull Jan 17, 2025
ecb18ab
infra: bump actions/setup-python from 5.2.0 to 5.3.0 (#1049)
dependabot[bot] Feb 4, 2025
9ee694a
infra: linter updates (#1059)
yitchen-tim Feb 5, 2025
82ff1af
feat: support CUDA-Q decorator kernel with hybrid job decorator (#1056)
yitchen-tim Feb 5, 2025
e756ff8
infra: bump actions/checkout from 4.2.0 to 4.2.2 (#1050)
dependabot[bot] Feb 6, 2025
6d0d49a
infra: bump codecov/codecov-action from 5.0.7 to 5.3.1 (#1057)
dependabot[bot] Feb 6, 2025
eed8844
infra: bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.4 (#1058)
dependabot[bot] Feb 6, 2025
808bb39
deprecation: Ankaa-2 (#1060)
speller26 Feb 8, 2025
92fa905
prepare release v1.89.0
Feb 10, 2025
e069920
update development version to v1.89.1.dev0
Feb 10, 2025
b533b89
test: update target device for reservation integ test (#1062)
yitchen-tim Feb 10, 2025
d3aa29b
fix: decorator job with no inner function (#1061)
yitchen-tim Feb 10, 2025
0a30eb0
prepare release v1.89.1
Feb 10, 2025
a5f3fe7
update development version to v1.89.2.dev0
Feb 10, 2025
8753ca6
feature: added ankaa-3 to enum (#1065)
jacofeld Feb 14, 2025
493dcad
prepare release v1.90.0
Feb 14, 2025
ed6b849
update development version to v1.90.1.dev0
Feb 14, 2025
c327e54
infra: bump codecov/codecov-action from 5.3.1 to 5.4.0 (#1067)
dependabot[bot] Mar 3, 2025
a8528a5
infra: bump actions/setup-python from 5.3.0 to 5.4.0 (#1066)
dependabot[bot] Mar 3, 2025
3282dcc
fix: Update AwsQuantumTask.__init__ signature (#1068)
rmshaffer Mar 4, 2025
7b63afa
fix: Set user agent in Boto3 config object (#1069)
rmshaffer Mar 6, 2025
5aee5e3
prepare release v1.90.1
Mar 6, 2025
493f4d6
update development version to v1.90.2.dev0
Mar 6, 2025
7a4271d
fix: onboard to use ruff (#1029)
AbeCoull Mar 7, 2025
f8aa8fb
prepare release v1.90.2
Mar 10, 2025
58593bc
update development version to v1.90.3.dev0
Mar 10, 2025
7962d97
feat: Add Forte Enterprise 1 (#1071)
speller26 Mar 17, 2025
24e9f78
prepare release v1.91.0
Mar 18, 2025
0268e0b
update development version to v1.91.1.dev0
Mar 18, 2025
ecdf4d9
infra: bump actions/setup-python from 5.4.0 to 5.5.0 (#1072)
dependabot[bot] Apr 1, 2025
a64be7e
infra: refactor pytest configuration into the pyproject file (#1040)
AbeCoull Apr 4, 2025
eb9fa41
fix: concatenate time series value with unpacking instead of + (#1076)
AbeCoull Apr 17, 2025
5c0254f
prepare release v1.91.1
Apr 21, 2025
08fe69c
update development version to v1.91.2.dev0
Apr 21, 2025
0de943c
change: handling capability upgrade issues (#1075)
krneta Apr 21, 2025
8984011
prepare release v1.91.2
Apr 22, 2025
d095856
update development version to v1.91.3.dev0
Apr 22, 2025
0c844aa
infra: bump actions/setup-python from 5.5.0 to 5.6.0 (#1078)
dependabot[bot] May 1, 2025
65b7449
infra: bump codecov/codecov-action from 5.4.0 to 5.4.2 (#1079)
dependabot[bot] May 2, 2025
93beef1
infra: linter updates (#1080)
yitchen-tim May 15, 2025
7c2be69
infra: add coverage to public-main branch (#1084)
yitchen-tim May 22, 2025
001cd1f
infra: ignore linter error PLC0207 to unblock CI (#1090)
rmshaffer Jun 4, 2025
6a1682f
infra: bump codecov/codecov-action from 5.4.2 to 5.4.3 (#1088)
dependabot[bot] Jun 4, 2025
b1114c7
feat: Measure Criteria for readout error to target measurement operat…
Qubit1718 Jun 10, 2025
97113c8
prepare release v1.92.0
Jun 10, 2025
857611d
update development version to v1.92.1.dev0
Jun 10, 2025
7e97b53
feature: add factory methods for AHS AtomArrangements (#1092)
border-b Jun 10, 2025
af202aa
prepare release v1.93.0
Jun 11, 2025
47aad1f
update development version to v1.93.1.dev0
Jun 11, 2025
6046a34
feat: support IQM dynamic circuit capabilities (#1099)
yitchen-tim Jun 26, 2025
33b0854
prepare release v1.94.0
Jun 26, 2025
1b71ac8
update development version to v1.94.1.dev0
Jun 26, 2025
c03deac
feat: support from_ir for cc_prx and measure_ff (#1100)
yitchen-tim Jul 1, 2025
4d0b176
prepare release v1.95.0
Jul 1, 2025
5a7a4db
update development version to v1.95.1.dev0
Jul 1, 2025
e1ffcf0
feat: Add Emerald (#1103)
jacofeld Jul 17, 2025
2ffbfba
fix: positional param issue for shots in tests (#1104)
virajvchaudhari Jul 17, 2025
b6a4c7d
prepare release v1.96.0
Jul 17, 2025
b2d671c
update development version to v1.96.1.dev0
Jul 17, 2025
13db50f
infra: update to latest oqpy version (#1102)
AbeCoull Jul 21, 2025
eddeef3
fix: Fix applying readout error with ObservableResultType and Measur…
maolinml Aug 4, 2025
2425a27
prepare release v1.96.1
Aug 5, 2025
286d3e4
update development version to v1.96.2.dev0
Aug 5, 2025
ac2ddf0
feat: Program sets (#1106)
speller26 Aug 13, 2025
1b32062
prepare release v1.97.0
Aug 13, 2025
31f5626
update development version to v1.97.1.dev0
Aug 13, 2025
9c37c5c
feat: add cudaq container image uri (#1107)
rmshaffer Aug 19, 2025
5b26bb0
doc: Add Python 3.12, 3.13 to supported versions (#1108)
speller26 Aug 20, 2025
c219bad
prepare release v1.98.0
Aug 20, 2025
5a7b2b1
update development version to v1.98.1.dev0
Aug 20, 2025
de43ab3
deprecation: Drop Python 3.9, support 3.12, 3.13 (#1077)
AbeCoull Aug 20, 2025
632a690
doc: Use latest for doc generation (#1110)
speller26 Aug 20, 2025
ba94525
fix: Make `zip` strict (#1111)
speller26 Aug 21, 2025
f377cd1
fix: validation on measured qubits (#1109)
yitchen-tim Aug 21, 2025
f66f36e
prepare release v1.99.0
Aug 21, 2025
041c4e5
update development version to v1.99.1.dev0
Aug 21, 2025
fa6f520
fix: resolve failing tests on py312 on windows (#1113)
speller26 Aug 21, 2025
ea5d05c
feature: `add_verbatim_marker()` method to `BraketProgramContext` cl…
sim-eng-ii Aug 21, 2025
7f9965e
fix: caching measured qubits (#1114)
yitchen-tim Aug 22, 2025
53446de
prepare release v1.100.0
Aug 22, 2025
1916492
update development version to v1.100.1.dev0
Aug 22, 2025
7cae6a7
fix: update local sim version dependency (#1116)
rmshaffer Aug 25, 2025
cde767f
prepare release v1.100.1
Aug 25, 2025
789588f
update development version to v1.100.2.dev0
Aug 25, 2025
634d66a
feature: Emulators with circuit validation and noise models (#1017)
Altanali Aug 25, 2025
da80133
prepare release v1.101.0
Aug 25, 2025
1aac656
update development version to v1.101.1.dev0
Aug 25, 2025
f8760f3
infra: Pin pytest-rerunfailures<16.0 (#1119)
speller26 Aug 29, 2025
cadd74f
documentation: removed "-" sign from u gate doc (#1123)
sesmart Sep 2, 2025
2af105c
infra: bump actions/checkout from 4.2.2 to 5.0.0 (#1121)
dependabot[bot] Sep 2, 2025
6dfcaac
infra: bump codecov/codecov-action from 5.4.3 to 5.5.0 (#1122)
dependabot[bot] Sep 2, 2025
6ca468b
prepare release v1.101.0.post0
Sep 3, 2025
b98a75e
update development version to v1.101.1.dev0
Sep 3, 2025
514b695
feature: add barrier instruction (#1118)
nilsquet Sep 5, 2025
2f86fcc
prepare release v1.102.0
Sep 8, 2025
ae4b916
update development version to v1.102.1.dev0
Sep 8, 2025
ef5f172
fix: emulator validation for program sets (#1125)
maolinml Sep 10, 2025
22a72a4
prepare release v1.102.1
Sep 10, 2025
8d7cb78
update development version to v1.102.2.dev0
Sep 10, 2025
a0a2a6f
infra: retrieve github envs correctly for workflow file (#1126)
virajvchaudhari Sep 10, 2025
8a9f384
fix: Python 3.10 syntax (#1120)
speller26 Sep 10, 2025
42e7cd1
prepare release v1.102.2
Sep 11, 2025
a76c4e2
update development version to v1.102.3.dev0
Sep 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ parallel = True
branch = True
source =
src
omit =
omit =
**/braket/ir/*
**/braket/device_schema/*
**/braket/schema_common/*
Expand All @@ -23,9 +23,18 @@ exclude_lines =
# Have to re-enable the standard pragma
pragma: no cover

# Skipping import testing
from importlib.metadata import entry_points

# Don't complain if tests don't hit defensive assertion code:
raise NotImplementedError

# Avoid situation where system version causes coverage issues
if sys.version_info.minor == 9:

# Avoid type checking import conditionals
if TYPE_CHECKING:

[html]
directory = build/coverage

Expand Down
3 changes: 1 addition & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ updates:
directory: "/"
schedule:
# Check for updates to GitHub Actions every week
interval: "weekly"
interval: "monthly"
commit-message:
prefix: infra

17 changes: 17 additions & 0 deletions .github/pr-title-checker-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"LABEL": {
"name": "title needs formatting",
"color": "EEEEEE"
},
"CHECKS": {
"prefixes": ["fix: ", "feat: ", "test: ", "infra: ", "doc: ", "change: ", "break: ", "breaking: ", "deprecation: ", "feature: ", "depr: ", "documentation: "],
"regexp": "docs\\(v[0-9]\\): ",
"regexpFlags": "i",
"ignoreLabels" : ["dont-check-PRs-with-this-label", "meta"]
},
"MESSAGES": {
"success": "All OK",
"failure": "Failing CI test",
"notice": ""
}
}
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ _Put an `x` in the boxes that apply. You can also fill these out after creating
#### General

- [ ] I have read the [CONTRIBUTING](https://github.com/amazon-braket/amazon-braket-sdk-python/blob/main/CONTRIBUTING.md) doc
- [ ] I used the commit message format described in [CONTRIBUTING](https://github.com/amazon-braket/amazon-braket-sdk-python/blob/main/CONTRIBUTING.md#commit-your-change)
- [ ] I used the PR title format described in [CONTRIBUTING](https://github.com/amazon-braket/amazon-braket-sdk-python/blob/main/CONTRIBUTING.md#PR-title-format)
- [ ] I have updated any necessary documentation, including [READMEs](https://github.com/amazon-braket/amazon-braket-sdk-python/blob/main/README.md) and [API docs](https://github.com/amazon-braket/amazon-braket-sdk-python/blob/main/CONTRIBUTING.md#documentation-guidelines) (if appropriate)

#### Tests
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/check-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
pull_request:
branches:
- main
- public-main
- feature/**

permissions:
Expand All @@ -16,15 +17,14 @@ jobs:
check-code-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.9'
python-version: '3.x'
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e .[test]
pip install tox
- name: Run code format checks
run: |
tox -e linters_check
tox -e linters_check -p auto
33 changes: 17 additions & 16 deletions .github/workflows/code-freeze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,21 @@ jobs:
- name: Fetch PR data and check if merge allowed
if: env.FROZEN == 'true'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_TITLE: ${{ github.event.pull_request.title }}
BRANCH_NAME: ${{ github.event.pull_request.head.ref }}
run: |
PR_DATA=$(curl -s \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }})
BRANCH_NAME=$(echo $PR_DATA | jq .head.ref -r)
PR_TITLE=$(echo $PR_DATA | jq .title -r)

echo $BRANCH_NAME
echo $PR_TITLE

if [[ "$BRANCH_NAME" != $UNFROZEN_PREFIX* ]] &&
[[ "$PR_TITLE" != fix:* && "$PR_TITLE" != *"[critical]"* ]]; then
echo "Error: You can only merge from branches that start with '$UNFROZEN_PREFIX', or PRs titled with 'fix: ' and containing '[critical]'."
exit 1
fi
# if it's not a critical fix
if ! [[ "$PR_TITLE" == fix(critical):* ]]; then
# and there's an unfrozen prefix
if [[ -n "${UNFROZEN_PREFIX:-}" ]]; then
# check if the branch matches unfrozen prefix
if [[ "$BRANCH_NAME" != $UNFROZEN_PREFIX* ]]; then
echo "Error: You can only merge from branches that start with '$UNFROZEN_PREFIX', or PRs titled with prefix 'fix(critical): '."
exit 1
fi
# repo is fully frozen
else
echo "Error: You can only merge PRs titled with prefix 'fix(critical): '."
exit 1
fi
fi
9 changes: 4 additions & 5 deletions .github/workflows/dependent-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,17 @@ permissions:
jobs:
build:

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.13"]
dependent:
- amazon-braket-pennylane-plugin-python

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/pr-title-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: "PR Title Checker"

on:
push:
branches:
- main
pull_request:
branches:
- main
- feature/**
pull_request_target:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled

permissions:
pull-requests: write

jobs:
check:
runs-on: ubuntu-latest
steps:
- name: "Check PR Title"
uses: thehanimo/pr-title-checker@v1.4.3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pass_on_octokit_error: false
configuration_path: .github/pr-title-checker-config.json #(optional. defaults to .github/pr-title-checker-config.json)
6 changes: 3 additions & 3 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
name: Build and publish distribution to PyPi
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.x'
- name: Install wheel
Expand All @@ -26,6 +26,6 @@ jobs:
- name: Build a binary wheel and a source tarball
run: python setup.py sdist bdist_wheel
- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@2f6f737ca5f74c637829c0f5c3acd0e29ea5e8bf # release/v1
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # release/v1
with:
password: ${{ secrets.pypi_token }}
14 changes: 8 additions & 6 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
pull_request:
branches:
- main
- public-main
- feature/**

permissions:
Expand All @@ -21,21 +22,22 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e .[test]
pip install tox
- name: Run unit tests
run: |
tox -e unit-tests
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
uses: codecov/codecov-action@fdcc8476540edceab3de004e990f80d881c6cc00 # v5.5.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
if: ${{ strategy.job-index }} == 0
5 changes: 3 additions & 2 deletions .github/workflows/twine-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- public-main
- feature/**

permissions:
Expand All @@ -14,9 +15,9 @@ jobs:
name: Check long description
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Set up Python
uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # v4.7.1
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: '3.x'
- name: Install wheel
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ __pycache__/
/build
/venv
/dist
/model.tar.gz
6 changes: 3 additions & 3 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ sphinx:
# Optionally build your docs in additional formats such as PDF
formats:
- pdf

# setting up build.os and the python version
build:
os: ubuntu-22.04
os: ubuntu-lts-latest
tools:
python: "3.9"
python: latest

# Optionally set the version of Python and requirements required to build your docs
python:
Expand Down
Loading
Loading