Changelog for
python311-abseil-2.1.0-lp160.2.2.noarch.rpm :
* Wed Jun 12 2024 Stefan Brüns
- Update to version 2.1.0
* Added: + (flags) Added absl.flags.override_value function to provide FlagHolder with a construct to modify values. + (testing) Added a new method absltest.TestCase.assertDataclassEqual that tests equality of dataclass.dataclass objects with better error messages when the assert fails.
* Changed + (flags) absl.flags.argparse_flags.ArgumentParser now correctly inherits an empty instance of FlagValues to ensure that absl flags, such as --flagfile, --undefok are supported. + (testing) Do not exit 5 if tests were skipped on Python 3.12. This follows the CPython change in python/cpython#113856.
* Fixed + (flags) The flag foo no longer retains the value bar after FLAGS.foo = bar fails due to a validation error. + (testing) Fixed an issue caused by this Python 3.12.1 change where the test reporter crashes when all tests are skipped.- Update to version 2.0.0
* Changed + absl-py no longer supports Python 3.6. + Support Python 3.12. + (logging) logging.exception can now take exc_info as argument, with default value True. + (testing) For Python 3.11+, the calls to absltest.TestCase.enter_context are forwarded to unittest.TestCase.enterContext (when called via instance) or unittest.TestCase.enterClassContext (when called via class) now. + (testing) absltest.TestCase.assertSameStructure() now uses the test case\'s equality functions (registered with TestCase.addTypeEqualityFunc()) for comparing leaves of the structure. + (testing) abslTest.TestCase.fail() now names its arguments (self, msg=None, user_msg=None), and not (self, msg=None, prefix=None), better reflecting the behavior and usage of the two message arguments. + DEFINE_enum, DEFINE_multi_enum, and EnumParser now raise errors when enum_values is provided as a single string value. Additionally, EnumParser.enum_values is now stored as a list copy of the provided enum_values parameter. + (testing) Updated paramaterized.CoopTestCase() to use Python 3 metaclass idioms. + (testing) absltest.TestCase.assertSequenceStartsWith now explicitly fail when passed a Mapping or Set object as the whole argument.
* Tue Apr 30 2024 Andrii Nikitin - spec: use %{?sle15allpythons} instead of %{?sle15_python_module_pythons} to allow building protobuf for SLE15-SP6 in NON_Public:BuildOPS:hefur
* Wed Sep 27 2023 ecsos - Add %{?sle15_python_module_pythons}
* Thu May 25 2023 Adrian Schröter - version update to 1.4.0 New (testing) Added AATTflagsaver.as_parsed: this allows saving/restoring flags using string values as if parsed from the command line and will also reflect other flag states after command line parsing, e.g. .present is set. Changed (logging) If no log dir is specified logging.find_log_dir() now falls back to tempfile.gettempdir() instead of /tmp/. Fixed (flags) Additional kwargs (e.g. short_name=) to DEFINE_multi_enum_class are now correctly passed to the underlying Flag object.
* Thu Sep 15 2022 pgajdosAATTsuse.com- version update to 1.2.0 [#]# 1.2.0 (2022-07-18)
* Fixed a crash in Python 3.11 when `TempFileCleanup.SUCCESS` is used. [#]# 1.1.0 (2022-06-01)
* `Flag` instances now raise an error if used in a bool context. This prevents the occasional mistake of testing an instance for truthiness rather than testing `flag.value`.
* `absl-py` no longer depends on `six`.- do not require python-six
* Thu Dec 09 2021 Ben Greiner - Update to version 1.0.0
* absl-py no longer supports Python 2.7, 3.4, 3.5. All versions have reached end-of-life for more than a year now.
* New releases will be tagged as vX.Y.Z instead of pypi-vX.Y.Z in the git repo going forward.- Release notes for 0.15.0
* (testing) #128: When running bazel with its --test_filter= flag, it now treats the filters as unittest\'s -k flag in Python 3.7+.- Release notes for 0.14.1
* Top-level LICENSE file is now exported in bazel.- Release notes for 0.14.0
* #171: Creating argparse_flags.ArgumentParser with argument_default= no longer raises an exception when other absl.flags flags are defined.
* #173: absltest now correctly sets up test filtering and fail fast flags when an explicit argv= parameter is passed to absltest.main.- Release notes for 0.13.0
* (app) Type annotations for public app interfaces.
* (testing) Added new decorator AATTabsltest.skipThisClass to indicate a class contains shared functionality to be used as a base class for other TestCases, and therefore should be skipped.
* (app) Annotated the flag_parser paramteter of run as keyword-only. This keyword-only constraint will be enforced at runtime in a future release.
* (app, flags) Flag validations now include all errors from disjoint flag sets, instead of fail fast upon first error from all validators. Multiple validators on the same flag still fails fast.- Release notes for 0.12.0
* (flags) Made EnumClassSerializer and EnumClassListSerializer public.
* (flags) Added a required: Optional[bool] = False parameter to DEFINE_
* functions.
* (testing) flagsaver overrides can now be specified in terms of FlagHolder.
* (testing) parameterized.product: Allows testing a method over cartesian product of parameters values, specified as a sequences of values for each parameter or as kwargs-like dicts of parameter values.
* (testing) Added public flag holders for --test_srcdir and - -test_tmpdir. Users should use absltest.TEST_SRCDIR.value and absltest.TEST_TMPDIR.value instead of FLAGS.test_srcdir and FLAGS.test_tmpdir.
* (flags) Made CsvListSerializer respect its delimiter argument.
* Mon Nov 16 2020 John Vandenberg - Add Provides python-absl-py
* Tue Nov 03 2020 Christian Goll - updated to 0.11.0:
* Various fixes
* Wed Apr 22 2020 Tomáš Chvátal - Fix build without python2
* Mon Mar 09 2020 Tomáš Chvátal - Update to 0.9.0:
* work with python 3.8
* Tue Sep 10 2019 Tomáš Chvátal - Update to 0.8.0:
* absltest.expectedFailureIf: a variant of unittest.expectedFailure that allows a condition to be given.
* few bugfixes
* Thu Jul 04 2019 Tomáš Chvátal - Update to 0.7.1:
* Various fixes
* Tue Dec 04 2018 Matej Cepl - Remove superfluous devel dependency for noarch package
* Wed Oct 17 2018 Tomáš Chvátal - Require enum34 also on runtime when on python2- Install license
* Tue Oct 16 2018 cgollAATTsuse.com- changed the source from absl-py-0.5.0.tar.gz to pypi-v0.5.0.tar.gz which also includes checks and enabled them.
* Tue Oct 16 2018 cgollAATTsuse.com- Initial import from the abseil library version 0.5 with py2pack