Skip to content

Commit

Permalink
fix: Support Python 3.11
Browse files Browse the repository at this point in the history
Co-authored-by: Anders Fredrik Kiær <[email protected]>
  • Loading branch information
andreas-el and anders-kiaer committed May 10, 2024
1 parent 9ff3fac commit b712542
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,27 @@ 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"]

steps:
- name: 📖 Checkout commit locally
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
- name: 🐍 Set up Python 3.8
uses: actions/setup-python@v5
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
with:
node-version: 18

- name: 🐍 Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: 📦 Install build dependencies
# The deckgl types package runs a postscript to setup, but since we ignore scripts, we need to set it up manually.
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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 ](https://img.shields.io/badge/python-3.8%20|%203.9%20|%203.10%20|%203.11-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
Expand Down

0 comments on commit b712542

Please sign in to comment.