From 931082c37bb1c2f99f63349bf1af97e879b9aea6 Mon Sep 17 00:00:00 2001 From: hanne-opseth-rygg-4ss <142307980+hanne-opseth-rygg-4ss@users.noreply.github.com> Date: Mon, 30 Oct 2023 14:28:52 +0100 Subject: [PATCH] get_sensors return serial number (#39) --- .github/workflows/ci.yaml | 4 ++-- .github/workflows/deploy_public.yml | 6 +++--- docs/getting_started.rst | 2 +- setup.cfg | 4 ++-- tox.ini | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ef8eed4..5ecc737 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.8, 3.9, "3.10"] + python-version: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v2 @@ -38,4 +38,4 @@ jobs: - name: Test doc build with tox run: tox -e docs - if: ${{ (matrix.python-version == '3.9') && (matrix.os == 'ubuntu-latest')}} \ No newline at end of file + if: ${{ (matrix.python-version == '3.10') && (matrix.os == 'ubuntu-latest')}} \ No newline at end of file diff --git a/.github/workflows/deploy_public.yml b/.github/workflows/deploy_public.yml index 23916f9..3ab7f01 100644 --- a/.github/workflows/deploy_public.yml +++ b/.github/workflows/deploy_public.yml @@ -35,16 +35,16 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.10" - name: Install dependencies run: | python -m pip install --upgrade pip python -m pip install build sphinx==5.3.0 pydata_sphinx_theme==0.11.0 - python -m pip install --upgrade myst_parser + python -m pip install --upgrade myst_parser<2.0 - name: Get new version number from input id: version_number diff --git a/docs/getting_started.rst b/docs/getting_started.rst index 110b173..647a9da 100644 --- a/docs/getting_started.rst +++ b/docs/getting_started.rst @@ -8,7 +8,7 @@ Head over to `Python.org`_ for instructions. Python version support ---------------------- -Officially Python 3.8, 3.9, and 3.10. We aim to support the three most +Officially Python 3.9, 3.10, and 3.11. We aim to support the three most recent major versions. OS support diff --git a/setup.cfg b/setup.cfg index 59833cd..127752c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -13,14 +13,14 @@ project_urls = classifiers = License :: OSI Approved :: MIT License Operating System :: OS Independent - Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 [options] zip_safe = False packages = find_namespace: -python_requires = >=3.8 +python_requires = >=3.9 install_requires = fourinsight-api pandas diff --git a/tox.ini b/tox.ini index ac4554c..85f0bbb 100644 --- a/tox.ini +++ b/tox.ini @@ -12,10 +12,10 @@ deps = pytest-cov [testenv:docs] -basepython = python3.9 +basepython = python3.10 changedir = docs deps = sphinx==5.3.0 pydata_sphinx_theme==0.11.0 - myst_parser + myst_parser<2.0 commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html