From 7b5738ba1616c4b32dbd7a7fe5e8b1698ae4b3da Mon Sep 17 00:00:00 2001 From: Constantine Evans Date: Sun, 5 Nov 2023 00:37:37 +0000 Subject: [PATCH] 3.12 fixes --- .github/workflows/python-tests.yml | 2 +- CHANGELOG.md | 1 + pyproject.toml | 21 +++++++-------------- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/.github/workflows/python-tests.yml b/.github/workflows/python-tests.yml index 34c1662..70910be 100644 --- a/.github/workflows/python-tests.yml +++ b/.github/workflows/python-tests.yml @@ -50,7 +50,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.9", "3.10", "3.11"] # , "3.12.0-beta.4"] + python-version: ["3.9", "3.10", "3.11", "3.12"] # , "3.12.0-beta.4"] steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f27974..4afac15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ SPDX-License-Identifier: EUPL-1.2 - Available data is shown in experiment information. - Change license to EUPL-1.2. - Fixes for new matplotlib versions. +- Support for Python 3.12. # Version 0.10.1 diff --git a/pyproject.toml b/pyproject.toml index 86ed6d7..58e4f60 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,34 +62,27 @@ dependencies = [ ] [project.optional-dependencies] -# Add here additional requirements for extra features, to install with: -# `pip install qslib[PDF]` like: -# PDF = ReportLab; RXP -monitor = ["matrix-nio", "influxdb_client", "toml", "lxml"] +monitor = [ + "aiohttp~=3.9.0b0; python_version >= '3.12'", + "matrix-nio", + "influxdb_client", + "lxml"] docs = [ "myst_parser", "influxdb_client", - "toml", "lxml", "sphinx-click", "sphinx-autodoc-typehints", "sphinx >= 2.4", - "matrix-nio", - "influxdb_client", - "toml", - "lxml", + "qslib[monitor]" ] -# Add here test requirements (semicolon/line-separated) testing = [ "setuptools", "pytest", "pytest-cov", "pytest-asyncio", "hypothesis", - "matrix-nio", - "influxdb_client", - "toml", - "lxml", + "qslib[monitor]", ] [project.urls]