Next | Query returned 9 messages, browsing 1 to 10 | previous

History of commit frequency

CVS Commit History:


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-02-11 17:40:23 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-absl-py: updated to 2.1.0

2.1.0 (2024-01-16)

Added

(flags) Added absl.flags.override_value function to provide FlagHolder with a \ 
construct to modify values. The new interface parallels \ 
absl.flags.FlagValues.__setattr__ but checks that the provided value conforms to \ 
the flag's expected type.
(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.

2.0.0 (2023-09-19)

Changed

absl-py no longer supports Python 3.6. It has reached end-of-life for more than \ 
a year now.
Support Python 3.12.
(logging) logging.exception can now take exc_info as argument, with default \ 
value True. Prior to this change setting exc_info would raise KeyError, this \ 
change fixes this behaviour.
(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. As a result, on \ 
Python 3.11+, the private _cls_exit_stack attribute is not defined on \ 
absltest.TestCase and _exit_stack attribute is not defined on its instances.
(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. \ 
Most uses of this function continued working during the Python 3 migration still \ 
worked because a Python 2 compatibility __metaclass__ variables also existed. \ 
Now pure Python 3 base classes without backwards compatibility will work as \ 
intended.
(testing) absltest.TestCase.assertSequenceStartsWith now explicitly fail when \ 
passed a Mapping or Set object as the whole argument.
   2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96)
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-11 11:02:46 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-absl-py: updated to 0.14.1

0.14.1:
Bug fixes
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-01-14 13:14:30 by Benny Siegert | Files touched by this commit (3)
Log message:
Update py-absl-py to 0.9.0.

Several years' worth of changes:

## 0.9.0 (2019-12-17)

### Added

*   (testing) `TestCase.enter_context`: Allows using context managers in setUp
    and having them automatically exited when a test finishes.

### Fixed

*   #126: calling `logging.debug(msg, stack_info=...)` no longer throws an
    exception in Python 3.8.

## 0.8.1 (2019-10-08)

### Fixed

*   (testing) `absl.testing`'s pretty print reporter no longer buffers
    RUN/OK/FAILED messages.
*   (testing) `create_tempfile` will overwrite pre-existing read-only files.

## 0.8.0 (2019-08-26)

### Added

*   (testing) `absltest.expectedFailureIf`: a variant of
    `unittest.expectedFailure` that allows a condition to be given.

### Changed

*   (bazel) Tests now pass when bazel
    `--incompatible_allow_python_version_transitions=true` is set.
*   (bazel) Both Python 2 and Python 3 versions of tests are now created. To
    only run one major Python version, use
    `bazel test --test_tag_filters=-python[23]` to ignore the other version.
*   (testing) `assertTotallyOrdered` no longer requires objects to implement
    `__hash__`.
*   (testing) `absltest` now integrates better with `--pdb_post_mortem`.
*   (testing) `xml_reporter` now includes timestamps to testcases, test_suite,
    test_suites elements.

### Fixed

*    #99: `absl.logging` no longer registers itself to `logging.root` at import
     time.
*    #108: Tests now pass with Bazel 0.28.0 on macOS.

## 0.7.1 (2019-03-12)

### Added

*   (flags) `flags.mark_bool_flags_as_mutual_exclusive`: convenience function to
    check that only one, or at most one, flag among a set of boolean flags are
    True.

### Changed

*   (bazel) Bazel 0.23+ or 0.22+ is now required for building/testing.
    Specifically, a Bazel version that supports
    `@bazel_tools//tools/python:python_version` for selecting the Python
    version.

### Fixed

*   #94: LICENSE files are now included in sdist.
*   #93: Change log added.

## 0.7.0 (2019-01-11)

### Added

*   (bazel) testonly=1 has been removed from the testing libraries, which allows
    their use outside of testing contexts.
*   (flags) Multi-flags now accept any Iterable type for the default value
    instead of only lists. Strings are still special cased as before. This
    allows sets, generators, views, etc to be used naturally.
*   (flags) DEFINE_multi_enum_class: a multi flag variant of enum_class.
*   (testing) Most of absltest is now type-annotated.
*   (testing) Made AbslTest.assertRegex available under Python 2. This allows
    Python 2 code to write more natural Python 3 compatible code. (Note: this
    was actually released in 0.6.1, but unannounced)
*   (logging) logging.vlog_is_on: helper to tell if a vlog() call will actually
    log anything. This allows avoiding computing expansive inputs to a logging
    call when logging isn't enabled for that level.

### Fixed

*   (flags) Pickling flags now raises an clear error instead of a cryptic one.
    Pickling flags isn't supported; instead use flags_into_string to serialize
    flags.
*   (flags) Flags serialization works better: the resulting serialized value,
    when deserialized, won't cause --help to be invoked, thus ending the
    process.
*   (flags) Several flag fixes to make them behave more like the Absl C++ flags:
    empty --flagfile is allowed; --nohelp and --help=false don't display help
*   (flags) An empty --flagfile value (e.g. "--flagfile=" or \ 
"--flagfile=''"
    doesn't raise an error; its not just ignored. This matches Abseil C++
    behavior.
*   (bazel) Building with Bazel 0.2.0 works without extra incompatiblity disable
    build flags.

### Changed

*   (flags) Flag serialization is now deterministic: this improves Bazel build
    caching for tools that are affected by flag serialization.

## 0.6.0 (2018-10-22)

### Added

*   Tempfile management APIs for tests: read/write/manage tempfiles for test
    purposes easily and correctly. See TestCase.create_temp{file/dir} and the
    corresponding commit for more info.

## 0.5.0 (2018-09-17)

### Added

*   Flags enum support: flags.DEFINE_enum_class allows using an `Enum` derived
    class to define the allowed values for a flag.

## 0.4.1 (2018-08-28)

### Fixed

*   Flags no long allow spaces in their names

### Changed

*   XML test output is written at the end of all test execution.
*   If the current user's username can't be gotten, fallback to uid, else fall
    back to a generic 'unknown' string.

## 0.4.0 (2018-08-14)

### Added

*   argparse integration: absl-registered flags can now be accessed via argparse
    using absl.flags.argparse_flags: see that module for more information.
*   TestCase.assertSameStructure now allows mixed set types.

### Changed

*   Test output now includes start/end markers for each test ran. This is to
    help distinguish output from tests clearly.

## 0.3.0 (2018-07-25)

### Added

*   `app.call_after_init`: Register functions to be called after app.run() is
    called. Useful for program-wide initialization that library code may need.
*   `logging.log_every_n_seconds`: like log_every_n, but based on elapsed time
    between logging calls.
*   `absltest.mock`: alias to unittest.mock (PY3) for better unittest drop-in
    replacement. For PY2, it will be available if mock is importable.

### Fixed

*   `ABSLLogger.findCaller()`: allow stack_info arg and return value for PY2
*   Make stopTest locking reentrant: this prevents deadlocks for test frameworks
    that customize unittest.TextTestResult.stopTest.
*   Make --helpfull work with unicode flag help strings.
   2018-04-08 03:34:17 by Min Sik Kim | Files touched by this commit (4)
Log message:
devel/py-absl-py: Import version 0.1.13

Abseil Python Common Libraries are a collection of Python library code
for building Python applications. The code is collected from Google's
own Python code base, and has been extensively tested and used in
production.

Next | Query returned 9 messages, browsing 1 to 10 | previous