Skip to content

Commit

Permalink
Inference Gym: Bump version and fix pytest integration.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 719428575
  • Loading branch information
SiegeLordEx authored and tensorflower-gardener committed Jan 24, 2025
1 parent f310477 commit 0171433
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 11 additions & 1 deletion spinoffs/inference_gym/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,15 @@
"""pytest configuration."""

from absl import app
from absl import flags

# TODO(siege): Find a better solution to duplicating this flag.
flags.DEFINE_bool(
"use_tfds",
False,
"Whether to run tests that use TFDS.",
allow_override=True,
)

collect_ignore = [
"setup.py",
Expand All @@ -26,7 +35,8 @@ def pytest_addoption(parser):
"--absl-flag",
action="append",
help="flag to be passed to absl, e.g. `--absl-flag='--vary_seed'`",
default=[])
default=[],
)


def pytest_collection_finish(session):
Expand Down
2 changes: 1 addition & 1 deletion spinoffs/inference_gym/inference_gym/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# We follow Semantic Versioning (https://semver.org/)
_MAJOR_VERSION = '0'
_MINOR_VERSION = '0'
_PATCH_VERSION = '5'
_PATCH_VERSION = '6'

# When building releases, we can update this value on the release branch to
# reflect the current release candidate ('rc0', 'rc1') or, finally, the official
Expand Down

0 comments on commit 0171433

Please sign in to comment.