-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade from qtpy with pyqt5 to PyQt6. Using PyQt6 directly should give us better typing. PySide6 was tested, but was unstable.
- Loading branch information
Showing
133 changed files
with
927 additions
and
820 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: install_dependencies_qt | ||
description: Installs dependencies for qt | ||
|
||
inputs: | ||
os: | ||
required: true | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install Ubuntu dependencies | ||
if: inputs.os == 'ubuntu-latest' | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install libegl1 | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,10 @@ | ||
[build-system] | ||
requires = [ | ||
"setuptools", | ||
"setuptools_scm>=8.1", | ||
] | ||
requires = ["setuptools", "setuptools_scm>=8.1"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "ert" | ||
authors = [ | ||
{ name = "Equinor ASA", email = "[email protected]" }, | ||
] | ||
authors = [{ name = "Equinor ASA", email = "[email protected]" }] | ||
description = "Ensemble based Reservoir Tool (ERT)" | ||
requires-python = ">=3.11" | ||
readme = "README.md" | ||
|
@@ -42,7 +37,7 @@ dependencies = [ | |
"matplotlib", | ||
"netCDF4", | ||
"numpy<2", | ||
"openpyxl", # extra dependency for pandas (excel) | ||
"openpyxl", # extra dependency for pandas (excel) | ||
"opentelemetry-api", | ||
"opentelemetry-sdk", | ||
"opentelemetry-instrumentation-fastapi", | ||
|
@@ -54,19 +49,18 @@ dependencies = [ | |
"pluggy>=1.3.0", | ||
"polars>=1", | ||
"psutil", | ||
"pyarrow", # extra dependency for pandas (parquet) | ||
"pyarrow", # extra dependency for pandas (parquet) | ||
"pydantic > 2", | ||
"PyQt5", | ||
"python-dateutil", | ||
"python-multipart", # extra dependency for fastapi | ||
"python-multipart", # extra dependency for fastapi | ||
"pyyaml", | ||
"pyzmq", | ||
"qtpy", | ||
"pyqt6", | ||
"requests", | ||
"resfo", | ||
"scipy >= 1.10.1, < 1.15", | ||
"seaborn", | ||
"tables", # extra dependency for pandas (hdf5) | ||
"tables", # extra dependency for pandas (hdf5) | ||
"tabulate", | ||
"tqdm>=4.62.0", | ||
"typing_extensions>=4.5", | ||
|
@@ -122,11 +116,9 @@ dev = [ | |
"sphinx-autoapi", | ||
"sphinx-copybutton", | ||
"sphinxcontrib.datatemplates", | ||
"json-schema-for-humans" | ||
] | ||
style = [ | ||
"pre-commit", | ||
"json-schema-for-humans", | ||
] | ||
style = ["pre-commit"] | ||
types = [ | ||
"mypy", | ||
"types-lxml", | ||
|
@@ -137,7 +129,7 @@ types = [ | |
"types-docutils", | ||
"types-tqdm", | ||
"types-psutil", | ||
"types-setuptools" | ||
"types-setuptools", | ||
] | ||
everest = [ | ||
"progressbar2", | ||
|
@@ -152,7 +144,7 @@ everest = [ | |
] | ||
|
||
[tool.setuptools] | ||
package-dir = {"" = "src"} | ||
package-dir = { "" = "src" } | ||
platforms = ["all"] | ||
|
||
[tool.setuptools.package-data] | ||
|
@@ -239,9 +231,7 @@ allow-dunder-method-names = [ | |
] | ||
|
||
[tool.ruff.lint.flake8-bugbear] | ||
extend-immutable-calls = [ | ||
"fastapi.Depends", | ||
] | ||
extend-immutable-calls = ["fastapi.Depends"] | ||
|
||
[tool.pyright] | ||
include = ["src"] | ||
|
@@ -252,6 +242,6 @@ pythonVersion = "3.11" | |
|
||
[tool.pyright.defineConstant] | ||
PYSIDE6 = false | ||
PYQT5 = true | ||
PYQT5 = false | ||
PYSIDE2 = false | ||
PYQT6 = false | ||
PYQT6 = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.