1.0.7:
* Remove dead url from image_placeholder_services.
* Fix missing first_names in Romanian person provider.
* Add Catalan, adds doi/nie/nif/cif to Spain ssn.
* Add texts to generate list of texts.
* Add provider for pl_PL automotive and Polish pesel number.
* Corrected behavior for pyfloat.
Changes in 3.14.4 since 3.14.3:
* FindBoost: Record compiler features for Boost 1.67 and above
* FindBoost: Fix compiler features for `fiber` and `context`
* iOS: Fix try_compile FILE_COPY not to fail
* target_link_libraries: Fix static library private deps in other dirs
* Help: Add 3.14.4 release notes
* FindSWIG: Support swig4.0
* Apple: Preserve high resolution mtime for static libraries
* Apple: Properly lookup XCTest for iOS and tvOS
* FindPython: NumPy: fix erroneous dependencies management
* FindPython: ensure variable Python_RUNTIME_LIBRARY_DIRS is set correctly
### Changed
- Moved `\tl_if_single_token:n(TF)` to stable
- Moved `\file_get_mdfive_hash:nN(TF)`, `\file_get_size:nN(TF)`
and `\file_get_timestamp:nN(TF)` to stable
- Moved `\file_if_exist_input:n` and `\file_if_exist_input:nF` to stable
- Moved `\file_input_stop:` to stable
- Moved `\peek_N_type:TF` to stable
- Experimental `\driver_pdf_compress_objects:n` replaces
`\driver_pdf_objects_(en|dis)able:`
### Fixed
- Support for ConTeXt from mid-December 2018
- Infinite loop in some cases in DVI mode due to link-breaking code
- Category code of output from `\char_<target>_case:N`, and
same issue in `\str_<target>_case:n`
- Some issues in `dvisvgm` driver
### Added
- Experimental support for a range of PDF concepts at the lowest
(driver abstraction) level
- New `l3legacy` module containing
- `\legacy_if:n(TF)`
- `\char_str_<target>_case:N`
- `.muskip:N` property
- Experimental driver-level interfaces for image inclusion
- Experimental `\ior_shell_open:Nn`
pytest 4.5.0:
Features
- A warning is now emitted when unknown marks are used as a decorator.
This is often due to a typo, which can lead to silently broken tests.
- Show XFail reason as part of JUnitXML message field.
- Messages from crash reports are displayed within test summaries now, truncated to the terminal width.
- New flag --strict-markers that triggers an error when unknown markers (e.g. those not registered using the markers option_ in the configuration file) are used in the test suite.
The existing --strict option has the same behavior currently, but can be augmented in the future for additional checks.
- Assertion failure messages for sequences and dicts contain the number of different items now.
- Improve reporting with --lf and --ff (run-last-failure).
- The --cache-show option/action accepts an optional glob to show only matching cache entries.
- Standard input (stdin) can be given to pytester's Testdir.run() and Testdir.popen().
- The -r option learnt about A to display all reports (including passed ones) in the short test summary.
- The short test summary is displayed after passes with output (-rP).
- The --last-failed (--lf) option got smarter and will now skip entire files if all tests
of that test file have passed in previous runs, greatly speeding up collection.
- Introduce new specific warning PytestWarning subclasses to make it easier to filter warnings based on the class, rather than on the message. The new subclasses are:
* PytestAssertRewriteWarning
* PytestCacheWarning
* PytestCollectionWarning
* PytestConfigWarning
* PytestUnhandledCoroutineWarning
* PytestUnknownMarkWarning
- New record_testsuite_property session-scoped fixture allows users to log <property> tags at the testsuite
level with the junitxml plugin.
The generated XML is compatible with the latest xunit standard, contrary to
the properties recorded by record_property and record_xml_attribute.
- The default logging format has been changed to improve readability. Here is an
example of a previous logging message::
test_log_cli_enabled_disabled.py 3 CRITICAL critical message logged by test
This has now become::
CRITICAL root:test_log_cli_enabled_disabled.py:3 critical message logged by test
The formatting can be changed through the log_format <https://docs.pytest.org/en/latest/reference.html#confval-log_format>__ configuration option.
- --fixtures now also shows fixture scope for scopes other than "function".
Bug Fixes
- Deselected items from plugins using pytest_collect_modifyitems as a hookwrapper are correctly reported now.
- With usage errors exitstatus is set to EXIT_USAGEERROR in the pytest_sessionfinish hook now as expected.
- outcome.exit is not used with EOF in the pdb wrapper anymore, but only with quit.
Improved Documentation
- Expand docs on registering marks and the effect of --strict.
Trivial/Internal Changes
- logging.raiseExceptions is not set to False anymore.
- pytest now depends on wcwidth <https://pypi.org/project/wcwidth>__ to properly track unicode character sizes for more precise terminal output.
- pytester's Testdir.popen() uses stdout and stderr via keyword arguments with defaults now (subprocess.PIPE).
- The code for the short test summary in the terminal was moved to the terminal plugin.
- Improved validation of kwargs for various methods in the pytester plugin.
- record_property now emits a PytestWarning when used with junit_family=xunit2: the fixture generates
property tags as children of testcase, which is not permitted according to the most
recent schema <https://github.com/jenkinsci/xunit-plugin/blob/master/
src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd>__.
- Pin pluggy to < 1.0 so we don't update to 1.0 automatically when
it gets released: there are planned breaking changes, and we want to ensure
pytest properly supports pluggy 1.0.
Changelog:
2019.1.2
This update comes with a bunch of notable fixes:
Fixed several major Gradle issues: IDEA-210487, IDEA-210487, IDEA-178417.
The “Open Recent” menu can now display the path to a project: IDEA-168223.
The terminal tabs can now be reordered with Ctrl+Shift+Left/Right on Windows / Linux, and cmd+Shift+Left/Right on macOS: IDEA-202809.
It’s now possible to build a Groovy project using the Groovy-Eclipse compiler: IDEA-207921.
The Recent Locations popup now opens all the selected locations: IDEA-209286
The Run Anything popup shows the correct list of Maven goals: IDEA-199283, and shows correct suggestions on the first run: IDEA-210716.
2019.1.1
Out of dozens of important fixes this update delivers, here are the most important ones:
Performance issues: the IDE doesn’t freeze on Auto-import (IDEA-206649) and we’ve fixed the issue that was causing very high memory usage on relatively small projects (IDEA-210047).
Regressions fixed: The ‘Start Failed’ dialog doesn’t appear on closing the import settings dialog, and VCS refreshes don’t take very long with Mercurial anymore: IDEA-209262.
Updating plugins in an offline environment now works with the new marketplace and custom plugin repository: IDEA-205032.
No confirmation dialog is shown when you try to close a Terminal without running processes: IDEA-205690.
It’s now possible to switch back from the Terminal tool window to the editor by pressing Esc: IDEA-116221.
In the Run Configuration dialog, you can paste just the name or just the value of an Environment Variable: IDEA-206952.
The IDE now correctly creates a branch when you open a task with the ‘create branch’ option enabled: IDEA-205194.
It’s now possible to type characters that require AltGr (IntelliJ IDEA with JBR11): IDEA-209426.
For those using the IdeaVim plugin, the Esc key in insert mode closes the autocomplete popup and exits the insert mode: IDEA-209779.
The bundled Kotlin plugin was updated to v1.3.21-release-IJ2019.1-3, with the following fixes integrated: KT-30117, KT-29427, KT-30137, and KT-9618.
Minor changes, the most important of which is introducing ocaml 4.08
compatibility. The configure script has also been moved and is now called
during compilation.
Added Catalan, Galician, Chinese and Portuguese translation.
Detect and give hint when enquote macro is already defined.
Fix LaTeX Error: Too deeply nested.
pkgsrc changes:
- Update HOMEPAGE
Changes (no changelog provided, these are from commit messages):
2.6.1
-----
- util: fix handling of empty short option
- make: dist, all, and help should also be phony rules
2.6
---
- client: do not accept NULL character as command arguments
- client: ignore close() on non-open clients (issue5751)
2.5
---
- hgclient: look for an open server before closing it in ResponseError block
- _readchannel: if a read failure is due to a broken server, report that
- config: un-break showconfig wrapper when environment variables are used
- client: make it robust for weird repository path
- util: make cmdbuilder() robust for faulty parsing of early options
- client: do not append an option to a list of arguments
- client: raise ResponseError in _readchannel()
- client: don't swallow ResponseError inside open()
- client: kill the server on unrecoverable communication errors (issue5516)
- client: fail gracefully on unexpected prompts (issue5516)
- summary: parse commit line less strictly (issue5637)
Changelog:
This is mainly a fix for #1.
But with that, the API is slightly changed. New now simply returns
only a function:
debounced := debounce.New(100 * time.Millisecond)
Install destination inconsistency if PKG_REVISION is set.
The part of error message looks as:
ERROR: The following files are in the PLIST but not in /W/devel/rubymine-bin/work/.destdir/usr/pkg:
ERROR: /W/devel/rubymine-bin/work/.destdir/usr/pkg/${PKGNAME_NOREV}/Install-Linux-tar.txt
.....
....
ERROR: ************************************************************
ERROR: The following files are in /W/devel/rubymine-bin/work/.destdir/usr/pkg but not in the PLIST:
ERROR: /W/devel/rubymine-bin/work/.destdir/usr/pkg/rubymine-bin-2018.3.5nb1/Install-Linux-tar.txt
pytest 4.4.2:
Bug Fixes
* Fix crash caused by error in __repr__ function with both showlocals and verbose output enabled.
* Eliminate core dependency on ‘terminal’ plugin.
* Require pluggy>=0.11.0 which reverts a dependency to importlib-metadata added in 0.10.0. The importlib-metadata package cannot be imported when installed as an egg and causes issues when relying on setup.py to install test dependencies.
Improved Documentation
* Doc: pytest_ignore_collect, pytest_collect_directory, pytest_collect_file and pytest_pycollect_makemodule hooks’s ‘path’ parameter documented type is now py.path.local
* Improve help for --runxfail flag.
Trivial/Internal Changes
* Removed internal and unused _pytest.deprecated.MARK_INFO_ATTRIBUTE.
pluggy 0.11.0:
- Revert changes made in 0.10.0 release breaking .egg installs.
pluggy 0.10.0:
- Switch from pkg_resources to importlib-metadata for entrypoint detection for improved performance and import time.
4.23.4:
Fixes a minor formatting issue the docstring of from_type()
4.23.3:
Adds a recipe to the docstring of from_type() that describes a means for drawing values for “everything except” a specified type. This recipe is especially useful for writing tests that perform input-type validation.
4.23.2:
This patch uses autoflake to remove some pointless pass statements, which improves our workflow but has no user-visible impact.
4.23.1:
This patch fixes an OverflowError in from_type(xrange) on Python 2.
It turns out that not only do the start and stop values have to fit in a C long, but so does stop - start. We now handle this even on 32bit platforms, but remind users that Python2 will not be supported after 2019 without specific funding.
4.23.0:
This release implements the slices() strategy, to generate slices of a length-size sequence.
4.22.3:
This patch exposes DataObject, solely to support more precise type hints. Objects of this type are provided by data(), and can be used to draw examples from strategies intermixed with your test code.
4.22.2:
This patch fixes the very rare issue 1798 in array_dtypes(), which caused an internal error in our tests.
4.22.1:
This patch fixes a rare bug in from_type(range).
4.22.0:
The unique_by argument to lists now accepts a tuple of callables such that every element of the generated list will be unique with respect to each callable in the tuple.
4.21.1:
This patch cleans up the internals of one_of(). You may see a slight change to the distribution of examples from this strategy but there is no change to the public API.
4.21.0:
The from_type() strategy now supports slice objects.
4.20.0:
This release improves the array_shapes() strategy, to choose an appropriate default for max_side based on the min_side, and max_dims based on the min_dims. An explicit error is raised for dimensions greater than 32, which are not supported by Numpy, as for other invalid combinations of arguments.
4.19.0:
The from_type() strategy now supports range objects (or xrange on Python 2).
4.18.3:
This release fixes a very rare edge case in the test-case mutator, which could cause an internal error with certain unusual tests.
4.18.2:
This patch makes Hypothesis compatible with the Python 3.8 alpha, which changed the representation of code objects to support positional-only arguments. Note however that Hypothesis does not (yet) support such functions as e.g. arguments to builds() or inputs to @given.
4.18.1:
This patch improves the performance of unique collections such as sets() when the elements are drawn from a sampled_from() strategy.
4.18.0:
This release adds the functions() strategy, which can be used to imitate your ‘real’ function for callbacks.
4.17.2:
This release refactors stateful rule selection to share the new machinery with sampled_from() instead of using the original independent implementation.
4.17.1:
This patch allows Hypothesis to try a few more examples after finding the first bug, in hopes of reporting multiple distinct bugs. The heuristics described in issue 847 ensure that we avoid wasting time on fruitless searches, while still surfacing each bug as soon as possible.
Upstream changes:
0.40 2019-05-03
[CHANGES]
* Added Future::Exception (RT129373)
* Make ->get throw a Future::Exception and ->fail recognise one
* Better documentation of the failure category parameter
* Added a properly-documented ->block_until_ready
Update DEPENDS
Upstream changes:
0.000121 2019-05-07 12:00:27-07:00 America/Los_Angeles
- Tracking for mocked methods
- Include raw table in facet data when compare fails
0.000120 2019-04-26 05:19:18-07:00 America/Los_Angeles
- Allow all_items inside bag
Upstream changes:
3.51 - 2019-05-01
* include the module version in metadata for proper PAUSE indexing
3.50 - 2019-04-30
* Order warn before uv for packWARN (shown in 5.6.1)
3.49 - 2019-04-29
* Fix tests for 64bit int, 32bit ptr platforms
3.48 - 2019-04-28
* Order misc before uv for UNLIKELY (<=5.8.8)
3.47 - 2019-04-27
* re-fix leaky code (used only in tests)
Many mostly minor changes and bugfixes, nothing that breaks backward
compatibility. A full list is available in the CHANGES file.
The package now also builds the release version, which results in a lot
fewer warnings, and actually is necessary for building with OCaml 4.08.
0.15.94:
- fix missing line-break after end-of-file comments not ending in
line-break
0.15.93:
- fix failure to parse empty implicit flow mapping key
- in YAML 1.1 plains scalars y, 'n', Y, and 'N' are now
correctly recognised as booleans and such strings dumped quoted
0.15.92:
- fix failure to parse empty implicit block mapping key
0.15.91:
- allowing duplicate keys would not work for merge keys
0.15.90:
- fix issue with updating CommentedMap from list of tuples
0.15.89:
- fix for items with flow-mapping in block sequence output on single line
- fix for safe dumping erroring in creation of representereror when dumping namedtuple
0.15.88:
- fix inclusing of python code from the subpackage data
0.15.87:
- fix problem with empty lists and the code to reinsert merge keys
0.15.86:
- reinsert merge key in its old position
- fix for issue with non-ASCII anchor names
- fix for issue when parsing flow mapping value starting with colon (in pure Python only)
0.15.85:
- the types used by SafeConstructor for mappings and sequences can
now by set by assigning to XXXConstructor.yaml_base_dict_type
(and ..._list_type), preventing the need to copy two methods
with 50+ lines that had var = {} hardcoded.
0.15.84:
- fix for CommentedMap.copy() not returning CommentedMap, let alone copying comments etc.
0.15.83:
- fix for bug in roundtripping aliases used as key
0.15.82:
- anchors and aliases on scalar int, float, string and bool are now preserved. Anchors
do not need a referring alias for these
- anchors no longer lost on tagged objects when roundtripping
0.15.81:
- fix issue saving methods of metaclass derived classes
0.15.80:
- fix issue emitting BEL character when round-tripping invalid folded input
0.15.79:
- fix issue with anchors nested deeper than alias
0.15.78:
- fix setup issue for 3.8
0.15.77:
- setting yaml.sort_base_mapping_type_on_output = False, will prevent
explicit sorting by keys in the base representer of mappings. Roundtrip
already did not do this. Usage only makes real sense for Python 3.6+
- implement Python version check in YAML metadata in _test/test_z_data.py
0.15.76:
- fix issue with empty mapping and sequence loaded as flow-style
0.15.75:
- fix issue with single '?' scalar
- fix issue with duplicate merge keys
0.15.74:
- fix dropping of comment on rt before sequence item that is sequence item
0.15.73:
- fix irregular output on pre-comment in sequence within sequence
- allow non-compact (i.e. next line) dumping sequence/mapping within sequence.
19.1.1:
Features
- Restore pyproject.toml handling to how it was with pip 19.0.3 to prevent
the need to add --no-use-pep517 when installing in editable mode.
Bug Fixes
- Fix a regression that caused @ to be quoted in pypiserver links.
This interfered with parsing the revision string from VCS urls.