From ba0f48b30ae95271e53164eab9760dfafa76e077 Mon Sep 17 00:00:00 2001 From: Ryan Shaffer <3620100+rmshaffer@users.noreply.github.com> Date: Tue, 27 Jan 2026 09:58:47 -0500 Subject: [PATCH 1/2] drop Python 3.10 support --- .github/workflows/python-package.yml | 4 ++-- pyproject.toml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 2656393..4763a78 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -20,7 +20,7 @@ jobs: max-parallel: 2 matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12", "3.13"] + python-version: ["3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v6.0.1 - name: Install juliaup @@ -44,4 +44,4 @@ jobs: tox -e unit-tests - name: Upload coverage report to Codecov uses: codecov/codecov-action@v5 - if: ${{ strategy.job-index }} == 0 + if: ${{ strategy.job-index == 0 }} diff --git a/pyproject.toml b/pyproject.toml index 62ee271..8ea725b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,14 +7,13 @@ name = "amazon-braket-simulator-v2" description = "Local simulation of quantum circuits" readme = {file = "README.md", content-type = "text/markdown"} license = {file = "LICENSE"} -requires-python = ">=3.10" +requires-python = ">=3.11" classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Natural Language :: English", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", From 12459d5c8652f75b8949938805da59de6f135eaf Mon Sep 17 00:00:00 2001 From: Ryan Shaffer <3620100+rmshaffer@users.noreply.github.com> Date: Tue, 27 Jan 2026 17:24:15 -0500 Subject: [PATCH 2/2] update ruff target version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 8ea725b..db3f89f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ optional-dependencies.test = { file = "requirements-test.txt" } [tool.ruff] -target-version = "py310" +target-version = "py311" line-length = 100 format.preview = true format.docstring-code-line-length = 100