Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pydantic2 #66

Merged
merged 124 commits into from
Jan 18, 2024
Merged

Pydantic2 #66

merged 124 commits into from
Jan 18, 2024

Conversation

wilfried-huss
Copy link
Collaborator

@wilfried-huss wilfried-huss commented Sep 26, 2023

Summary

Port to Pydantic v2.

Details and comments

  • also updates the OpenAPI specification

wilfried-huss and others added 30 commits October 4, 2022 12:22
Merge AQT internal changes #1
Upgrade to Pylint version 2.14.5
* set default url to arnica mvp

* print workspace data as a table
fix installation on windows
* add package upload CI action
* Apply black & isort globally. Move pylint config to pyproject.toml

* Remove coding headers.

* test/test_job: nicer formatting
* resource: pass circuit to submit()

* resource: add offline_simulator

* provider/workspaces: add HTML representation for IPython

* Relax production dependencies constraints

* test: use offline simulator, register pytest plugin

* Fix Iterable import

* test: add simple circuit execution tests

* example: use offline simulator and qiskit.execute

* provider: don't connect to Arnica on CI

* Fix linter errors.

* fixtures/offline_simulator: mock access to submit()

* changelog: add entry for #16

* pyproject: cleanup
* Support MEASURE and arbitrary-angle RXX operations.

* transpiler: wrap Rxx angles

* test: add period-finding example

* test/execution: add test for empty circuit

* test: use np.lcm instead of math.lcm (backwards compatibility)

* changelog: add entries for #19

* test_execution/period_finding: fix types
* test: use Qiskit Operator for circuit equivalence assertions

* Remove unused explicit scipy dependency.
* pyproject: add basic pyright configuration

* workflows: add coverage report comment in PRs

* Update read-target-coverage.py

Co-authored-by: Wilfried Huss <[email protected]>

* Fix wrap_rxx_angle and associated plugin.

The plugin was not registered. Error in test was hiding an error in
the implementation of wrap_rxx_angle.

---------

Co-authored-by: Wilfried Huss <[email protected]>
* Prepare release v0.8.0

* Bump coverage target.
* Relax require Python version.

* Relax Python version requirement, prepare for 0.8.1
* job: improve error handling

* Fix linter error, bump coverage target.

* job: add missing handler for cancelled status
* Update pyproject.toml

* updated poetry.lock
* Run examples with main dependencies. Include in coverage.
* read-target-coverage: move to scripts

* workflows: automatic github release
@airwoodix airwoodix requested a review from fg-aqt January 16, 2024 17:46
@airwoodix airwoodix marked this pull request as ready for review January 16, 2024 17:46
@airwoodix airwoodix merged commit 3a85140 into master Jan 18, 2024
11 checks passed
@airwoodix airwoodix deleted the pydantic2 branch January 18, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants