From 040801f61da2f95d678ce647df56575845f1209e Mon Sep 17 00:00:00 2001 From: larsevj Date: Thu, 25 Jan 2024 13:34:59 +0100 Subject: [PATCH] Add Python3.11 to tests --- .github/workflows/codecov.yml | 4 ++-- .github/workflows/pyscal.yml | 10 ++++++---- README.md | 2 +- pyproject.toml | 1 + 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index b73ec036..0cb850a4 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -13,7 +13,7 @@ jobs: os: [ubuntu-latest] env: OS: ${{ matrix.os }} - PYTHON: '3.8' + PYTHON: '3.11' steps: - uses: actions/checkout@main @@ -21,7 +21,7 @@ jobs: - name: Setup Python uses: actions/setup-python@main with: - python-version: 3.8 + python-version: 3.11 - name: Install pyscal and test dependencies run: | diff --git a/.github/workflows/pyscal.yml b/.github/workflows/pyscal.yml index 4918c672..5be4a957 100644 --- a/.github/workflows/pyscal.yml +++ b/.github/workflows/pyscal.yml @@ -16,7 +16,7 @@ on: env: # Default python version to be use to create docs - DEFAULT_PYTHON_VERSION: "3.10" + DEFAULT_PYTHON_VERSION: "3.11" jobs: pyscal: @@ -30,14 +30,16 @@ jobs: python-version: "3.9" - os: "ubuntu-latest" python-version: "3.10" - - os: "macos-latest" + - os: "ubuntu-latest" python-version: "3.10" + - os: "macos-latest" + python-version: "3.11" - os: "windows-latest" - python-version: "3.10" + python-version: "3.11" steps: - name: Checkout commit locally - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/README.md b/README.md index 145acd4c..ac411531 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![Build Status](https://github.com/equinor/pyscal/actions/workflows/pyscal.yml/badge.svg)](https://github.com/equinor/pyscal/actions?query=workflow%3Apyscal) [![codecov](https://codecov.io/gh/equinor/pyscal/branch/master/graph/badge.svg)](https://codecov.io/gh/equinor/pyscal) -[![Python 3.8-3.10](https://img.shields.io/badge/python-3.8%20|%203.9%20|%203.10-blue.svg)](https://www.python.org) +[![Python 3.8-3.11](https://img.shields.io/badge/python-3.8%20|%203.9%20|%203.10|%203.11-blue.svg)](https://www.python.org) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://black.readthedocs.io/) [![PyPI version](https://badge.fury.io/py/pyscal.svg)](https://badge.fury.io/py/pyscal) [![Downloads](https://pepy.tech/badge/pyscal)](https://pepy.tech/project/pyscal) diff --git a/pyproject.toml b/pyproject.toml index 2e803a9b..4aa30dad 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,6 +33,7 @@ classifiers = [ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", "Natural Language :: English", "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", ]