32 Commits

Author SHA256 Message Date
1d99e7cdf6 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
900f082e64 Accepting request 1277025 from home:mcalabkova:branches:devel:languages:python
- Convert to pip-based build

OBS-URL: https://build.opensuse.org/request/show/1277025
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
d62a5a4290 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
96208bca11 Accepting request 1180357 from home:StefanBruens:branches:science
- 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/request/show/1180357
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
e4e61215ca 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
ab0a14c6ff 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
afc511fdd2 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
b465d415cf 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
e76fee48ab 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
88c3bc7a79 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
56ef9c3f4a 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
ac78e7f78a 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
37b76c4d05 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
d8059472e5 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
85e34b7c0c 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
e4ef6acd61 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
ee1592421b 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
3c5516f443 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
88dd69ecac 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
3a74153625 - 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
0925044090 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
9c10b51772 - 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
58ed6affc5 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
d09adaa05b - 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
c99362ac4d 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
41e930a588 - 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
8e7e5d4acd 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
2d3b15a19e 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
97ee851220 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
645b84877a 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
8580398f1d - 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
e84d79e753 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