diff --git a/CHANGELOG.md b/CHANGELOG.md index 83ac54ffa..b8a9aa145 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Changelog +## v1.75.0 (2024-03-28) + +### Features + + * upgrade to pydantic 2.x + +### Bug Fixes and Other Changes + + * change schemas constraint + +## v1.74.1 (2024-03-27) + +### Bug Fixes and Other Changes + + * temporarily pin the schemas version + ## v1.74.0 (2024-03-21) ### Features diff --git a/model.tar.gz b/model.tar.gz new file mode 100644 index 000000000..93bf6a4a0 Binary files /dev/null and b/model.tar.gz differ diff --git a/setup.py b/setup.py index 16f96bd31..6c0a9e984 100644 --- a/setup.py +++ b/setup.py @@ -27,8 +27,8 @@ packages=find_namespace_packages(where="src", exclude=("test",)), package_dir={"": "src"}, install_requires=[ - "amazon-braket-schemas>=1.20.2", - "amazon-braket-default-simulator>=1.19.1", + "amazon-braket-schemas>=1.21.0", + "amazon-braket-default-simulator>=1.21.2", "oqpy~=0.3.5", "setuptools", "backoff", diff --git a/src/braket/_sdk/_version.py b/src/braket/_sdk/_version.py index 9c443c490..9c4e62904 100644 --- a/src/braket/_sdk/_version.py +++ b/src/braket/_sdk/_version.py @@ -15,4 +15,4 @@ Version number (major.minor.patch[-label]) """ -__version__ = "1.74.1.dev0" +__version__ = "1.75.1.dev0" diff --git a/test/unit_tests/braket/circuits/test_angled_gate.py b/test/unit_tests/braket/circuits/test_angled_gate.py index 4e093e5b4..ae33d4029 100644 --- a/test/unit_tests/braket/circuits/test_angled_gate.py +++ b/test/unit_tests/braket/circuits/test_angled_gate.py @@ -15,7 +15,7 @@ import numpy as np import pytest -from pydantic import BaseModel +from pydantic.v1 import BaseModel from braket.circuits import AngledGate, FreeParameter, FreeParameterExpression, Gate from braket.circuits.angled_gate import DoubleAngledGate, TripleAngledGate diff --git a/test/unit_tests/braket/devices/test_local_simulator.py b/test/unit_tests/braket/devices/test_local_simulator.py index 4877a0b8f..f284b5a6f 100644 --- a/test/unit_tests/braket/devices/test_local_simulator.py +++ b/test/unit_tests/braket/devices/test_local_simulator.py @@ -18,7 +18,7 @@ from unittest.mock import Mock, patch import pytest -from pydantic import create_model # This is temporary for defining properties below +from pydantic.v1 import create_model # This is temporary for defining properties below import braket.ir as ir from braket.ahs.analog_hamiltonian_simulation import AnalogHamiltonianSimulation