-
Notifications
You must be signed in to change notification settings - Fork 342
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
feat: Instruction classes and execution results now support the pickle module #1795
Changes from 6 commits
ddc24ad
ac57650
0279642
ea9e2af
b281730
1bfa5ea
b510380
3e06bc6
a58d5cb
d9c132e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,12 +19,13 @@ packages = [{ include = "pyquil" }] | |
exclude = ["pyquil/conftest.py"] | ||
|
||
[tool.poetry.dependencies] | ||
python = "^3.9,<=3.14" | ||
python = "^3.9,<=4.0" | ||
MarquessV marked this conversation as resolved.
Show resolved
Hide resolved
|
||
numpy = "^1.25" | ||
scipy = "^1.11" | ||
rpcq = "^3.11.0" | ||
networkx = ">=2.5" | ||
qcs-sdk-python = "0.19.0" | ||
qcs-sdk-python = "0.19.2" | ||
quil = ">=0.11.2" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Prior to |
||
packaging = "^23.1" | ||
deprecated = "^1.2.14" | ||
types-deprecated = "^1.2.9.3" | ||
|
@@ -117,6 +118,13 @@ line-ending = "auto" | |
docstring-code-format = true | ||
docstring-code-line-length = "dynamic" | ||
|
||
[tool.ruff.lint.per-file-ignores] | ||
"test/**/*.py" = [ | ||
"D", # docstrings are not enforced in tests | ||
"S101", # asserts are allowed in tests | ||
"S301", # we only deserialize our own data to ensure compatibility with the pickle module | ||
] | ||
|
||
[tool.pytest.ini_options] | ||
filterwarnings = ["ignore::DeprecationWarning:pyquil.*:", "ignore::DeprecationWarning:test.unit.*:"] | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will close #1793.