Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
fail-fast: false
matrix:
dirs: ${{ fromJSON(needs.setup.outputs.dirs) }}
python-version: ['3.13']
python-version: ['3.14']

steps:
- name: Check out repository
Expand Down
4 changes: 2 additions & 2 deletions dask-test/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ authors = [
]
readme = "README.md"
license = {text = "Apache"}
requires-python = "<4.0,>=3.10"
requires-python = "<4.0,>=3.14"
dependencies = [
"dask<2025.0.0,>=2024.8.2",
"distributed<2025.0.0,>=2024.8.2",
Expand Down Expand Up @@ -53,7 +53,7 @@ exclude = [

line-length = 120
indent-width = 4
target-version = "py39"
target-version = "py314"

[tool.ruff.lint]
select = [
Expand Down
713 changes: 201 additions & 512 deletions dask-test/uv.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docker-health-check/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG PLATFORM="linux/amd64"

FROM --platform=${PLATFORM} ghcr.io/astral-sh/uv:python3.13-alpine AS build
FROM --platform=${PLATFORM} ghcr.io/astral-sh/uv:python3.14-alpine AS build

ARG GIT_COMMIT="unknown"
ARG BUILD_DATE=""
Expand Down
3 changes: 2 additions & 1 deletion docker-health-check/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = "<4.0,>=3.13"
requires-python = "<4.0,>=3.14"
dependencies = [
"docker<8.0.0,>=7.1.0",
"anyio<5.0.0.0,>=4.6.2.post1",
Expand Down
402 changes: 166 additions & 236 deletions docker-health-check/uv.lock

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions github/github/client.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import asyncio
import logging
from collections.abc import AsyncIterable
from http import HTTPMethod
from typing import Any
from typing import TYPE_CHECKING, Any

from github import httpclient, providers

if TYPE_CHECKING:
from collections.abc import AsyncIterable

logger = logging.getLogger(__name__)


Expand Down
2 changes: 1 addition & 1 deletion github/github/httpclient.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async def _execute(
@asynccontextmanager
async def _make_request(
self, method: HTTPMethod, url: str, headers: dict[str, str], params: dict[str, Any] | None = None
) -> AsyncGenerator[requests.models.Response, None]:
) -> AsyncGenerator[requests.models.Response]:
async with self._create_session() as session:
response = await session.request(str(method), url, headers=headers, params=params)
response.raise_for_status()
Expand Down
5 changes: 3 additions & 2 deletions github/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = "<4.0,>=3.12"
requires-python = "<4.0,>=3.14"
dependencies = [
"asyncclick<9.0.0.0,>=8.1.7.2",
"backoff<3.0.0,>=2.2.1",
Expand Down Expand Up @@ -68,7 +69,7 @@ exclude = [

line-length = 120
indent-width = 4
target-version = "py39"
target-version = "py314"

[tool.ruff.lint]
select = [
Expand Down
1,217 changes: 492 additions & 725 deletions github/uv.lock

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion hadoop/hadoop/identity/mapper.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env python
import sys
from collections.abc import Iterable
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from collections.abc import Iterable


def main(lines: Iterable[str]) -> None:
Expand Down
5 changes: 4 additions & 1 deletion hadoop/hadoop/identity/reducer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env python
import sys
from collections.abc import Iterable
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from collections.abc import Iterable


def main(lines: Iterable[str]) -> None:
Expand Down
6 changes: 4 additions & 2 deletions hadoop/hadoop/social_media_connect/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@
import itertools
import sys
from collections import defaultdict
from collections.abc import Iterable
from typing import Final, cast
from typing import TYPE_CHECKING, Final, cast

if TYPE_CHECKING:
from collections.abc import Iterable

EXPECTED_VALUES_PER_LINE: Final[int] = 2

Expand Down
5 changes: 4 additions & 1 deletion hadoop/hadoop/social_media_connect/reducer.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#!/usr/bin/env python
import sys
from collections import defaultdict
from collections.abc import Iterable
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from collections.abc import Iterable


def reducer(lines: Iterable[str]) -> Iterable[tuple[str, tuple[str, ...]]]:
Expand Down
5 changes: 4 additions & 1 deletion hadoop/hadoop/word_count/mapper.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env python
import sys
from collections.abc import Iterable
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from collections.abc import Iterable


def mapper(lines: Iterable[str]) -> Iterable[tuple[str, int]]:
Expand Down
5 changes: 4 additions & 1 deletion hadoop/hadoop/word_count/reducer.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env python
import sys
from collections.abc import Iterable
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from collections.abc import Iterable


def reducer(lines: Iterable[str]) -> Iterable[tuple[str, int]]:
Expand Down
5 changes: 3 additions & 2 deletions hadoop/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
requires-python = "<4.0,>=3.10"
requires-python = "<4.0,>=3.14"
dependencies = [
"dask<2025.0.0,>=2024.8.2",
"distributed<2025.0.0,>=2024.8.2",
Expand Down Expand Up @@ -72,7 +73,7 @@ exclude = [

line-length = 120
indent-width = 4
target-version = "py39"
target-version = "py314"

[tool.ruff.lint]
select = [
Expand Down
Loading