Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ jobs:
- name: Generate artifact attestation for sdist and wheel(s)
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a # v3.0.0
with:
subject-path: "dist/*"
subject-path: dist/*
- uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ This project adheres to [Semantic Versioning], with the exception that minor rel

## [Unreleased]

### Added

- 👷 Enable testing on Python 3.14 ([#488]) ([**@denialhaag**])

### Changed

- ✨ Remove support for custom names of trained models ([#489]) ([**@bachase**])
Expand Down Expand Up @@ -45,6 +49,7 @@ _📚 Refer to the [GitHub Release Notes](https://github.com/munich-quantum-tool
<!-- PR links -->

[#489]: https://github.com/munich-quantum-toolkit/predictor/pull/489
[#488]: https://github.com/munich-quantum-toolkit/predictor/pull/488
[#421]: https://github.com/munich-quantum-toolkit/predictor/pull/421
[#406]: https://github.com/munich-quantum-toolkit/predictor/pull/406
[#405]: https://github.com/munich-quantum-toolkit/predictor/pull/405
Expand Down
5 changes: 1 addition & 4 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,7 @@

nox.options.sessions = ["lint", "tests", "minimums"]


# TODO(denialhaag): Add 3.14 when all dependencies support it
# https://github.com/munich-quantum-toolkit/predictor/issues/420
PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12", "3.13"]
PYTHON_ALL_VERSIONS = ["3.10", "3.11", "3.12", "3.13", "3.14"]

if os.environ.get("CI", None):
nox.options.error_on_missing_interpreters = True
Expand Down
21 changes: 17 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,21 @@ dependencies = [
"mqt.bench>=2.0.0",
"qiskit>=1.3.3",
"pytket>=1.29.0", # lowest version that supports the used pytket AutoRebase pass instead of auto_rebase
"pytket>=2.4.0; python_version >= '3.14'",
"pytket_qiskit>=0.61.0",
"qiskit-ibm-runtime>=0.30.0",
"qiskit-ibm-runtime>=0.38.0; python_version >= '3.14'",
"sb3_contrib>=2.0.0",
"tqdm>=4.66.0",
"rich>=12.6.0",
"scikit-learn>=1.5.1",
"tensorboard>=2.17.0",
"bqskit>=1.2.0",
"numpy>=2.1; python_version >= '3.13'",
"numpy>=1.26; python_version >= '3.12'",
"numpy>=1.24; python_version >= '3.11'",
"numpy>=1.22",
"numpy>=1.24; python_version >= '3.11'",
"numpy>=1.26; python_version >= '3.12'",
"numpy>=2.1; python_version >= '3.13'",
"numpy>=2.3.2; python_version >= '3.14'",
"typing-extensions>=4.1", # for `assert_never`
]

Expand Down Expand Up @@ -206,7 +209,7 @@ extend-select = [
"SLF", # flake8-self
"SLOT", # flake8-slots
"SIM", # flake8-simplify
"TC", # flake8-type-checking
"TC", # flake8-type-checking
"TID", # flake8-tidy-imports
"TRY", # tryceratops
"UP", # pyupgrade
Expand Down Expand Up @@ -236,17 +239,27 @@ known-first-party = ["mqt.predictor"]
convention = "google"


[tool.uv]
# symengine>=0.11,<0.14 (optional dependency of qiskit) is incompatible with Python 3.14
override-dependencies = [
"symengine>=0.11,<0.14",
"symengine>=0.14.1; python_version >= '3.14'",
]


[tool.typos]
default.extend-ignore-re = [
'"id": ".*",',
"(?Rm)^.*(#|//)\\s*spellchecker:disable-line$", # ignore line
"(?s)(#|//)\\s*spellchecker:off.*?\\n\\s*(#|//)\\s*spellchecker:on" # ignore block
]

[tool.typos.default.extend-words]
wille = "wille"
anc = "anc"
aer = "aer"
fom = "fom"


[tool.repo-review]
ignore = ["GH200"]
Loading
Loading