diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3aeb87dd..87f60c1c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -111,12 +111,12 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [3.8, 3.9, '3.10', 3.11] + python-version: [3.8, 3.9, '3.10', 3.11, 3.12] include: - os: macos-latest python-version: 3.8 - os: macos-latest - python-version: 3.11 + python-version: 3.12 - os: windows-latest python-version: 3.8 - os: windows-latest @@ -172,7 +172,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [3.8, 3.11] + python-version: [3.8, 3.12] steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 @@ -208,7 +208,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: [3.8, 3.11] + python-version: [3.8, 3.12] steps: - uses: actions/checkout@v3 with: @@ -276,14 +276,18 @@ jobs: with: name: ubuntu-latest-3.11 path: /tmp/u311 + - uses: actions/download-artifact@v3 + with: + name: ubuntu-latest-3.12 + path: /tmp/u312 - uses: actions/download-artifact@v3 with: name: macos-latest-3.8 path: /tmp/m38 - uses: actions/download-artifact@v3 with: - name: macos-latest-3.11 - path: /tmp/m311 + name: macos-latest-3.12 + path: /tmp/m312 - uses: actions/download-artifact@v3 with: name: windows-latest-3.8 @@ -297,7 +301,7 @@ jobs: shell: bash - name: Combined Deprecation Messages run: | - sort -f -u /tmp/u38/alg.dep /tmp/u39/alg.dep /tmp/u310/alg.dep /tmp/u311/alg.dep /tmp/m38/alg.dep /tmp/m311/alg.dep /tmp/w38/alg.dep /tmp/w311/alg.dep || true + sort -f -u /tmp/u38/alg.dep /tmp/u39/alg.dep /tmp/u310/alg.dep /tmp/u311/alg.dep /tmp/u312/alg.dep /tmp/m38/alg.dep /tmp/m312/alg.dep /tmp/w38/alg.dep /tmp/w311/alg.dep || true shell: bash - name: Coverage combine run: coverage3 combine /tmp/u38/alg.dat diff --git a/releasenotes/notes/py_3_12_support-13aa1a32494d25e7.yaml b/releasenotes/notes/py_3_12_support-13aa1a32494d25e7.yaml new file mode 100644 index 00000000..743e4740 --- /dev/null +++ b/releasenotes/notes/py_3_12_support-13aa1a32494d25e7.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + Added support for using Qiskit Algorithms with Python 3.12. diff --git a/setup.py b/setup.py index d7e89838..3413e934 100644 --- a/setup.py +++ b/setup.py @@ -65,6 +65,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering", ], keywords="qiskit sdk quantum algorithms",