Skip to content

Commit 0171433

Browse files
SiegeLordExtensorflower-gardener
authored andcommitted
Inference Gym: Bump version and fix pytest integration.
PiperOrigin-RevId: 719428575
1 parent f310477 commit 0171433

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

spinoffs/inference_gym/conftest.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@
1515
"""pytest configuration."""
1616

1717
from absl import app
18+
from absl import flags
19+
20+
# TODO(siege): Find a better solution to duplicating this flag.
21+
flags.DEFINE_bool(
22+
"use_tfds",
23+
False,
24+
"Whether to run tests that use TFDS.",
25+
allow_override=True,
26+
)
1827

1928
collect_ignore = [
2029
"setup.py",
@@ -26,7 +35,8 @@ def pytest_addoption(parser):
2635
"--absl-flag",
2736
action="append",
2837
help="flag to be passed to absl, e.g. `--absl-flag='--vary_seed'`",
29-
default=[])
38+
default=[],
39+
)
3040

3141

3242
def pytest_collection_finish(session):

spinoffs/inference_gym/inference_gym/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# We follow Semantic Versioning (https://semver.org/)
1818
_MAJOR_VERSION = '0'
1919
_MINOR_VERSION = '0'
20-
_PATCH_VERSION = '5'
20+
_PATCH_VERSION = '6'
2121

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

0 commit comments

Comments
 (0)