Skip to content
Open
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 .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
parameters:
python-version:
type: string
default: "3.11"
default: "3.14"
publish-branch:
type: string
default: "main"
Expand Down
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies = [
"minio>=7.2.8",
"owslib>=0.35.0",
"progressist>=0.1.0",
"pyarrow>=16.1.0",
"pyarrow>=23.0.0",
"python-magic>=0.4.25",
"python-slugify>=8.0.4",
"redis>=4.1.4",
Expand All @@ -29,7 +29,7 @@ dependencies = [
"tippecanoe>=2.72.0",
"typer>=0.15.1",
]
requires-python = ">=3.11,<3.14"
requires-python = ">=3.11,<3.15"
license = { text = "MIT" }
readme = "README.md"

Expand All @@ -39,7 +39,7 @@ dev = [
"aioresponses>=0.7.3",
"gunicorn>=20.1.0",
"mypy>=1.11.0",
"nest_asyncio2>=1.7.1",
"nest-asyncio2>=1.7.1",
"pytest>=8.3.0",
"pytest-asyncio>=1.1.0",
"pytest-cov>=5.0.0",
Expand Down
9 changes: 8 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@
NOT_EXISTING_RESOURCE_ID = "5d0b2b91-b21b-4120-83ef-83f818ba2451"
pytestmark = pytest.mark.asyncio

nest_asyncio.apply()
# nest_asyncio2 skips _patch_loop() in Python 3.14 when no event loop is running
# at import time (get_event_loop() raises RuntimeError, returning None).
# Passing an explicit temporary loop forces _patch_loop() to run, which patches
# the loop class so all subsequent event loops (including those created by
# pytest-asyncio per test) have the nested run_until_complete support.
_bootstrap_loop = asyncio.new_event_loop()
nest_asyncio.apply(_bootstrap_loop)
_bootstrap_loop.close()

log = logging.getLogger("udata-hydra")

Expand Down
Loading