Skip to content

Commit

Permalink
Drop support for Python 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
JHolba authored and jonathan-eq committed Dec 6, 2024
1 parent dc73345 commit 5e61770
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ body:
description: |
Please check of the environments where this behavior has been observed.
options:
- label: python 3.10
- label: python 3.11
- label: python 3.12
- label: macosx
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ '3.10', '3.11', '3.12' ]
python-version: [ '3.11', '3.12' ]

uses: ./.github/workflows/build-wheels.yml
with:
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ authors = [
{ name = "Equinor ASA", email = "[email protected]" },
]
description = "Ensemble based Reservoir Tool (ERT)"
requires-python = ">=3.10"
requires-python = ">=3.11"
readme = "README.md"
license = { text = "GPL-3.0" }
classifiers = [
Expand All @@ -21,7 +21,6 @@ classifiers = [
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
Expand Down
2 changes: 1 addition & 1 deletion src/ert/ensemble_evaluator/_wait_for_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ async def wait_for_evaluator(
token: Optional[str] = None,
cert: Optional[Union[str, bytes]] = None,
healthcheck_endpoint: str = "/healthcheck",
timeout: Optional[float] = None,
timeout: Optional[float] = None, # noqa: ASYNC109
connection_timeout: float = 2,
) -> None:
if timeout is None:
Expand Down
4 changes: 3 additions & 1 deletion src/ert/scheduler/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,9 @@ async def _max_runtime_task(self) -> None:
self.returncode.cancel()

async def _verify_checksum(
self, checksum_lock: asyncio.Lock, timeout: Optional[int] = None
self,
checksum_lock: asyncio.Lock,
timeout: Optional[int] = None, # noqa: ASYNC109
) -> None:
if timeout is None:
timeout = self.DEFAULT_CHECKSUM_TIMEOUT
Expand Down
5 changes: 4 additions & 1 deletion src/ert/services/storage_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ def session(cls, timeout: Optional[int] = None) -> Client:
)

@classmethod
async def async_session(cls, timeout: Optional[int] = None) -> httpx.AsyncClient:
async def async_session(
cls,
timeout: Optional[int] = None, # noqa: ASYNC109
) -> httpx.AsyncClient:
"""
Start a HTTP transaction with the server
"""
Expand Down

0 comments on commit 5e61770

Please sign in to comment.