From 097528ae75cf5430cf2b61119583c90b1226f57e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Fredrik=20Ki=C3=A6r?= <31612826+anders-kiaer@users.noreply.github.com> Date: Thu, 1 Feb 2024 08:24:17 +0000 Subject: [PATCH] Support Python 3.11 and 3.12 --- .github/workflows/python.yml | 11 ++++++++--- README.md | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index fc9cb070e..e09785d67 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -23,16 +23,16 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] steps: - name: 📖 Checkout commit locally uses: actions/checkout@v3 - - name: 🐍 Set up Python ${{ matrix.python-version }} + - name: 🐍 Set up Python 3.8 uses: actions/setup-python@v4 with: - python-version: ${{ matrix.python-version }} + python-version: 3.8 # For compiling the JavaScript part we need dash<2.5, which is not supported on recent versions of Python - name: Setup Node.js uses: actions/setup-node@v3 @@ -59,6 +59,11 @@ jobs: run: | npm run build + - name: 🐍 Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: 📦 Install webviz-subsurface-components with dependencies run: | pip install --upgrade pip diff --git a/README.md b/README.md index dcd315361..1daa71bf2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ [![PyPI version](https://badge.fury.io/py/webviz-subsurface-components.svg)](https://badge.fury.io/py/webviz-subsurface-components) [![Build Status](https://github.com/equinor/webviz-subsurface-components/workflows/webviz-subsurface-components/badge.svg)](https://github.com/equinor/webviz-subsurface-components/actions?query=branch%3Amaster) -[![Python 3.8 | 3.9 | 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.9 | 3.10 | 3.11 | 3.12](https://img.shields.io/badge/python-3.8%20|%203.9%20|%203.10%20|%203.11%20|%203.12-blue.svg)](https://www.python.org/) [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org) # Webviz subsurface components