3.0.2:
Fixed compiler warning.
windows: Workaround for WinXP systems.
Only flush file handles on close if they were opened for writing.
Added some whitespace to test a fix to revision control.
Updated copyright year for 2019.
release-4.0.0
Expand is_jump_target to True, 'loop', False. This is the reason for the version bump
Remove deprecated opcodes_pypyDD.py files. Use opcode_DDpypy instead.
Fix bug in setting jump offset in wordcode (3.6+) relative jumps.
Note that this works now in Python 3.8 (dev)
Add 3.6{,.1}pypy version
Dry opcodes 3.6 - 3.8
1.0.9:
Further corrected the previous fix for 287 as it relied upon an attribute that is monkeypatched by Python’s ast module for some reason, which fails if ast hasn’t been imported; the correct attribute Constant.value is now used. Also note the issue was mis-numbered in the previous changelog note.
pytest 4.4.1:
Bug Fixes
* Environment variables are properly restored when using pytester’s testdir fixture.
* Fix regression with --pdbcls, which stopped working with local modules in 4.0.0.
* Produce a warning when unknown keywords are passed to pytest.param(...).
* Invalidate import caches with monkeypatch.syspath_prepend, which is required with namespace packages being used.
4.17.0
This release adds the strategy :func:~hypothesis.extra.numpy.broadcastable_shapes, which generates array shapes that are broadcast-compatible with a provided shape.
4.16.0
This release allows :func:~hypothesis.strategies.register_type_strategy to be used with :obj:python:typing.NewType instances. This may be useful to e.g. provide only positive integers for :func:from_type(UserId) <hypothesis.strategies.from_type> with a UserId = NewType('UserId', int) type.
4.15.0
This release supports passing a :class:~python:datetime.timedelta as the :obj:~hypothesis.settings.deadline setting, so you no longer have to remember that the number is in milliseconds (:issue:1900).
Thanks to Damon Francisco for this change!
4.14.7
This patch makes the type annotations on hypothesis.extra.dateutil compatible with :pypi:mypy 0.700.
4.14.6
This release fixes a bug introduced in :ref:Hypothesis 4.14.3 <v4.14.3> that would sometimes cause :func:sampled_from(...).filter(...) <hypothesis.strategies.sampled_from> to encounter an internal assertion failure when there are three or fewer elements, and every element is rejected by the filter.
4.14.5
This patch takes the previous efficiency improvements to :func:sampled_from(...).filter(...) <hypothesis.strategies.sampled_from> strategies that reject most elements, and generalises them to also apply to sampled_from(...).filter(...).filter(...) and longer chains of filters.
4.14.4
This release fixes a bug that prevented :func:~hypothesis.strategies.random_module from correctly restoring the previous state of the random module.
The random state was instead being restored to a temporary deterministic state, which accidentally caused subsequent tests to see the same random values across multiple test runs.
4.14.3
This patch adds an internal special case to make :func:sampled_from(...).filter(...) <hypothesis.strategies.sampled_from> much more efficient when the filter rejects most elements
0.29.7:
Bugs fixed
* Crash when the shared Cython config module gets unloaded and another Cython
module reports an exceptions. Cython now makes sure it keeps an owned reference
to the module.
* Resolved a C89 compilation problem when enabling the fast-gil sharing feature.
* Coverage reporting did not include the signature line of cdef functions.
* Casting a GIL-requiring function into a nogil function now issues a warning.
* Generators and coroutines were missing their return type annotation.
Changes in 3.14.2 since 3.14.1:
* MSVC: Fix MSVC_TOOLSET_VERSION for VS 2019 v142 toolset
* ARMCC: Do not identify ARMClang as ARMCC
* IRSL: Fix discovery of VS 2019 v142 toolset redistributables
* Tests: Clarify hand-written cases in RunCMake.ParseImplicitIncludeInfo
* Tests: Teach RunCMake.ParseImplicitIncludeInfo to match output by regex
* Fix implicit include directory extraction for adaptive relative paths
* Xcode: Factor out duplicate source group code into lambda
* Xcode: Avoid mutating App Bundle targets during generation
* cmake-gui: Fix icon overlay on windows
* Modules/CTest: Fix SubmitURL
* cmake-gui: Fix theme on Windows with Qt >= 5.10
## Rails 5.2.3 (March 27, 2019) ##
* Fix date value when casting a multiparameter date hash to not convert
from Gregorian date to Julian date.
Before:
Day.new({"day(1i)"=>"1", "day(2i)"=>"1", "day(3i)"=>"1"})
=> #<Day id: nil, day: "0001-01-03", created_at: nil, updated_at: nil>
After:
Day.new({"day(1i)"=>"1", "day(2i)"=>"1", "day(3i)"=>"1"})
=> #<Day id: nil, day: "0001-01-01", created_at: nil, updated_at: nil>
Fixes#28521.
*Sayan Chakraborty*
* Fix numericality equality validation of `BigDecimal` and `Float`
by casting to `BigDecimal` on both ends of the validation.
*Gannon McGibbon*
## Rails 5.2.2.1 (March 11, 2019) ##
* No changes.
## Rails 5.2.3 (March 27, 2019) ##
* Add `ActiveSupport::HashWithIndifferentAccess#assoc`.
`assoc` can now be called with either a string or a symbol.
*Stefan Schüßler*
* Fix `String#safe_constantize` throwing a `LoadError` for incorrectly cased constant references.
*Keenan Brock*
* Allow Range#=== and Range#cover? on Range
`Range#cover?` can now accept a range argument like `Range#include?` and
`Range#===`. `Range#===` works correctly on Ruby 2.6. `Range#include?` is moved
into a new file, with these two methods.
*utilum*
* If the same block is `included` multiple times for a Concern, an exception is no longer raised.
*Mark J. Titorenko*, *Vlad Bokov*
## Rails 5.2.2.1 (March 11, 2019) ##
* No changes.
v41.0.0
-------
* #1735: When parsing setup.cfg files, setuptools now requires the files to be encoded as UTF-8. Any other encoding will lead to a UnicodeDecodeError. This change removes support for specifying an encoding using a 'coding: ' directive in the header of the file, a feature that was introduces in 40.7. Given the recent release of the aforementioned feature, it is assumed that few if any projects are utilizing the feature to specify an encoding other than UTF-8.
Changes for APR 1.7.0
*) apr_dir_read: [Unix] Dropped the preference of the dirread_r() flavor
for dirread(), because the former is both deprecated and unneeded.
[Yann Ylavic, William Rowe]
*) apr_file_info: [Win32 only] Treat only "name surrogate" reparse points
as symlinks, and not other reparse tag types. bug 47630
[Oleg Liatte <olegliatte gmail.com>]
*) Test %ld vs. %lld to avoid compiler emits using APR_OFF_T_FMT, in the
case of apparently equivilant long and long long types. [William Rowe]
*) Recognize APPLE predefined macros as equivilant to DARWIN. [Jim Jagielski]
*) Signals: Allow handling of SIGUSR2 in apr_signal_thread. [Yann Ylavic]
*) Atomics: Support for 64bit ints. [Jim Jagielski]
*) Add the apr_encode_* API that implements RFC4648 and RFC7515
compliant BASE64, BASE64URL, BASE32, BASE32HEX and BASE16
encode/decode functions. [Graham Leggett]
*) rand: Use arc4random_buf() on BSD platforms and getrandom() on Linux,
when available. [Christian Weisgerber <naddy openbsd.org, Yann Ylavic]
*) Add apr_sockaddr_zone_set, apr_sockaddr_zone_set to set and retrieve
the zone for link-local IPv6 addresses. [Joe Orton]
*) apr_sockaddr_equal: Compare link-local IPv6 addresses with different
zones as not equal. [Joe Orton]
*) apr_sockaddr_ip_getbuf, apr_sockaddr_ip_get: Append "%zone" for
IPv6 link-local addresses. [Joe Orton]
*) Locks: add a --disable-timedlocks config option in case users
encounter more platforms where it fails [Nick Kew].
*) apr_allocator, apr_pools: Add apr_allocator_page_size() and
apr_allocator_min_order_set() to respectively get the (system's) page size
in use and set the minimum allocation size for an allocator (expressed in
2^order pages). [Yann Ylavic]
*) locks: provide portable implementations of timedlock()s for
posix-sems, sysv-sems and pthreads for those platforms that
lack native versions (eg: OSX/macOS). [Jim Jagielski]
*) locks: Introduce apr_{thread,proc,global}_mutex_timedlock().
[Yann Ylavic]
- Simple match mode `-m` based on a patch by @ehuelsmann
- Move the invocation of the pre- and post-execute triggers out of
'run()' @ehuelsmann
- Parallellism on TAP::Harness <= 3.39 and improved triggers @ehuelsmann
- General refactoring of the Executor @ehuelsmann
- Auto generate META.json using the plugin [MetaJSON] @manwar
1.0:
* Updated entries
- "Macedonia, the former Yugoslav Republic of" changed to "North
Macedonia" (effective 2019-03-13)
- Added numeric code 983 for Kosovo to mirror usage by the National
Statistical Office of Canada
Version 4.7
* The :meth:.pxssh.login method now no longer requires a username if an ssh
config is provided and will raise an error if neither are provided.
* The :meth:.pxssh.login method now supports providing your own ssh
command via the cmd parameter.
* :class:.pxssh now supports the use_poll parameter which is passed into :meth:.pexpect.spawn
* Minor bug fix with ssh_config.
* :meth:.replwrap.run_command now has async support via an async_ parameter.
* :meth:.pexpect.spawn will now read additional bytes if able up to a buffer limit.
v3.8.6:
Bugfixes
- :conf:parallel_show_output does not work with tox 3.8
v3.8.5:
Bugfixes
- the isolated build env now ignores :conf:sitepackages, :conf:deps and :conf:description as these do not make
sense
- Do not print timings with more than 3 decimal digits on Python 3
v3.8.4:
Bugfixes
- Fix sdist creation on python2.x when there is non-ascii output.
- fix typos in isolated.py that made it impossible to install package with requirements in pyproject.toml
v3.8.3:
Bugfixes
- don't crash when version information is not available for a proposed base python
- Do not print exception traceback when the provisioned tox fails
v3.8.2:
Bugfixes
- using -v and -e connected (as -ve) fails
- Changes to the plugin tester module (cmd no longer sets PYTHONPATH), and action.popen no longer returns the
command identifier information from within the logs. No public facing changes.
- Spinner fails in CI on UnicodeEncodeError
v3.8.1:
Bugfixes
- The -eALL command line argument now expands the envlist key and includes all its environment.
- Isolated build environment dependency overrides were not taken in consideration (and such it inherited the deps
from the testenv section)
- --result-json puts the command into setup section instead of test (pre and post commands are now also correctly
put into the commands section)
- Set setup.cfg encoding to UTF-8 as it contains Unicode characters.
- Fix tox CI, better error reporting when locating via the py fails
v3.8.0:
Bugfixes
- In a posix shell, setting the PATH environment variable to an empty value is equivalent to not setting it at all;
therefore we no longer if the user sets PYTHONPATH an empty string on python 3.4 or later
- Fixed bug of children process calls logs clashing (log already exists)
- Interpreter discovery and virtualenv creation process calls that failed will now print out on the screen their output
(via the logfile we automatically save)
- Using py2 and py3 with a specific basepython will no longer raise a warning unless the major version conflicts
- Fix missing error for tox -e unknown when tox.ini declares envlist.
- Resolve symlinks with toxworkdir
- Interrupting a tox call (e.g. via CTRL+C) now will ensure that spawn child processes (test calls, interpreter discovery,
parallel sub-instances, provisioned hosts) are correctly stopped before exiting (via the pattern of INTERRUPT - 300 ms,
TERMINATE - 200 ms, KILL signals)
- Fix a ResourceWarning: unclosed file in Action
- Fix deadlock when using --parallel and having environments with lots of output
- Removed code that sometimes caused a difference in results between --parallel and -p when using posargs
Features
- tox now auto-provisions itself if needed (see :ref:auto-provision). Plugins or minimum version of tox no longer
need to be manually satisfied by the user, increasing their ease of use.
- tox will inject the TOX_PARALLEL_ENV environment variable, set to the current running tox environment name,
only when running in parallel mode.
- Parallel children now save their output to a disk logfile
- Parallel children now are added to --result-json
- Display pattern and sys.platform with platform mismatch
- Setting the environment variable TOX_REPORTER_TIMESTAMP to 1 will enable showing for each output line its delta
since the tox startup. This can be especially handy when debugging parallel runs.
Documentation
- Add a poetry examples to packaging
Fix in MKC_CHECK_PROTOTYPES. The problem was it says "found" for
undeclared prototypes.
All FEATURES now check for _MKC_CHECK_<xxx> define. A check for
this define guarantees that #include <mkc_XXX.h> are not used
without appropriate MKC_FEATURES += <xxx> in Makefile.
New publicly available mkc.conf.mk header was introduced. With a
help of it one can implement custom "FEATURES".
MKC_CHECK_HEADERS, MKC_CHECK_HEADER_FILES, MKC_CHECK_DEFINES,
MKC_CHECK_TYPES, MKC_CHECK_VARS, MKC_CHECK_MEMBERS,
MKC_CHECK_FUNCS<n>, MKC_CHECK_PROTOTYPES, MKC_CHECK_SIZEOF and
MKC_PROTOTYPE_HEADERS.<name> now accepts a list of comma-separated
headers for checking at once.
For example, on NetBSD sys/fts.h requires preceding sys/types.h and
sys/stat.h. So, now we can write
MKC_CHECK_HEADERS = sys/types.h,sys/stat.h,fts.h
MKC_CHECK_FUNCS<n>: new variable MKC_FUNC_OR_DEFINE.<func> was introduced.
With a help of it one can check for
function declaration of equivalent define.
mkc_imp.conf-final.mk: duplicated entries are not added to CPPFLAGS,
CFLAGS, LDADD and SRCS.
Man page for mkc_check_decl, mkc_check_sizeof and mkc_check_headers
were updated.
mkc.minitest.mk: new variable MKC_DIFF was introduced for diff(1)
command.
mkc_check_decl: new check type funcordefine was introduced.
Improvements and minor fixes in regression tests and examples.
This release was sucessfully tested on FreeBSD-11.1, diverse
glibc-based Linuxes, NetBSD-8.99, OpenBSD-6.4 and SunOS-5.11.
Deprecated features were removed: DPLIBS and PKG_CONFIG_DEPS variables,
builtin "endianess".
Version 2.4.0:
- Well, it looks like the API change that was introduced in 2.3.1 was more
drastic than expected, so for a friendlier forward upgrade path, this
release:
. Bumps the current version number to 2.4.0, to reflect this
incompatible change.
. Adds a pyparsing.__compat__ object for specifying compatibility with
future breaking changes.
. Conditionalizes the API-breaking behavior, based on the value
pyparsing.__compat__.collect_all_And_tokens. By default, this value
will be set to True, reflecting the new bugfixed behavior. To set this
value to False, add to your code:
import pyparsing
pyparsing.__compat__.collect_all_And_tokens = False
. User code that is dependent on the pre-bugfix behavior can restore
it by setting this value to False.
In 2.5 and later versions, the conditional code will be removed and
setting the flag to True or False in these later versions will have no
effect.
- Updated unitTests.py and simple_unit_tests.py to be compatible with
"python setup.py test". To run tests using setup, do:
python setup.py test
python setup.py test -s unitTests.suite
python setup.py test -s simple_unit_tests.suite
- Fixed bug in runTests handling '\n' literals in quoted strings.
- Added tag_body attribute to the start tag expressions generated by
makeHTMLTags, so that you can avoid using SkipTo to roll your own
tag body expression:
a, aEnd = pp.makeHTMLTags('a')
link = a + a.tag_body("displayed_text") + aEnd
for t in s.searchString(html_page):
print(t.displayed_text, '->', t.startA.href)
- indentedBlock failure handling was improved
- Address Py2 incompatibility in simpleUnitTests, plus explain() and
Forward str() cleanup.
- Fixed docstring with embedded '\w', which creates SyntaxWarnings in
Py3.8.
- Examples:
- Added example parser for rosettacode.org tutorial compiler.
- Added example to show how an HTML table can be parsed into a
collection of Python lists or dicts, one per row.
- Updated SimpleSQL.py example to handle nested selects, reworked
'where' expression to use infixNotation.
- Added include_preprocessor.py, similar to macroExpander.py.
- Examples using makeHTMLTags use new tag_body expression when
retrieving a tag's body text.
- Updated examples that are runnable as unit tests:
python setup.py test -s examples.antlr_grammar_tests
python setup.py test -s examples.test_bibparse
== [8.0.4] 2019-03-02 ==
* Avoid a full GC when growing finalizer tables if in incremental mode
* Avoid potential race in hb_sz access between realloc and reclaim_block
* Avoid test.o rebuild on tests folder timestamp change (Makefile.direct)
* Avoid unexpected heap growth in gctest caused by GC_disable
* Ensure result of every variant of MS_TIME_DIFF has unsigned long type
* Fix 'duplicate symbol' error for tests using multiple static libs (OS X)
* Fix 'undefined reference to __data_start' linker error (Android/aarch64)
* Fix 'unexpected mark stack overflow' abort in push_all_stack
* Fix 'wrong __data_start/_end pair' error on Android
* Fix BSD_TIME variant of MS_TIME_DIFF for the case of a.tv_usec < b.tv_usec
* Fix GetThreadContext stale register values use if WoW64 (Win32)
* Fix invalid initializer of CLOCK_TYPE variables if BSD_TIME
* Fix thread_info() count argument value (OS X)
* Support de_win.c compilation by Makefile.direct (cord/de)
Upstream changes:
glue 1.3.1
Features
glue() now has a + method to combine strings.
Bugfixes and minor changes
glue_sql() now supports unquoting lists of Id objects.
glue_sql() now quotes characters with NAs appropriately (#115).
glue_sql() now quotes Dates appropriately (#98).
A potential protection error reported by rchk was fixed.
glue 1.3.0
Breaking changes
The evaluate() function has been removed. Changes elsewhere in glue made the implementation trivial so it was removed for clarities sake. Previous uses can be replaced by eval(parse(text = text), envir).
collapse() has been renamed to glue_collapse() to avoid namespace collisions with dplyr::collapse().
Features
compare.glue() was added, to make it easier to use glue objects in testthat::expect_equal() statements.
glue_col() and glue_data_col() functions added to display strings with color.
Bugfixes and minor changes
Glue now throws an informative error message when it cannot interpolate a function into a string (#114, @haleyjeppson & @ijlyttle).
Glue now evaluates unnamed arguments lazily with delayedAssign(), so there is no performance cost if an argument is not used. (#83, @egnha).
Fixed a bug where names in the assigned expression of an interpolation variable would conflict with the name of the variable itself (#89, @egnha).
Do not drop the glue class when subsetting (#66).
Fix glue() and collapse() always return UTF-8 encoded strings (#81, @dpprdan)
Upstream changes:
rlang 0.3.4
Fixed a unit test that failed on the Solaris CRAN machine.
rlang 0.3.3
Fixed an issue in knitr that caused backtraces to print even when error = TRUE.
maybe_missing() gains a default argument.
rlang 0.3.2
Fixed protection issue reported by rchk.
The experimental option rlang__backtrace_on_error is no longer experimental and has been renamed to rlang_backtrace_on_error.
New “none” option for rlang_backtrace_on_error.
Unary operators applied to quosures now give better error messages.
Fixed issue with backtraces of warnings promoted to error, and entraced via withCallingHandlers(). The issue didn’t affect entracing via top level options(error = rlang::entrace) handling.
Upstream changes:
Changes for version 1.302162 - 2019-02-05
Typo fixes in documentation
Changes for version 1.302161 - 2019-01-29 ( TRIAL RELEASE )
Remove SHM Optimization
Upstream changes:
4.72 Wed Apr 3 04:56:03 CEST 2019
- (libeio) if fd 0 is available do not use it for aio_wd, as it
collides with IO::AIO::CWD.
- added IO::AIO::memfd_create.
- correctly include <sys/uio.h> in the vmsplice test.
- reduce codesize by ~7% on amd64 by declaring more functions
as noinline.
- documentation fixes and updates.
- experimental and undocumented preliminary support for synchronous statx.
4.71 Sun Mar 10 13:09:26 CET 2019
- due to an error in the linux manpages, the configure tests
for readahead, sync_file_range, splice etc. failed. This has been fixed.
4.7 Mon Mar 4 11:28:13 CET 2019
- majorly speed up scandir for the very special case of a non-POSIX
filesystem that nevertheless reports valid dt_type information.
The only known filesystem of this type is currently btrfs, which
didn't get it's act together to implement POSIX semantics in all
these years, and I am tired of waiting.
- add IO::AIO::MCL_ONFAULT for mlockall, add IO::AIO::mlockall.
- neither sys/mkdev.h nor sys/sysmacros.h were included, even when they
were detected by autoconf.
Upstream changes:
9999.27 2019-04-05
- Update the documentation on the atomic write. We no longer use the pid
and I neglected to update the documentation as such. (RT #129029)
- Localize $^W to stop File::Temp from warning the user when the -w flag
is on while we're grabbing a temporary file name. (RT #129029)
9999.26 2019-02-13
- Reduce the size of handle.t to prevent failures on systems with limits set
- Skip all tests in the suite that relied on overriding syswrite to test
failure mechanisms as CORE::print cannot be overridden.
- Refactor write_file to use print rather than syswrite.
- When performing an atomic write, make sure we find a good temporary file
so that we don't accidentally overwrite a file that may already exist in
the working directory.
- Stop re-working the line endings on write_file when on Windows as the use
of print now allows layers to provide that functionality.
- Add File::Basename, File::Spec, File::Temp, and IO::Handle to the runtime
prereqs. These were already testing prereqs and are core.
- Perl 5.30 compliance is complete at this point.
pytest-xdist 1.28.0:
Features
- pytest-xdist now uses the new pytest_report_to_serializable and pytest_report_from_serializable
hooks from pytest 4.4 (still experimental). This will make report serialization more reliable and
extensible.
JNA provides Java programs easy access to native shared libraries without
writing anything but Java code - no JNI or native code is required.
This functionality is comparable to Windows' Platform/Invoke and Python's
ctypes.
release 1.28:
serpent itself didn't really change
the souce dist archive now contains the unit tests as well
the setup.py script was improved to run these tests via its test command
the travis CI config was updated
2019-03-31 meld 3.20.1
======================
Fixes:
* Fix bad comparison highlighting with VT characters (Kai Willadsen)
* Fix folder comparison display with >2G files (Kai Willadsen)
* Fix support for missing folders in folder comparison (Kai Willadsen)
* Handle trash-related errors with NFS mounts (Kai Willadsen)
* Add release metadata to appstream data (Kai Willadsen)
* Issues fixed: 268, 295
Translations:
* Anders Jonsson (sv)
* Balázs Úr (hu)
* Daniel Mustieles (es)
* Marek Cernocky (cs)
* Ryuta Fujii (ja)
* Wolfgang Stöggl (de)
4.4.0:
Fixed a regression with decorator factories breaking the case with no
arguments by going back to the syntax used in version 4.2.
Accepted a small fix from Eric Larson (https://github.com/larsoner) affecting
isgeneratorfunction for old Python versions.
Moved the documentation from ReadTheDocs to GitHub to simplify the
release process and replaced ReStructuredText with Markdown: it is
an inferior solution, but it works better with GitHub and it is good enough.
Version 1.5.1
Fix 43: do not specify pytest Python version
Version 1.5.0
Use poetry instead of setuptools directly
Fix 42: raise exception if package is missing
Fix version parsing for openssl-like version numbers
Fix 31: expose --modversion
Fix 30: strip whitespace from variable names
v40.9.0
* Added support for setup.cfg-only projects when using the setuptools.build_meta backend. Projects that have enabled PEP 517 no longer need to have a setup.py and can use the purely declarative setup.cfg configuration file instead.
* Added support for pkg_resources.parse_requirements-style requirements in setup_requires when setup.py is invoked from the setuptools.build_meta build backend.
* Added the path to the PKG-INFO or METADATA file in the exception text when the Version: header can't be found.
* Removed some placeholder documentation sections referring to deprecated features.
If GTK3 is selected (now the default), we must explicitly depend on
adwaita-icon-theme, otherwise various fundamental toolbar icons will be
missing (unless, of course, another package has already installed it,
which is why I didn't notice before). Bump PKGREVISION to note this
fix.
pytest 4.4.0:
Features
* async test functions are skipped and a warning is emitted when a suitable async plugin is not installed (such as pytest-asyncio or pytest-trio).
Previously async functions would not execute at all but still be marked as “passed”.
* Include new disable_test_id_escaping_and_forfeit_all_rights_to_community_support option to disable ascii-escaping in parametrized values. This may cause a series of problems and as the name makes clear, use at your own risk.
* The -p option can now be used to early-load plugins also by entry-point name, instead of just by module name.
This makes it possible to early load external plugins like pytest-cov in the command-line:
pytest -p pytest_cov
* The --pdbcls option handles classes via module attributes now (e.g. pdb:pdb.Pdb with pdb++), and its validation was improved.
* The testpaths configuration option is now displayed next to the rootdir and inifile lines in the pytest header if the option is in effect, i.e., directories or file names were not explicitly passed in the command line.
Also, inifile is only displayed if there’s a configuration file, instead of an empty inifile: string.
* Doctests can be skipped now dynamically using pytest.skip().
* Internal refactorings have been made in order to make the implementation of the pytest-subtests plugin possible, which adds unittest sub-test support and a new subtests fixture as discussed in 1367.
For details on the internal refactorings, please see the details on the related PR.
* pytester’s LineMatcher asserts that the passed lines are a sequence.
* Handle -p plug after -p no:plug.
This can be used to override a blocked plugin (e.g. in “addopts”) from the command line etc.
* Output capturing is handled correctly when only capturing via fixtures (capsys, capfs) with pdb.set_trace().
* pytester sets $HOME and $USERPROFILE to the temporary directory during test runs.
This ensures to not load configuration files from the real user’s home directory.
* Namespace packages are handled better with monkeypatch.syspath_prepend and testdir.syspathinsert (via pkg_resources.fixup_namespace_packages).
* The stepwise plugin reports status information now.
* If a setup.cfg file contains [tool:pytest] and also the no longer supported [pytest] section, pytest will use [tool:pytest] ignoring [pytest]. Previously it would unconditionally error out.
This makes it simpler for plugins to support old pytest versions.
Bug Fixes
* Fix bug where fixtures requested dynamically via request.getfixturevalue() might be teardown before the requesting fixture.
* pytester unsets PYTEST_ADDOPTS now to not use outer options with testdir.runpytest().
* Use the correct modified time for years after 2038 in rewritten .pyc files.
* Fix line offsets with ScopeMismatch errors.
* -p no:plugin is handled correctly for default (internal) plugins now, e.g. with -p no:capture.
Previously they were loaded (imported) always, making e.g. the capfd fixture available.
* The pdb quit command is handled properly when used after the debug command with pdb++.
* Fix the interpretation of -qq option where it was being considered as -v instead.
* outcomes.Exit is not swallowed in assertrepr_compare anymore.
* Close logging’s file handler explicitly when the session finishes.
* Fix line offset with mark collection error (off by one).
Improved Documentation
* Update docs for pytest_cmdline_parse hook to note availability liminations
Trivial/Internal Changes
* pluggy>=0.9 is now required.
* funcsigs>=1.0 is now required for Python 2.7.
* Some left-over internal code related to yield tests has been removed.
* Remove internally unused anypython fixture from the pytester plugin.
* Remove deprecated Sphinx directive, add_description_unit(), pin sphinx-removed-in to >= 0.2.0 to support Sphinx 2.0.
* Fix pytest tests invocation with custom PYTHONPATH.
* New pytest_report_to_serializable and pytest_report_from_serializable experimental hooks.
These hooks will be used by pytest-xdist, pytest-subtests, and the replacement for resultlog to serialize and customize reports.
They are experimental, meaning that their details might change or even be removed completely in future patch releases without warning.
Feedback is welcome from plugin authors and users alike.
* Collector.repr_failure respects the --tb option, but only defaults to short now (with auto).
4.14.2
This patch improves the error message if the function f in :ref:s.flatmap(f) <flatmap> does not return a strategy.
4.14.1
This release modifies how Hypothesis selects operations to run during shrinking, by causing it to deprioritise previously useless classes of shrink until others have reached a fixed point.
This avoids certain pathological cases where the shrinker gets very close to finishing and then takes a very long time to finish the last small changes because it tries many useless shrinks for each useful one towards the end. It also should cause a more modest improvement (probably no more than about 30%) in shrinking performance for most tests.
4.14.0
This release blocks installation of Hypothesis on Python 3.4, which :PEP:reached its end of life date on 2019-03-18 <429>.
This should not be of interest to anyone but downstream maintainers - if you are affected, migrate to a secure version of Python as soon as possible or at least seek commercial support.
4.13.0
This release makes it an explicit error to call :func:floats(min_value=inf, exclude_min=True) <hypothesis.strategies.floats> or :func:floats(max_value=-inf, exclude_max=True) <hypothesis.strategies.floats>, as there are no possible values that can be generated (:issue:1859).
:func:floats(min_value=0.0, max_value=-0.0) <hypothesis.strategies.floats> is now deprecated. While 0. == -0. and we could thus generate either if comparing by value, violating the sequence ordering of floats is a special case we don't want or need.
4.12.1
This release should significantly reduce the amount of memory that Hypothesis uses for representing large test cases, by storing information in a more compact representation and only unpacking it lazily when it is first needed.
4.12.0
This update adds the :obj:~hypothesis.settings.report_multiple_bugs setting, which you can use to disable multi-bug reporting and only raise whichever bug had the smallest minimal example. This is occasionally useful when using a debugger or tools that annotate tracebacks via introspection.
4.11.7
This change makes a tiny improvement to the core engine's bookkeeping. There is no user-visible change.
4.11.6
This release changes some of Hypothesis's internal shrinking behaviour in order to reduce memory usage and hopefully improve performance.
4.11.5
This release adds a micro-optimisation to how Hypothesis handles debug reporting internally. Hard to shrink test may see a slight performance improvement, but in most common scenarios it is unlikely to be noticeable.
4.11.4
This release removes some redundant code that was no longer needed but was still running a significant amount of computation and allocation on the hot path. This should result in a modest speed improvement for most tests, especially those with large test cases.
4.11.3
This release adds a micro-optimisation to how Hypothesis caches test cases. This will cause a small improvement in speed and memory usage for large test cases, but in most common scenarios it is unlikely to be noticeable.
4.11.2
This release removes some internal code that populates a field that is no longer used anywhere. This should result in some modest performance and speed improvements and no other user visible effects.
1.6.0:
* execnet no longer supports Python 2.6 and 3.3. Users of those Python versions
using a recent enough pip should not be affected, as pip will only install
1.5.0 for them.
* Update test suite to support pytest>4.
Protocol Buffers v3.7.1:
C++
Avoid linking against libatomic in prebuilt protoc binaries
Avoid marking generated C++ messages as final, though we will do this in a future release
Miscellaneous build fixes
Changes in 3.14.1 since 3.14.0:
* VS: Fix x64 host recognition by x86 cmake process
* find_program: Restore leading double slash on Windows network path
* Eclipse: Fix extra generator to not crash on interface libraries
* ARMCC: Fix identification of ARM compiler when it defines GNU macros
* Help: Clarify policy CMP0082 documentation
* Restore support for include_directories() in toolchain files
* CUDA: Tolerate square brackets in PROMPT environment variable
* cmake: Fix '-E copy foo .' to avoid clobbering file
* FindFontconfig: Convert module variables to camel case
* ParseImplicitIncludeInfo: Canonicalize implicit include dirs
* CPackIFW: Add missing cpack_ifw_configure_component_group option processing
* FindPython*: ensure correct architecture is selected.
* Autogen: Do not treat hard-coded -I/usr/include exclusion as implicit include
* ctest_coverage: fix out-of-bounds index in Jacoco parser
Changelog:
Many improvements and bugfixes including:
* Improve x86, PPC, iOS, Android, ARM, m68k, wasm, and msp430 etc. support
* Fix build under GNU Hurd etc.
* Add .NET PE binary
* Improve GDB support
This module provides a single subroutine, bits_is(), for testing binary data.
This module is quite similar to Test::BinaryData and Test::HexString in
concept. The difference is that this module shows failure diagnostics in a
different way, and has a slightly different calling style. Depending on the
nature of the data you're working with, this module may be easier to work
with.
Mercurial 4.9.1 (2019-03-19)
A regularly scheduled bugfix release, late due to vacations and similar disruptions at the regular time.
1.1. commands
record: prevent commits that don't pick up dirty subrepo changes (issue6102)
1.2. extensions
rebase: add missing dashes in help text
1.3. unsorted
subrepo: avoid false unsafe path detection on Windows
test-https: add some more known failure messages of client certs (issue6030)