From 1327fc0a1bd380c9a01daf7dbe419366647a508c Mon Sep 17 00:00:00 2001 From: CJ Steiner Date: Fri, 20 Dec 2024 08:00:59 -0600 Subject: [PATCH] packaging: update python versions to be supported, mark package as Production/Stable --- .github/workflows/python-package.yml | 4 ++-- README.rst | 7 ++----- pyproject.toml | 12 +++++------- setup.cfg | 10 ++++------ 4 files changed, 13 insertions(+), 20 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 14e7ee03..1acf2cae 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -23,8 +23,8 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] - token: ["stable", "latest"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] + token: ["stable"] steps: - name: Harden Runner diff --git a/README.rst b/README.rst index 7fc11722..4380485c 100644 --- a/README.rst +++ b/README.rst @@ -4,9 +4,6 @@ jenkinsapi .. image:: https://badge.fury.io/py/jenkinsapi.png :target: http://badge.fury.io/py/jenkinsapi -.. image:: https://travis-ci.com/pycontribs/jenkinsapi.png?branch=master - :target: https://travis-ci.com/pycontribs/jenkinsapi - .. image:: https://codecov.io/gh/pycontribs/jenkinsapi/branch/master/graph/badge.svg :target: https://codecov.io/gh/pycontribs/jenkinsapi @@ -142,7 +139,7 @@ Python versions The project has been tested against Python versions: -* 3.8 - 3.11 +* 3.8 - 3.13 * 2.7 - last version compatible with Python 2.7 is tagged Py2 in repository and available on PyPi as version 0.3.13 Jenkins versions @@ -177,4 +174,4 @@ The above copyright notice and this permission notice shall be included in all c THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -.. _Java: http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html +.. _Java: https://www.oracle.com/java/technologies/downloads/#java17 diff --git a/pyproject.toml b/pyproject.toml index dabe7120..513a55f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,7 @@ description = "A Python API for accessing resources on a Jenkins continuous-inte readme = "README.rst" license = {text = "MIT license"} classifiers = [ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Information Technology", @@ -24,19 +24,17 @@ classifiers = [ "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.4", - "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", "Topic :: Software Development :: Testing", "Topic :: Utilities", ] -requires_python = ">=2.7" +requires_python = ">=3.8" dynamic = ["version"] dependencies = [ "pytz>=2014.4", diff --git a/setup.cfg b/setup.cfg index f3746251..bebd744c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,7 +6,7 @@ summary = A Python API for accessing resources on a Jenkins continuous-integrati description-file = README.rst license = MIT classifier = - Development Status :: 4 - Beta + Development Status :: 5 - Production/Stable Environment :: Console Intended Audience :: Developers Intended Audience :: Information Technology @@ -16,15 +16,13 @@ classifier = Operating System :: OS Independent Operating System :: OS Independent Programming Language :: Python - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 - Programming Language :: Python :: 3.4 - Programming Language :: Python :: 3.5 - Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Topic :: Software Development :: Testing Topic :: Utilities