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: 2 additions & 0 deletions auth/test/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[pytest]
asyncio_mode = auto
asyncio_default_fixture_loop_scope = session
asyncio_default_test_loop_scope = session
addopts = --strict-markers
markers =
unchecked_allocator: tests that use the unchecked allocator
Expand Down
18 changes: 6 additions & 12 deletions batch/pinned-requirements.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions batch/test/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import asyncio
import hashlib
import logging
import os
Expand All @@ -11,15 +10,6 @@
log = logging.getLogger(__name__)


@pytest.fixture(scope="session")
def event_loop():
loop = asyncio.get_event_loop()
try:
yield loop
finally:
loop.close()


@pytest.fixture(autouse=True)
def log_before_after():
log.info('starting test')
Expand Down
2 changes: 2 additions & 0 deletions batch/test/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[pytest]
asyncio_mode = auto
asyncio_default_fixture_loop_scope = session
asyncio_default_test_loop_scope = session
addopts = --strict-markers
markers =
unchecked_allocator: tests that use the unchecked allocator
Expand Down
1 change: 1 addition & 0 deletions build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2750,6 +2750,7 @@ steps:
-vv \
--instafail \
--durations=50 \
--asyncio-mode=auto \
/io/test_requester_pays_parsing.py
inputs:
- from: /derived/release/hail/build/deploy/dist
Expand Down
2 changes: 1 addition & 1 deletion check_pip_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ do
new_pinned_no_comments=$(mktemp)

uv pip compile \
--python-version 3.10 \
--python-version 3.11 \
--python-platform linux \
--quiet $reqs $pinned --output-file=$new_pinned
# Get rid of comments that might differ despite requirements being the same
Expand Down
6 changes: 2 additions & 4 deletions ci/pinned-requirements.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions ci/test/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[pytest]
asyncio_mode = auto
asyncio_default_fixture_loop_scope = session
asyncio_default_test_loop_scope = session
17 changes: 5 additions & 12 deletions gear/pinned-requirements.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion generate-pip-lockfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ set -ex

package=$1
uv pip compile \
--python-version 3.10 \
--python-version 3.11 \
--python-platform linux \
--upgrade $package/requirements.txt --output-file=$package/pinned-requirements.txt
Loading
Loading