Changelog
### 7.1.0
```
=========================
Breaking Changes
----------------
- `8838 <https://github.com/pytest-dev/pytest/issues/8838>`_: As per our policy, the following features have been deprecated in the 6.X series and are now
removed:
* ``pytest._fillfuncargs`` function.
* ``pytest_warning_captured`` hook - use ``pytest_warning_recorded`` instead.
* ``-k -foobar`` syntax - use ``-k 'not foobar'`` instead.
* ``-k foobar:`` syntax.
* ``pytest.collect`` module - import from ``pytest`` directly.
For more information consult
`Deprecations and Removals <https://docs.pytest.org/en/latest/deprecations.html>`__ in the docs.
- `9437 <https://github.com/pytest-dev/pytest/issues/9437>`_: Dropped support for Python 3.6, which reached `end-of-life <https://devguide.python.org/#status-of-python-branches>`__ at 2021-12-23.
Improvements
------------
- `5192 <https://github.com/pytest-dev/pytest/issues/5192>`_: Fixed test output for some data types where ``-v`` would show less information.
Also, when showing diffs for sequences, ``-q`` would produce full diffs instead of the expected diff.
- `9362 <https://github.com/pytest-dev/pytest/issues/9362>`_: pytest now avoids specialized assert formatting when it is detected that the default ``__eq__`` is overridden in ``attrs`` or ``dataclasses``.
- `9536 <https://github.com/pytest-dev/pytest/issues/9536>`_: When ``-vv`` is given on command line, show skipping and xfail reasons in full instead of truncating them to fit the terminal width.
- `9644 <https://github.com/pytest-dev/pytest/issues/9644>`_: More information about the location of resources that led Python to raise :class:`ResourceWarning` can now
be obtained by enabling :mod:`tracemalloc`.
See :ref:`resource-warnings` for more information.
- `9678 <https://github.com/pytest-dev/pytest/issues/9678>`_: More types are now accepted in the ``ids`` argument to ``pytest.mark.parametrize``.
Previously only `str`, `float`, `int` and `bool` were accepted;
now `bytes`, `complex`, `re.Pattern`, `Enum` and anything with a `__name__` are also accepted.
- `9692 <https://github.com/pytest-dev/pytest/issues/9692>`_: :func:`pytest.approx` now raises a :class:`TypeError` when given an unordered sequence (such as :class:`set`).
Note that this implies that custom classes which only implement ``__iter__`` and ``__len__`` are no longer supported as they don't guarantee order.
Bug Fixes
---------
- `8242 <https://github.com/pytest-dev/pytest/issues/8242>`_: The deprecation of raising :class:`unittest.SkipTest` to skip collection of
tests during the pytest collection phase is reverted - this is now a supported
feature again.
- `9493 <https://github.com/pytest-dev/pytest/issues/9493>`_: Symbolic link components are no longer resolved in conftest paths.
This means that if a conftest appears twice in collection tree, using symlinks, it will be executed twice.
For example, given
tests/real/conftest.py
tests/real/test_it.py
tests/link -> tests/real
running ``pytest tests`` now imports the conftest twice, once as ``tests/real/conftest.py`` and once as ``tests/link/conftest.py``.
This is a fix to match a similar change made to test collection itself in pytest 6.0 (see :pull:`6523` for details).
- `9626 <https://github.com/pytest-dev/pytest/issues/9626>`_: Fixed count of selected tests on terminal collection summary when there were errors or skipped modules.
If there were errors or skipped modules on collection, pytest would mistakenly subtract those from the selected count.
- `9645 <https://github.com/pytest-dev/pytest/issues/9645>`_: Fixed regression where ``--import-mode=importlib`` used together with :envvar:`PYTHONPATH` or :confval:`pythonpath` would cause import errors in test suites.
- `9708 <https://github.com/pytest-dev/pytest/issues/9708>`_: :fixture:`pytester` now requests a :fixture:`monkeypatch` fixture instead of creating one internally. This solves some issues with tests that involve pytest environment variables.
- `9730 <https://github.com/pytest-dev/pytest/issues/9730>`_: Malformed ``pyproject.toml`` files now produce a clearer error message.
```
### 7.0.1
```
=========================
Bug Fixes
---------
- `9608 <https://github.com/pytest-dev/pytest/issues/9608>`_: Fix invalid importing of ``importlib.readers`` in Python 3.9.
- `9610 <https://github.com/pytest-dev/pytest/issues/9610>`_: Restore `UnitTestFunction.obj` to return unbound rather than bound method.
Fixes a crash during a failed teardown in unittest TestCases with non-default `__init__`.
Regressed in pytest 7.0.0.
- `9636 <https://github.com/pytest-dev/pytest/issues/9636>`_: The ``pythonpath`` plugin was renamed to ``python_path``. This avoids a conflict with the ``pytest-pythonpath`` plugin.
- `9642 <https://github.com/pytest-dev/pytest/issues/9642>`_: Fix running tests by id with ``::`` in the parametrize portion.
- `9643 <https://github.com/pytest-dev/pytest/issues/9643>`_: Delay issuing a :class:`~pytest.PytestWarning` about diamond inheritance involving :class:`~pytest.Item` and
:class:`~pytest.Collector` so it can be filtered using :ref:`standard warning filters <warnings>`.
```
Links
- PyPI: https://pypi.org/project/pytest
- Changelog: https://pyup.io/changelogs/pytest/
- Homepage: https://docs.pytest.org/en/latest/
Changelog
### 9.1.0
```
------------------
- Add support for multiple component transformation to JPEG2000 5500
[scaramallion, radarhere, hugovk]
- Fix loading FriBiDi on Alpine 6165
[nulano]
- Added setting for converting GIF P frames to RGB 6150
[radarhere]
- Allow 1 mode images to be inverted 6034
[radarhere]
- Raise ValueError when trying to save empty JPEG 6159
[radarhere]
- Always save TIFF with contiguous planar configuration 5973
[radarhere]
- Connected discontiguous polygon corners 5980
[radarhere]
- Ensure Tkinter hook is activated for getimage() 6032
[radarhere]
- Use screencapture arguments to crop on macOS 6152
[radarhere]
- Do not mark L mode JPEG as 1 bit in PDF 6151
[radarhere]
- Added support for reading I;16R TIFF images 6132
[radarhere]
- If an error occurs after creating a file, remove the file 6134
[radarhere]
- Fixed calling DisplayViewer or XVViewer without a title 6136
[radarhere]
- Retain RGBA transparency when saving multiple GIF frames 6128
[radarhere]
- Save additional ICO frames with other bit depths if supplied 6122
[radarhere]
- Handle EXIF data truncated to just the header 6124
[radarhere]
- Added support for reading BMP images with RLE8 compression 6102
[radarhere]
- Support Python distributions where _tkinter is compiled in 6006
[lukegb]
- Added support for PPM arbitrary maxval 6119
[radarhere]
- Added BigTIFF reading 6097
[radarhere]
- When converting, clip I;16 to be unsigned, not signed 6112
[radarhere]
- Fixed loading L mode GIF with transparency 6086
[radarhere]
- Improved handling of PPM header 5121
[Piolie, radarhere]
- Reset size when seeking away from "Large Thumbnail" MPO frame 6101
[radarhere]
- Replace requirements.txt with extras 6072
[hugovk, radarhere]
- Added PyEncoder and support BLP saving 6069
[radarhere]
- Handle TGA images with packets that cross scan lines 6087
[radarhere]
- Added FITS reading 6056
[radarhere, hugovk]
- Added rawmode argument to Image.getpalette() 6061
[radarhere]
- Fixed BUFR, GRIB and HDF5 stub saving 6071
[radarhere]
- Do not automatically remove temporary ImageShow files on Unix 6045
[radarhere]
- Correctly read JPEG compressed BLP images 4685
[Meithal, radarhere]
- Merged _MODE_CONV typ into ImageMode as typestr 6057
[radarhere]
- Consider palette size when converting and in getpalette() 6060
[radarhere]
- Added enums 5954
[radarhere]
- Ensure image is opaque after converting P to PA with RGB palette 6052
[radarhere]
- Attach RGBA palettes from putpalette() when suitable 6054
[radarhere]
- Added get_photoshop_blocks() to parse Photoshop TIFF tag 6030
[radarhere]
- Drop excess values in BITSPERSAMPLE 6041
[mikhail-iurkov]
- Added unpacker from RGBA;15 to RGB 6031
[radarhere]
- Enable arm64 for MSVC on Windows 5811
[gaborkertesz-linaro, gaborkertesz]
- Keep IPython/Jupyter text/plain output stable 5891
[shamrin, radarhere]
- Raise an error when performing a negative crop 5972
[radarhere, hugovk]
- Deprecated show_file "file" argument in favour of "path" 5959
[radarhere]
- Fixed SPIDER images for use with Bio-formats library 5956
[radarhere]
- Ensure duplicated file pointer is closed 5946
[radarhere]
- Added specific error if path coordinate type is incorrect 5942
[radarhere]
- Return an empty bytestring from tobytes() for an empty image 5938
[radarhere]
- Remove readonly from Image.__eq__ 5930
[hugovk]
```
Links
- PyPI: https://pypi.org/project/pillow
- Changelog: https://pyup.io/changelogs/pillow/
- Homepage: https://python-pillow.org
Changelog
### 4.32.0
```
----------------------------
- [otlLib] Disable GPOS7 optimization to work around bug in Apple CoreText.
Always force Chaining GPOS8 for now (2540).
- [glifLib] Added ``outputImpliedClosingLine=False`` parameter to ``Glyph.draw()``,
to control behaviour of ``PointToSegmentPen`` (6b4e2e7).
- [varLib.interpolatable] Check for wrong contour starting point (2571).
- [cffLib] Remove leftover ``GlobalState`` class and fix calls to ``TopDictIndex()``
(2569, 2570).
- [instancer] Clear ``AxisValueArray`` if it is empty after instantiating (2563).
```
### 4.31.2
```
----------------------------
- [varLib] fix instantiation of GPOS SinglePos values (2555).
```
### 4.31.1
```
----------------------------
- [subset] fix subsetting OT-SVG when glyph id attribute is on the root ``<svg>``
element (2553).
```
### 4.31.0
```
----------------------------
- [ttCollection] Fixed 'ResourceWarning: unclosed file' warning (2549).
- [varLib.merger] Handle merging SinglePos with valueformat=0 (2550).
- [ttFont] Update glyf's glyphOrder when calling TTFont.setGlyphOrder() (2544).
- [ttFont] Added ``ensureDecompiled`` method to load all tables irrespective
of the ``lazy`` attribute (2551).
- [otBase] Added ``iterSubTable`` method to iterate over BaseTable's children of
type BaseTable; useful for traversing a tree of otTables (2551).
```
### 4.30.0
```
----------------------------
- [varLib] Added debug logger showing the glyph name for which ``gvar`` is built (2542).
- [varLib.errors] Fixed undefined names in ``FoundANone`` and ``UnsupportedFormat``
exceptions (ac4d5611).
- [otlLib.builder] Added ``windowsNames`` and ``macNames`` (bool) parameters to the
``buildStatTabe`` function, so that one can select whether to only add one or both
of the two sets (2528).
- [t1Lib] Added the ability to recreate PostScript stream (2504).
- [name] Added ``getFirstDebugName``, ``getBest{Family,SubFamily,Full}Name`` methods (2526).
```
Links
- PyPI: https://pypi.org/project/fonttools
- Changelog: https://pyup.io/changelogs/fonttools/
- Repo: http://github.com/fonttools/fonttools
Changelog
### 0.24.1
```
* Include missing HarfBuzz source files to source distribution. (120)
```
### 0.24.0
```
* Updated to HarfBuzz 4.2.0.
* Add Font.ppem and Font.ptem properties. (114)
* Raise `HarfBuzzError` in `Blob.from_file_path()` on error, instead of
returning an empty blob. (116)
```
### 0.23.0
```
- Updated to HarfBuzz 4.1.0.
- Add `repack()` for table packing.
```
### 0.22.0
```
- Updated to HarfBuzz 4.0.1.
- Updated to use the stable HarfBuzz draw API. Old Python API is
deprecated and new one better matching the C API is added.
```
### 0.21.0
```
- Updated to HarfBuzz 3.3.2.
```
Links
- PyPI: https://pypi.org/project/uharfbuzz
- Changelog: https://pyup.io/changelogs/uharfbuzz/
- Repo: https://github.com/trufont/uharfbuzz
Update pytest from 7.0.0 to 7.1.1.
Changelog
### 7.1.0 ``` ========================= Breaking Changes ---------------- - `8838 <https://github.com/pytest-dev/pytest/issues/8838>`_: As per our policy, the following features have been deprecated in the 6.X series and are now removed: * ``pytest._fillfuncargs`` function. * ``pytest_warning_captured`` hook - use ``pytest_warning_recorded`` instead. * ``-k -foobar`` syntax - use ``-k 'not foobar'`` instead. * ``-k foobar:`` syntax. * ``pytest.collect`` module - import from ``pytest`` directly. For more information consult `Deprecations and Removals <https://docs.pytest.org/en/latest/deprecations.html>`__ in the docs. - `9437 <https://github.com/pytest-dev/pytest/issues/9437>`_: Dropped support for Python 3.6, which reached `end-of-life <https://devguide.python.org/#status-of-python-branches>`__ at 2021-12-23. Improvements ------------ - `5192 <https://github.com/pytest-dev/pytest/issues/5192>`_: Fixed test output for some data types where ``-v`` would show less information. Also, when showing diffs for sequences, ``-q`` would produce full diffs instead of the expected diff. - `9362 <https://github.com/pytest-dev/pytest/issues/9362>`_: pytest now avoids specialized assert formatting when it is detected that the default ``__eq__`` is overridden in ``attrs`` or ``dataclasses``. - `9536 <https://github.com/pytest-dev/pytest/issues/9536>`_: When ``-vv`` is given on command line, show skipping and xfail reasons in full instead of truncating them to fit the terminal width. - `9644 <https://github.com/pytest-dev/pytest/issues/9644>`_: More information about the location of resources that led Python to raise :class:`ResourceWarning` can now be obtained by enabling :mod:`tracemalloc`. See :ref:`resource-warnings` for more information. - `9678 <https://github.com/pytest-dev/pytest/issues/9678>`_: More types are now accepted in the ``ids`` argument to ``pytest.mark.parametrize``. Previously only `str`, `float`, `int` and `bool` were accepted; now `bytes`, `complex`, `re.Pattern`, `Enum` and anything with a `__name__` are also accepted. - `9692 <https://github.com/pytest-dev/pytest/issues/9692>`_: :func:`pytest.approx` now raises a :class:`TypeError` when given an unordered sequence (such as :class:`set`). Note that this implies that custom classes which only implement ``__iter__`` and ``__len__`` are no longer supported as they don't guarantee order. Bug Fixes --------- - `8242 <https://github.com/pytest-dev/pytest/issues/8242>`_: The deprecation of raising :class:`unittest.SkipTest` to skip collection of tests during the pytest collection phase is reverted - this is now a supported feature again. - `9493 <https://github.com/pytest-dev/pytest/issues/9493>`_: Symbolic link components are no longer resolved in conftest paths. This means that if a conftest appears twice in collection tree, using symlinks, it will be executed twice. For example, given tests/real/conftest.py tests/real/test_it.py tests/link -> tests/real running ``pytest tests`` now imports the conftest twice, once as ``tests/real/conftest.py`` and once as ``tests/link/conftest.py``. This is a fix to match a similar change made to test collection itself in pytest 6.0 (see :pull:`6523` for details). - `9626 <https://github.com/pytest-dev/pytest/issues/9626>`_: Fixed count of selected tests on terminal collection summary when there were errors or skipped modules. If there were errors or skipped modules on collection, pytest would mistakenly subtract those from the selected count. - `9645 <https://github.com/pytest-dev/pytest/issues/9645>`_: Fixed regression where ``--import-mode=importlib`` used together with :envvar:`PYTHONPATH` or :confval:`pythonpath` would cause import errors in test suites. - `9708 <https://github.com/pytest-dev/pytest/issues/9708>`_: :fixture:`pytester` now requests a :fixture:`monkeypatch` fixture instead of creating one internally. This solves some issues with tests that involve pytest environment variables. - `9730 <https://github.com/pytest-dev/pytest/issues/9730>`_: Malformed ``pyproject.toml`` files now produce a clearer error message. ``` ### 7.0.1 ``` ========================= Bug Fixes --------- - `9608 <https://github.com/pytest-dev/pytest/issues/9608>`_: Fix invalid importing of ``importlib.readers`` in Python 3.9. - `9610 <https://github.com/pytest-dev/pytest/issues/9610>`_: Restore `UnitTestFunction.obj` to return unbound rather than bound method. Fixes a crash during a failed teardown in unittest TestCases with non-default `__init__`. Regressed in pytest 7.0.0. - `9636 <https://github.com/pytest-dev/pytest/issues/9636>`_: The ``pythonpath`` plugin was renamed to ``python_path``. This avoids a conflict with the ``pytest-pythonpath`` plugin. - `9642 <https://github.com/pytest-dev/pytest/issues/9642>`_: Fix running tests by id with ``::`` in the parametrize portion. - `9643 <https://github.com/pytest-dev/pytest/issues/9643>`_: Delay issuing a :class:`~pytest.PytestWarning` about diamond inheritance involving :class:`~pytest.Item` and :class:`~pytest.Collector` so it can be filtered using :ref:`standard warning filters <warnings>`. ```Links
- PyPI: https://pypi.org/project/pytest - Changelog: https://pyup.io/changelogs/pytest/ - Homepage: https://docs.pytest.org/en/latest/Update pillow from 9.0.1 to 9.1.0.
Changelog
### 9.1.0 ``` ------------------ - Add support for multiple component transformation to JPEG2000 5500 [scaramallion, radarhere, hugovk] - Fix loading FriBiDi on Alpine 6165 [nulano] - Added setting for converting GIF P frames to RGB 6150 [radarhere] - Allow 1 mode images to be inverted 6034 [radarhere] - Raise ValueError when trying to save empty JPEG 6159 [radarhere] - Always save TIFF with contiguous planar configuration 5973 [radarhere] - Connected discontiguous polygon corners 5980 [radarhere] - Ensure Tkinter hook is activated for getimage() 6032 [radarhere] - Use screencapture arguments to crop on macOS 6152 [radarhere] - Do not mark L mode JPEG as 1 bit in PDF 6151 [radarhere] - Added support for reading I;16R TIFF images 6132 [radarhere] - If an error occurs after creating a file, remove the file 6134 [radarhere] - Fixed calling DisplayViewer or XVViewer without a title 6136 [radarhere] - Retain RGBA transparency when saving multiple GIF frames 6128 [radarhere] - Save additional ICO frames with other bit depths if supplied 6122 [radarhere] - Handle EXIF data truncated to just the header 6124 [radarhere] - Added support for reading BMP images with RLE8 compression 6102 [radarhere] - Support Python distributions where _tkinter is compiled in 6006 [lukegb] - Added support for PPM arbitrary maxval 6119 [radarhere] - Added BigTIFF reading 6097 [radarhere] - When converting, clip I;16 to be unsigned, not signed 6112 [radarhere] - Fixed loading L mode GIF with transparency 6086 [radarhere] - Improved handling of PPM header 5121 [Piolie, radarhere] - Reset size when seeking away from "Large Thumbnail" MPO frame 6101 [radarhere] - Replace requirements.txt with extras 6072 [hugovk, radarhere] - Added PyEncoder and support BLP saving 6069 [radarhere] - Handle TGA images with packets that cross scan lines 6087 [radarhere] - Added FITS reading 6056 [radarhere, hugovk] - Added rawmode argument to Image.getpalette() 6061 [radarhere] - Fixed BUFR, GRIB and HDF5 stub saving 6071 [radarhere] - Do not automatically remove temporary ImageShow files on Unix 6045 [radarhere] - Correctly read JPEG compressed BLP images 4685 [Meithal, radarhere] - Merged _MODE_CONV typ into ImageMode as typestr 6057 [radarhere] - Consider palette size when converting and in getpalette() 6060 [radarhere] - Added enums 5954 [radarhere] - Ensure image is opaque after converting P to PA with RGB palette 6052 [radarhere] - Attach RGBA palettes from putpalette() when suitable 6054 [radarhere] - Added get_photoshop_blocks() to parse Photoshop TIFF tag 6030 [radarhere] - Drop excess values in BITSPERSAMPLE 6041 [mikhail-iurkov] - Added unpacker from RGBA;15 to RGB 6031 [radarhere] - Enable arm64 for MSVC on Windows 5811 [gaborkertesz-linaro, gaborkertesz] - Keep IPython/Jupyter text/plain output stable 5891 [shamrin, radarhere] - Raise an error when performing a negative crop 5972 [radarhere, hugovk] - Deprecated show_file "file" argument in favour of "path" 5959 [radarhere] - Fixed SPIDER images for use with Bio-formats library 5956 [radarhere] - Ensure duplicated file pointer is closed 5946 [radarhere] - Added specific error if path coordinate type is incorrect 5942 [radarhere] - Return an empty bytestring from tobytes() for an empty image 5938 [radarhere] - Remove readonly from Image.__eq__ 5930 [hugovk] ```Links
- PyPI: https://pypi.org/project/pillow - Changelog: https://pyup.io/changelogs/pillow/ - Homepage: https://python-pillow.orgUpdate fonttools[unicode] from 4.29.1 to 4.32.0.
Changelog
### 4.32.0 ``` ---------------------------- - [otlLib] Disable GPOS7 optimization to work around bug in Apple CoreText. Always force Chaining GPOS8 for now (2540). - [glifLib] Added ``outputImpliedClosingLine=False`` parameter to ``Glyph.draw()``, to control behaviour of ``PointToSegmentPen`` (6b4e2e7). - [varLib.interpolatable] Check for wrong contour starting point (2571). - [cffLib] Remove leftover ``GlobalState`` class and fix calls to ``TopDictIndex()`` (2569, 2570). - [instancer] Clear ``AxisValueArray`` if it is empty after instantiating (2563). ``` ### 4.31.2 ``` ---------------------------- - [varLib] fix instantiation of GPOS SinglePos values (2555). ``` ### 4.31.1 ``` ---------------------------- - [subset] fix subsetting OT-SVG when glyph id attribute is on the root ``<svg>`` element (2553). ``` ### 4.31.0 ``` ---------------------------- - [ttCollection] Fixed 'ResourceWarning: unclosed file' warning (2549). - [varLib.merger] Handle merging SinglePos with valueformat=0 (2550). - [ttFont] Update glyf's glyphOrder when calling TTFont.setGlyphOrder() (2544). - [ttFont] Added ``ensureDecompiled`` method to load all tables irrespective of the ``lazy`` attribute (2551). - [otBase] Added ``iterSubTable`` method to iterate over BaseTable's children of type BaseTable; useful for traversing a tree of otTables (2551). ``` ### 4.30.0 ``` ---------------------------- - [varLib] Added debug logger showing the glyph name for which ``gvar`` is built (2542). - [varLib.errors] Fixed undefined names in ``FoundANone`` and ``UnsupportedFormat`` exceptions (ac4d5611). - [otlLib.builder] Added ``windowsNames`` and ``macNames`` (bool) parameters to the ``buildStatTabe`` function, so that one can select whether to only add one or both of the two sets (2528). - [t1Lib] Added the ability to recreate PostScript stream (2504). - [name] Added ``getFirstDebugName``, ``getBest{Family,SubFamily,Full}Name`` methods (2526). ```Links
- PyPI: https://pypi.org/project/fonttools - Changelog: https://pyup.io/changelogs/fonttools/ - Repo: http://github.com/fonttools/fonttoolsUpdate uharfbuzz from 0.20.0 to 0.24.1.
Changelog
### 0.24.1 ``` * Include missing HarfBuzz source files to source distribution. (120) ``` ### 0.24.0 ``` * Updated to HarfBuzz 4.2.0. * Add Font.ppem and Font.ptem properties. (114) * Raise `HarfBuzzError` in `Blob.from_file_path()` on error, instead of returning an empty blob. (116) ``` ### 0.23.0 ``` - Updated to HarfBuzz 4.1.0. - Add `repack()` for table packing. ``` ### 0.22.0 ``` - Updated to HarfBuzz 4.0.1. - Updated to use the stable HarfBuzz draw API. Old Python API is deprecated and new one better matching the C API is added. ``` ### 0.21.0 ``` - Updated to HarfBuzz 3.3.2. ```Links
- PyPI: https://pypi.org/project/uharfbuzz - Changelog: https://pyup.io/changelogs/uharfbuzz/ - Repo: https://github.com/trufont/uharfbuzz