pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/py-absl-py



Module Name:    pkgsrc
Committed By:   bsiegert
Date:           Tue Jan 14 12:14:30 UTC 2020

Modified Files:
        pkgsrc/devel/py-absl-py: Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-absl-py/Makefile \
    pkgsrc/devel/py-absl-py/PLIST pkgsrc/devel/py-absl-py/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-absl-py/Makefile
diff -u pkgsrc/devel/py-absl-py/Makefile:1.1 pkgsrc/devel/py-absl-py/Makefile:1.2
--- pkgsrc/devel/py-absl-py/Makefile:1.1        Sun Apr  8 01:34:16 2018
+++ pkgsrc/devel/py-absl-py/Makefile    Tue Jan 14 12:14:30 2020
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2018/04/08 01:34:16 minskim Exp $
+# $NetBSD: Makefile,v 1.2 2020/01/14 12:14:30 bsiegert Exp $
 
-DISTNAME=      absl-py-0.1.13
+DISTNAME=      absl-py-0.9.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/absl-py/}
Index: pkgsrc/devel/py-absl-py/PLIST
diff -u pkgsrc/devel/py-absl-py/PLIST:1.1 pkgsrc/devel/py-absl-py/PLIST:1.2
--- pkgsrc/devel/py-absl-py/PLIST:1.1   Sun Apr  8 01:34:16 2018
+++ pkgsrc/devel/py-absl-py/PLIST       Tue Jan 14 12:14:30 2020
@@ -1,63 +1,90 @@
-@comment $NetBSD: PLIST,v 1.1 2018/04/08 01:34:16 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/01/14 12:14:30 bsiegert Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/absl/__init__.py
-${PYSITELIB}/absl/__init__.pyc
 ${PYSITELIB}/absl/__init__.pyo
-${PYSITELIB}/absl/app.py
-${PYSITELIB}/absl/app.pyc
+${PYSITELIB}/absl/__init__.pyc
+${PYSITELIB}/absl/_collections_abc.pyo
+${PYSITELIB}/absl/_collections_abc.pyc
+${PYSITELIB}/absl/_enum_module.pyo
+${PYSITELIB}/absl/_enum_module.pyc
 ${PYSITELIB}/absl/app.pyo
-${PYSITELIB}/absl/command_name.py
-${PYSITELIB}/absl/command_name.pyc
+${PYSITELIB}/absl/app.pyc
 ${PYSITELIB}/absl/command_name.pyo
+${PYSITELIB}/absl/command_name.pyc
+${PYSITELIB}/absl/_collections_abc.py
+${PYSITELIB}/absl/_enum_module.py
+${PYSITELIB}/absl/app.py
+${PYSITELIB}/absl/command_name.py
 ${PYSITELIB}/absl/flags/__init__.py
-${PYSITELIB}/absl/flags/__init__.pyc
 ${PYSITELIB}/absl/flags/__init__.pyo
-${PYSITELIB}/absl/flags/_argument_parser.py
-${PYSITELIB}/absl/flags/_argument_parser.pyc
+${PYSITELIB}/absl/flags/__init__.pyc
 ${PYSITELIB}/absl/flags/_argument_parser.pyo
-${PYSITELIB}/absl/flags/_defines.py
-${PYSITELIB}/absl/flags/_defines.pyc
+${PYSITELIB}/absl/flags/_argument_parser.pyc
 ${PYSITELIB}/absl/flags/_defines.pyo
-${PYSITELIB}/absl/flags/_exceptions.py
-${PYSITELIB}/absl/flags/_exceptions.pyc
+${PYSITELIB}/absl/flags/_defines.pyc
 ${PYSITELIB}/absl/flags/_exceptions.pyo
-${PYSITELIB}/absl/flags/_flag.py
-${PYSITELIB}/absl/flags/_flag.pyc
+${PYSITELIB}/absl/flags/_exceptions.pyc
 ${PYSITELIB}/absl/flags/_flag.pyo
-${PYSITELIB}/absl/flags/_flagvalues.py
-${PYSITELIB}/absl/flags/_flagvalues.pyc
+${PYSITELIB}/absl/flags/_flag.pyc
 ${PYSITELIB}/absl/flags/_flagvalues.pyo
-${PYSITELIB}/absl/flags/_helpers.py
-${PYSITELIB}/absl/flags/_helpers.pyc
+${PYSITELIB}/absl/flags/_flagvalues.pyc
 ${PYSITELIB}/absl/flags/_helpers.pyo
-${PYSITELIB}/absl/flags/_validators.py
-${PYSITELIB}/absl/flags/_validators.pyc
+${PYSITELIB}/absl/flags/_helpers.pyc
 ${PYSITELIB}/absl/flags/_validators.pyo
+${PYSITELIB}/absl/flags/_validators.pyc
+${PYSITELIB}/absl/flags/argparse_flags.pyo
+${PYSITELIB}/absl/flags/argparse_flags.pyc
+${PYSITELIB}/absl/flags/_argument_parser.py
+${PYSITELIB}/absl/flags/_defines.py
+${PYSITELIB}/absl/flags/_exceptions.py
+${PYSITELIB}/absl/flags/_flag.py
+${PYSITELIB}/absl/flags/_flagvalues.py
+${PYSITELIB}/absl/flags/_helpers.py
+${PYSITELIB}/absl/flags/_validators.py
+${PYSITELIB}/absl/flags/argparse_flags.py
 ${PYSITELIB}/absl/logging/__init__.py
-${PYSITELIB}/absl/logging/__init__.pyc
 ${PYSITELIB}/absl/logging/__init__.pyo
-${PYSITELIB}/absl/logging/converter.py
-${PYSITELIB}/absl/logging/converter.pyc
+${PYSITELIB}/absl/logging/__init__.pyc
 ${PYSITELIB}/absl/logging/converter.pyo
+${PYSITELIB}/absl/logging/converter.pyc
+${PYSITELIB}/absl/logging/converter.py
 ${PYSITELIB}/absl/testing/__init__.py
-${PYSITELIB}/absl/testing/__init__.pyc
 ${PYSITELIB}/absl/testing/__init__.pyo
-${PYSITELIB}/absl/testing/_bazelize_command.py
-${PYSITELIB}/absl/testing/_bazelize_command.pyc
+${PYSITELIB}/absl/testing/__init__.pyc
+${PYSITELIB}/absl/testing/_bazel_selected_py3.pyo
+${PYSITELIB}/absl/testing/_bazel_selected_py3.pyc
 ${PYSITELIB}/absl/testing/_bazelize_command.pyo
-${PYSITELIB}/absl/testing/absltest.py
-${PYSITELIB}/absl/testing/absltest.pyc
+${PYSITELIB}/absl/testing/_bazelize_command.pyc
+${PYSITELIB}/absl/testing/_pretty_print_reporter.pyo
+${PYSITELIB}/absl/testing/_pretty_print_reporter.pyc
 ${PYSITELIB}/absl/testing/absltest.pyo
-${PYSITELIB}/absl/testing/flagsaver.py
-${PYSITELIB}/absl/testing/flagsaver.pyc
+${PYSITELIB}/absl/testing/absltest.pyc
 ${PYSITELIB}/absl/testing/flagsaver.pyo
-${PYSITELIB}/absl/testing/parameterized.py
-${PYSITELIB}/absl/testing/parameterized.pyc
+${PYSITELIB}/absl/testing/flagsaver.pyc
 ${PYSITELIB}/absl/testing/parameterized.pyo
-${PYSITELIB}/absl/testing/xml_reporter.py
-${PYSITELIB}/absl/testing/xml_reporter.pyc
+${PYSITELIB}/absl/testing/parameterized.pyc
 ${PYSITELIB}/absl/testing/xml_reporter.pyo
+${PYSITELIB}/absl/testing/xml_reporter.pyc
+${PYSITELIB}/absl/testing/_bazel_selected_py3.py
+${PYSITELIB}/absl/testing/_bazelize_command.py
+${PYSITELIB}/absl/testing/_pretty_print_reporter.py
+${PYSITELIB}/absl/testing/absltest.py
+${PYSITELIB}/absl/testing/flagsaver.py
+${PYSITELIB}/absl/testing/parameterized.py
+${PYSITELIB}/absl/testing/xml_reporter.py
+${PYSITELIB}/absl/third_party/__init__.py
+${PYSITELIB}/absl/third_party/__init__.pyo
+${PYSITELIB}/absl/third_party/__init__.pyc
+${PYSITELIB}/absl/third_party/unittest3_backport/__init__.py
+${PYSITELIB}/absl/third_party/unittest3_backport/__init__.pyo
+${PYSITELIB}/absl/third_party/unittest3_backport/__init__.pyc
+${PYSITELIB}/absl/third_party/unittest3_backport/case.pyo
+${PYSITELIB}/absl/third_party/unittest3_backport/case.pyc
+${PYSITELIB}/absl/third_party/unittest3_backport/result.pyo
+${PYSITELIB}/absl/third_party/unittest3_backport/result.pyc
+${PYSITELIB}/absl/third_party/unittest3_backport/case.py
+${PYSITELIB}/absl/third_party/unittest3_backport/result.py
Index: pkgsrc/devel/py-absl-py/distinfo
diff -u pkgsrc/devel/py-absl-py/distinfo:1.1 pkgsrc/devel/py-absl-py/distinfo:1.2
--- pkgsrc/devel/py-absl-py/distinfo:1.1        Sun Apr  8 01:34:16 2018
+++ pkgsrc/devel/py-absl-py/distinfo    Tue Jan 14 12:14:30 2020
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2018/04/08 01:34:16 minskim Exp $
+$NetBSD: distinfo,v 1.2 2020/01/14 12:14:30 bsiegert Exp $
 
-SHA1 (absl-py-0.1.13.tar.gz) = ee42a8c4c6ddadfdbd97636a109486a9a3f20140
-RMD160 (absl-py-0.1.13.tar.gz) = 333ddc2e7f5de6dc48636f74f050802ec2d75751
-SHA512 (absl-py-0.1.13.tar.gz) = 1bc9a0f1701fccd2d9f9609ed7e07bb9d0085ba36e7b8146e083439b628c1648765dfe8d8d93cdf8de53aaf006b82a001d9cc36fa993ce7fe51843cb0269aedb
-Size (absl-py-0.1.13.tar.gz) = 80243 bytes
+SHA1 (absl-py-0.9.0.tar.gz) = a2eb852d57e31422e6304d4c546a4b6525e5a8e3
+RMD160 (absl-py-0.9.0.tar.gz) = f0151d39017b5884ba5a8ccc2b7617a1cbd310ee
+SHA512 (absl-py-0.9.0.tar.gz) = b4e941f25697e393bde31ef58e9694b5fa8f1d94f59342d1819f1a094b8c51d43abe11dcf99d14a59be599d04aac4e7946a5c61d490c990024132991ad7fb310
+Size (absl-py-0.9.0.tar.gz) = 104026 bytes



Home | Main Index | Thread Index | Old Index