Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 13b74b5a4a | |||
| d0e10af202 | |||
| 70659643e9 | |||
| c47545c322 |
BIN
abseil-py-1.4.0.tar.gz
LFS
BIN
abseil-py-1.4.0.tar.gz
LFS
Binary file not shown.
BIN
abseil-py-2.1.0.tar.gz
LFS
Normal file
BIN
abseil-py-2.1.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,59 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 13 06:51:19 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 12 15:36:49 UTC 2024 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- 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 11:54:36 UTC 2024 - Andrii Nikitin <andrii.nikitin@suse.com>
|
Tue Apr 30 11:54:36 UTC 2024 - Andrii Nikitin <andrii.nikitin@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-abseil
|
# spec file for package python-abseil
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,15 +16,17 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?sle15allpythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-abseil
|
Name: python-abseil
|
||||||
Version: 1.4.0
|
Version: 2.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Abseil Python Common Libraries
|
Summary: Abseil Python Common Libraries
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/abseil/abseil-py
|
URL: https://github.com/abseil/abseil-py
|
||||||
Source0: https://github.com/abseil/abseil-py/archive/v%{version}.tar.gz#/abseil-py-%{version}.tar.gz
|
Source0: https://github.com/abseil/abseil-py/archive/v%{version}.tar.gz#/abseil-py-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Provides: python-absl-py = %{version}
|
Provides: python-absl-py = %{version}
|
||||||
@@ -45,10 +47,10 @@ been extensively tested and used in production.
|
|||||||
%setup -q -n abseil-py-%{version}
|
%setup -q -n abseil-py-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
|||||||
Reference in New Issue
Block a user