Skip to content

Commit

Permalink
Build with python 3.11 and unpin opm
Browse files Browse the repository at this point in the history
Use different opm versions for different python versions
Also build and test using python 3.11
  • Loading branch information
andreas-el authored and anders-kiaer committed May 7, 2024
1 parent 9fa61e3 commit 3f9325a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/subsurface.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

steps:
- name: 🧹 Remove unused pre-installed software
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.svg)](https://badge.fury.io/py/webviz-subsurface)
[![Build Status](https://github.com/equinor/webviz-subsurface/workflows/webviz-subsurface/badge.svg)](https://github.com/equinor/webviz-subsurface/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/)
![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)

## Webviz subsurface
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@
"fmu-tools>=1.8",
"geojson>=2.5.0",
"jsonschema>=3.2.0",
"opm>=2020.10.1,<=2022.10; sys_platform=='linux'",
"opm>=2020.10.1,<2023.10; python_version=='3.8' and sys_platform=='linux'",
"opm>=2023.10; python_version>'3.8' and sys_platform=='linux'",
"pandas>=1.1.5,<2.0",
"pillow>=6.1",
"pyarrow>=5.0.0",
Expand Down

0 comments on commit 3f9325a

Please sign in to comment.