Skip to content
Merged
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 .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quantumsolver",
"image": "mcr.microsoft.com/devcontainers/python:3.13",
"image": "mcr.microsoft.com/devcontainers/python:3.14",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": { "moby": false },
"ghcr.io/reduxisu/features/rbs:1": {}
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.13
3.14
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The uv version is pinned so builds are repeatable; Dependabot (docker ecosystem) bumps it.
# ---- build stage: produce a wheel with uv's build backend ----
FROM ghcr.io/astral-sh/uv:0.13.9-python3.13-trixie-slim AS build
FROM ghcr.io/astral-sh/uv:0.13.9-python3.14-trixie-slim AS build

WORKDIR /src
COPY . .
Expand All @@ -10,7 +10,7 @@ RUN uv build --wheel --out-dir /dist \
&& uv export --locked --no-dev --no-emit-project -o /dist/requirements.txt

# ---- runtime stage: install the wheel that was just built ----
FROM ghcr.io/astral-sh/uv:0.13.9-python3.13-trixie-slim
FROM ghcr.io/astral-sh/uv:0.13.9-python3.14-trixie-slim

RUN groupadd --system quantumsolver \
&& useradd --system --gid quantumsolver --no-create-home quantumsolver
Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
This is a flask application that will integrates with [Redux](https://github.com/ReduxISU/Redux) to provide qiskit based solvers
for problems.

**Python 3.12+ is required** (CI tests 3.12 and 3.13). Dependencies and the environment are managed
**Python 3.12+ is required** (CI tests 3.12, 3.13 and 3.14). Dependencies and the environment are managed
with [uv](https://docs.astral.sh/uv/).

## Getting Started

Install [uv](https://docs.astral.sh/uv/getting-started/installation/), then sync the
environment (uv installs Python 3.13 automatically if it isn't already present):
environment (uv installs Python 3.14 automatically if it isn't already present):

```
cd the-location-of-this-README.md
Expand Down Expand Up @@ -47,6 +47,7 @@ To match CI, run against both supported Python versions:
```
uv run --python 3.12 pytest -v
uv run --python 3.13 pytest -v
uv run --python 3.14 pytest -v
```

Lint (ruff) and format check (black):
Expand All @@ -60,7 +61,7 @@ uv run black --check .

One workflow, `.github/workflows/rbs.yml`, runs the whole pipeline through the
[Redux Build System](https://github.com/ReduxISU/Redux_Build_System) inside this repo's devcontainer:
`audit → format-check → lint → unit-test (3.12, 3.13) → build → integration-test → push`. Gates and
`audit → format-check → lint → unit-test (3.12, 3.13, 3.14) → build → integration-test → push`. Gates and
thresholds live in `rbs.toml`. The same command runs locally:

```
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies = [
"Flask==3.1.3",
"requests==2.34.2",
"qiskit==2.4.1",
"qiskit-aer==0.17.2",
"qiskit-aer==0.18.4",
"scipy==1.18.0",
"gunicorn==24.1.1",
]
Expand All @@ -28,7 +28,7 @@ requires = ["uv_build>=0.10,<0.11"]
build-backend = "uv_build"

[tool.black]
target-version = ["py312", "py313"]
target-version = ["py312", "py313", "py314"]

[tool.ruff]
line-length = 88
Expand Down
2 changes: 1 addition & 1 deletion rbs.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ engine = "uv"
package = "quantumsolver"

[unit-test]
python-versions = ["3.12", "3.13"]
python-versions = ["3.12", "3.13", "3.14"]
coverage-min = 85

[artifact]
Expand Down
53 changes: 31 additions & 22 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading