-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace requirement files with pyproject #6116
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
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 was deleted.
Oops, something went wrong.
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,5 +1,4 @@ | ||
[build-system] | ||
|
||
requires = [ | ||
"setuptools<64", | ||
"setuptools_scm[toml]>=6.2", | ||
|
@@ -12,7 +11,148 @@ requires = [ | |
"pybind11>=2.10.0", # If this comes out of sync with the version installed by Conan please update the version in CMakeLists | ||
"grpcio-tools", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
berland marked this conversation as resolved.
Show resolved
Hide resolved
|
||
name = "ert" | ||
authors = [ | ||
{name = "Equinor ASA", email = "[email protected]"}, | ||
] | ||
description = "Ensemble based Reservoir Tool (ERT)" | ||
requires-python = ">=3.8" | ||
readme = "README.md" | ||
license = {text = "GPL-3.0"} | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Other Environment", | ||
"Intended Audience :: Science/Research", | ||
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", | ||
"Natural Language :: English", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Scientific/Engineering", | ||
"Topic :: Scientific/Engineering :: Physics", | ||
] | ||
dynamic = ["version"] | ||
dependencies=[ | ||
"aiofiles", | ||
"aiohttp", | ||
"alembic", | ||
"ansicolors==1.1.8", | ||
"async-generator", | ||
"beartype > 0.11", | ||
"cloudevents>=1.6.0", | ||
"cloudpickle", | ||
"tqdm>=4.62.0", | ||
"cryptography", | ||
"cwrap", | ||
"dask_jobqueue", | ||
"deprecation", | ||
"dnspython >= 2", | ||
"ecl >= 2.14.1", | ||
"ert-storage >= 0.3.16", | ||
"fastapi < 0.100.0", | ||
"filelock", | ||
"graphlib_backport; python_version < '3.9'", | ||
"iterative_ensemble_smoother>=0.1.1", | ||
"typing_extensions", | ||
"jinja2", | ||
"lark", | ||
"matplotlib", | ||
"numpy<2", | ||
"packaging", | ||
"pandas", | ||
"pluggy>=1.3.0", | ||
"protobuf", | ||
"psutil", | ||
"pydantic >= 1.10.8, < 2", | ||
"PyQt5", | ||
"pyrsistent", | ||
"python-dateutil", | ||
"pyyaml", | ||
"qtpy", | ||
"requests", | ||
"scipy >= 1.10.1", | ||
"sqlalchemy", | ||
"uvicorn >= 0.17.0", | ||
"websockets", | ||
"httpx", | ||
"tables", | ||
"xarray", | ||
"xtgeo >= 3.3.0", | ||
"netCDF4", | ||
"sortedcontainers" | ||
] | ||
|
||
[project.scripts] | ||
ert = "ert.__main__:main" | ||
"job_dispatch.py" = "_ert_job_runner.job_dispatch:main" | ||
|
||
[project.urls] | ||
Repository = "https://github.com/equinor/ert" | ||
|
||
[project.optional-dependencies] | ||
dev = [ | ||
"click", | ||
"decorator", | ||
"ecl_data_io", | ||
"furo", | ||
"flaky", | ||
"grpcio-tools", | ||
"hypothesis<=6.83.0; python_version=='3.8'", # ipython pinned to 8.12.2 for python 3.8 support | ||
"hypothesis; python_version>='3.9'", | ||
"jsonpath_ng", | ||
"jupytext", | ||
"oil_reservoir_synthesizer", | ||
"pytest-asyncio", | ||
"pytest-benchmark", | ||
"pytest-cov", | ||
"pytest-memray", | ||
"pytest-mock", | ||
"pytest-mpl", | ||
"pytest-qt", | ||
"pytest-raises", | ||
"pytest-snapshot", | ||
"pytest-timeout", | ||
"pytest-xdist", | ||
"pytest>6", | ||
"requests", | ||
"scikit-build", | ||
"setuptools_scm", | ||
"sortedcontainers", | ||
"sphinx<7.2", | ||
"sphinx-argparse", | ||
"sphinx-autoapi", | ||
"sphinx-copybutton", | ||
"sphinxcontrib-plantuml", | ||
"sphinxcontrib.datatemplates", | ||
"testpath", | ||
] | ||
style = [ | ||
"cmake-format", | ||
"black", | ||
"ruff", | ||
"pylint", | ||
"pylint-protobuf" | ||
] | ||
types = [ | ||
"mypy", | ||
"mypy-protobuf<3.4", | ||
"types-aiofiles", | ||
"types-requests", | ||
"types-PyYAML", | ||
"types-python-dateutil", | ||
"types-decorator", | ||
"types-docutils", | ||
"types-protobuf", | ||
"types-tqdm", | ||
] | ||
|
||
[tool.setuptools] | ||
platforms = ["all"] | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "-ra --strict-markers" | ||
|
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line was removed further up, it should not be removed here?