32 Commits

Author SHA256 Message Date
5ef2e2c2d4 Accepting request 1277062 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1277062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=15
2025-05-13 18:07:28 +00:00
fe7d799be6 - Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=30
2025-05-13 08:48:03 +00:00
f9ce4bf8bc Accepting request 1180363 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1180363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=14
2024-06-14 16:57:14 +00:00
abfb3aad0c - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=28
2024-06-13 09:58:36 +00:00
b091278325 Accepting request 1170996 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1170996
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=13
2024-05-01 12:55:42 +00:00
f921434980 Accepting request 1170943 from home:andriinikitin:branches:devel:languages:python
use %{?sle15allpythons} instead of  %{?sle15_python_module_pythons} to allow building   protobuf for SLE15-SP6 in NON_Public:BuildOPS:hefur

OBS-URL: https://build.opensuse.org/request/show/1170943
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=26
2024-04-30 12:59:19 +00:00
5aea608bcb Accepting request 1114076 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1114076
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=12
2023-09-29 19:12:50 +00:00
8739563a91 Accepting request 1113854 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1113854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=24
2023-09-28 11:47:48 +00:00
0601ef37c6 Accepting request 1089014 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1089014
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=11
2023-05-26 18:15:34 +00:00
b3b0e78044 Accepting request 1088978 from system:homeautomation:home-assistant:unstable
- version update to 1.4.0
  New
    (testing) Added @flagsaver.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.

OBS-URL: https://build.opensuse.org/request/show/1088978
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=22
2023-05-25 11:12:10 +00:00
bbdf5927f2 Accepting request 1003844 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1003844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=10
2022-09-15 20:59:57 +00:00
2cd35a121a Accepting request 1003775 from home:pgajdos:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1003775
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=20
2022-09-15 12:17:55 +00:00
0410e3ebce Accepting request 938246 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/938246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=9
2021-12-09 18:46:02 +00:00
6714195d93 Accepting request 937817 from home:bnavigator:branches:devel:languages:python
- 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 @absltest.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.

OBS-URL: https://build.opensuse.org/request/show/937817
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=19
2021-12-09 16:56:42 +00:00
2714169547 Accepting request 848974 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/848974
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=8
2020-11-17 20:26:27 +00:00
f1cd4c84fb Accepting request 848854 from home:jayvdb:branches:devel:languages:python
- Add Provides python-absl-py

OBS-URL: https://build.opensuse.org/request/show/848854
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=17
2020-11-16 21:03:04 +00:00
5a8e8a1b11 Accepting request 845685 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/845685
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=7
2020-11-03 14:16:56 +00:00
4610b9ab15 Accepting request 845664 from home:mslacken:ml
- updated to 0.11.0:
  * Various fixes

OBS-URL: https://build.opensuse.org/request/show/845664
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=15
2020-11-03 10:48:57 +00:00
609be496e1 Accepting request 796253 from devel:languages:python
- Fix build without python2

OBS-URL: https://build.opensuse.org/request/show/796253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=6
2020-04-22 18:58:43 +00:00
Tomáš Chvátal
c4cabfb46e - Fix build without python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=13
2020-04-22 10:04:07 +00:00
9bef0c9a06 Accepting request 782812 from devel:languages:python
py38

OBS-URL: https://build.opensuse.org/request/show/782812
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=5
2020-03-09 10:41:59 +00:00
Tomáš Chvátal
dd75f49671 - Update to 0.9.0:
* work with python 3.8

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=11
2020-03-09 08:10:38 +00:00
bc37ba0159 Accepting request 729894 from devel:languages:python
- Update to 0.8.0:
  * absltest.expectedFailureIf: a variant of unittest.expectedFailure that allows a condition to be given.
  * few bugfixes

OBS-URL: https://build.opensuse.org/request/show/729894
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=4
2019-09-23 10:06:28 +00:00
Tomáš Chvátal
5f0dd33886 - Update to 0.8.0:
* absltest.expectedFailureIf: a variant of unittest.expectedFailure that allows a condition to be given.
  * few bugfixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=9
2019-09-10 13:29:36 +00:00
7fca66fc85 Accepting request 713399 from devel:languages:python
- Update to 0.7.1:
  * Various fixes

OBS-URL: https://build.opensuse.org/request/show/713399
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=3
2019-07-04 13:44:35 +00:00
Tomáš Chvátal
c2172eda2a - Update to 0.7.1:
* Various fixes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=7
2019-07-04 12:28:30 +00:00
ce65a21b24 Accepting request 656804 from devel:languages:python
- Remove superfluous devel dependency for noarch package

OBS-URL: https://build.opensuse.org/request/show/656804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=2
2018-12-12 16:28:52 +00:00
Tomáš Chvátal
7dd76a2908 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=5 2018-12-10 11:41:24 +00:00
53064eb2e6 Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=4
2018-12-04 13:12:21 +00:00
a05750a328 Accepting request 642553 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/642553
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-abseil?expand=0&rev=1
2018-10-22 09:22:32 +00:00
Tomáš Chvátal
2ea5936a85 - Require enum34 also on runtime when on python2
- Install license

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=2
2018-10-17 07:48:53 +00:00
Tomáš Chvátal
ddcf9ebc44 Accepting request 642547 from home:mslacken:ml
fixed tests and use diect github relased source

OBS-URL: https://build.opensuse.org/request/show/642547
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-abseil?expand=0&rev=1
2018-10-17 07:46:40 +00:00