From 73080105208e5d6d630b2b110d0d5a80e52ca869 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Einar=20Bjartnes?= <88324093+bjorn-einar-bjartnes-4ss@users.noreply.github.com> Date: Wed, 14 May 2025 08:13:02 +0200 Subject: [PATCH 1/2] ESS-3438 Update to Python 3.11 to 3.13 --- .github/workflows/ci.yml | 4 ++-- .github/workflows/deploy_public.yml | 4 ++-- docs/getting_started.rst | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 853dd0f1..f5906c97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.10", "3.11", "3.12"] + python-version: ["3.11", "3.12", "3.13"] 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.11') && (matrix.os == 'ubuntu-latest')}} + if: ${{ (matrix.python-version == '3.12') && (matrix.os == 'ubuntu-latest')}} diff --git a/.github/workflows/deploy_public.yml b/.github/workflows/deploy_public.yml index 6f512c9d..5da63a87 100644 --- a/.github/workflows/deploy_public.yml +++ b/.github/workflows/deploy_public.yml @@ -35,10 +35,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Install dependencies run: | diff --git a/docs/getting_started.rst b/docs/getting_started.rst index b9756b94..e8803e7c 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.10, 3.11, and 3.12. We aim to support the three most +Officially Python 3.11, 3.12, and 3.13. We aim to support the three most recent major versions. OS support From 610f74dc2fdf725f16eaf6e10cf4ee83b7ff99b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Einar=20Bjartnes?= <88324093+bjorn-einar-bjartnes-4ss@users.noreply.github.com> Date: Wed, 14 May 2025 08:14:20 +0200 Subject: [PATCH 2/2] ESS-3438 Update and reformat pyproject --- pyproject.toml | 49 ++++++++++++++++++++++++------------------------- 1 file changed, 24 insertions(+), 25 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 89d44794..f13ab082 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,34 +4,32 @@ build-backend = "setuptools.build_meta" [project] name = "datareservoirio" -authors = [ - { name="4Subsea", email="support@4subsea.com" } -] +authors = [{ name = "4Subsea", email = "support@4subsea.com" }] dynamic = ["version"] description = "DataReservoir.io Python API" readme = "README.rst" -license = { file="LICENSE" } -requires-python = ">3.10" +license = { file = "LICENSE" } +requires-python = ">3.11" classifiers = [ - "Development Status :: 5 - Production/Stable", - "License :: OSI Approved :: MIT License", - "Operating System :: OS Independent", - "Programming Language :: Python :: 3.10", - "Programming Language :: Python :: 3.11", - "Programming Language :: Python :: 3.12", + "Development Status :: 5 - Production/Stable", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", ] dependencies = [ - "numpy", - "oauthlib", - "pandas", - "pyarrow", - "requests", - "requests-oauthlib", - "importlib_resources", - "opencensus-ext-azure", - "tenacity<8.5", - "urllib3 > 2", - "tqdm" + "numpy", + "oauthlib", + "pandas", + "pyarrow", + "requests", + "requests-oauthlib", + "importlib_resources", + "opencensus-ext-azure", + "tenacity<8.5", + "urllib3 > 2", + "tqdm", ] [project.urls] @@ -45,7 +43,7 @@ include = ["datareservoirio*"] namespaces = false [tool.setuptools.dynamic] -version = {attr = "datareservoirio.__version__"} +version = { attr = "datareservoirio.__version__" } [tool.pytest.ini_options] pythonpath = [".", "src"] @@ -68,10 +66,11 @@ deps = [testenv:docs] -basepython = python3.11 +basepython = python3.12 commands = sphinx-build -W -b html -d {toxworkdir}/docs_doctree docs {toxworkdir}/docs_out deps = sphinx==5.3.0 pydata-sphinx-theme==0.11.0 myst_parser<2.0 -""" \ No newline at end of file +""" +