From 8c2e118b6578538eee02acbb06f4b400de0c9038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tibor=20=C5=A0imko?= Date: Tue, 5 Sep 2023 00:11:41 +0200 Subject: [PATCH] installation: support for Python 3.12 --- .github/workflows/ci.yml | 7 ++++++- CHANGES.rst | 3 ++- setup.py | 3 ++- tox.ini | 4 ++-- 4 files changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9a4fb34a..6d8c4472 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,5 +1,5 @@ # This file is part of REANA. -# Copyright (C) 2020, 2021, 2022 CERN. +# Copyright (C) 2020, 2021, 2022, 2023 CERN. # # REANA is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. @@ -179,6 +179,11 @@ jobs: - testenv: release python: '3.11' + - testenv: lowest + python: '3.12-dev' + + - testenv: release + python: '3.12-dev' steps: - uses: actions/checkout@v3 diff --git a/CHANGES.rst b/CHANGES.rst index ca43a6ba..4446976f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,8 +4,9 @@ Changes Version 0.9.1 (UNRELEASED) -------------------------- -- Changes ``validate`` command to display non-critical validation warnings when checking the REANA specification file. +- Adds support for Python 3.12. - Adds ``prune`` command to delete all intermediate files of a given workflow. +- Changes ``validate`` command to display non-critical validation warnings when checking the REANA specification file. - Fixes ``list`` command to correctly list workflows when sorting them by their run number or by the size of their workspace. - Fixes ``du`` command help message typo. - Fixes ``validation --environments`` command to correctly handle fully qualified image names. diff --git a/setup.py b/setup.py index b8e8445e..2b4afcbc 100644 --- a/setup.py +++ b/setup.py @@ -45,7 +45,7 @@ "click>=7", "pathspec==0.9.0", "jsonpointer>=2.0", - "reana-commons[yadage,snakemake,cwl]>=0.9.3a5,<0.10.0", + "reana-commons[yadage,snakemake,cwl]>=0.9.3a6,<0.10.0", "tablib>=0.12.1,<0.13", "werkzeug>=0.14.1 ; python_version<'3.10'", "werkzeug>=0.15.0 ; python_version>='3.10'", @@ -98,6 +98,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", diff --git a/tox.ini b/tox.ini index dab98b54..9904a694 100644 --- a/tox.ini +++ b/tox.ini @@ -1,11 +1,11 @@ # This file is part of REANA. -# Copyright (C) 2022 CERN. +# Copyright (C) 2022, 2023 CERN. # # REANA is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. [tox] -envlist = py36, py37, py38, py39, py310, py311 +envlist = py36, py37, py38, py39, py310, py311, py312 [testenv] deps = pytest