Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduled weekly dependency update for week 51 #382

Closed
wants to merge 14 commits into from

Conversation

pyup-bot
Copy link
Collaborator

Update pytest from 7.2.2 to 7.4.3.

Changelog

7.4.3

=========================

Bug Fixes
---------

- `10447 <https://github.com/pytest-dev/pytest/issues/10447>`_: Markers are now considered in the reverse mro order to ensure base  class markers are considered first -- this resolves a regression.


- `11239 <https://github.com/pytest-dev/pytest/issues/11239>`_: Fixed ``:=`` in asserts impacting unrelated test cases.


- `11439 <https://github.com/pytest-dev/pytest/issues/11439>`_: Handled an edge case where :data:`sys.stderr` might already be closed when :ref:`faulthandler` is tearing down.

7.4.2

=========================

Bug Fixes
---------

- `11237 <https://github.com/pytest-dev/pytest/issues/11237>`_: Fix doctest collection of `functools.cached_property` objects.


- `11306 <https://github.com/pytest-dev/pytest/issues/11306>`_: Fixed bug using ``--importmode=importlib`` which would cause package ``__init__.py`` files to be imported more than once in some cases.


- `11367 <https://github.com/pytest-dev/pytest/issues/11367>`_: Fixed bug where `user_properties` where not being saved in the JUnit XML file if a fixture failed during teardown.


- `11394 <https://github.com/pytest-dev/pytest/issues/11394>`_: Fixed crash when parsing long command line arguments that might be interpreted as files.



Improved Documentation
----------------------

- `11391 <https://github.com/pytest-dev/pytest/issues/11391>`_: Improved disclaimer on pytest plugin reference page to better indicate this is an automated, non-curated listing.

7.4.1

=========================

Bug Fixes
---------

- `10337 <https://github.com/pytest-dev/pytest/issues/10337>`_: Fixed bug where fake intermediate modules generated by ``--import-mode=importlib`` would not include the
child modules as attributes of the parent modules.


- `10702 <https://github.com/pytest-dev/pytest/issues/10702>`_: Fixed error assertion handling in :func:`pytest.approx` when ``None`` is an expected or received value when comparing dictionaries.


- `10811 <https://github.com/pytest-dev/pytest/issues/10811>`_: Fixed issue when using ``--import-mode=importlib`` together with ``--doctest-modules`` that caused modules
to be imported more than once, causing problems with modules that have import side effects.

7.4.0

=========================

Features
--------

- `10901 <https://github.com/pytest-dev/pytest/issues/10901>`_: Added :func:`ExceptionInfo.from_exception() <pytest.ExceptionInfo.from_exception>`, a simpler way to create an :class:`~pytest.ExceptionInfo` from an exception.
This can replace :func:`ExceptionInfo.from_exc_info() <pytest.ExceptionInfo.from_exc_info()>` for most uses.



Improvements
------------

- `10872 <https://github.com/pytest-dev/pytest/issues/10872>`_: Update test log report annotation to named tuple and fixed inconsistency in docs for :hook:`pytest_report_teststatus` hook.


- `10907 <https://github.com/pytest-dev/pytest/issues/10907>`_: When an exception traceback to be displayed is completely filtered out (by mechanisms such as ``__tracebackhide__``, internal frames, and similar), now only the exception string and the following message are shown:

"All traceback entries are hidden. Pass `--full-trace` to see hidden and internal frames.".

Previously, the last frame of the traceback was shown, even though it was hidden.


- `10940 <https://github.com/pytest-dev/pytest/issues/10940>`_: Improved verbose output (``-vv``) of ``skip`` and ``xfail`` reasons by performing text wrapping while leaving a clear margin for progress output.

Added ``TerminalReporter.wrap_write()`` as a helper for that.


- `10991 <https://github.com/pytest-dev/pytest/issues/10991>`_: Added handling of ``%f`` directive to print microseconds in log format options, such as ``log-date-format``.


- `11005 <https://github.com/pytest-dev/pytest/issues/11005>`_: Added the underlying exception to the cache provider's path creation and write warning messages.


- `11013 <https://github.com/pytest-dev/pytest/issues/11013>`_: Added warning when :confval:`testpaths` is set, but paths are not found by glob. In this case, pytest will fall back to searching from the current directory.


- `11043 <https://github.com/pytest-dev/pytest/issues/11043>`_: When `--confcutdir` is not specified, and there is no config file present, the conftest cutoff directory (`--confcutdir`) is now set to the :ref:`rootdir <rootdir>`.
Previously in such cases, `conftest.py` files would be probed all the way to the root directory of the filesystem.
If you are badly affected by this change, consider adding an empty config file to your desired cutoff directory, or explicitly set `--confcutdir`.


- `11081 <https://github.com/pytest-dev/pytest/issues/11081>`_: The :confval:`norecursedirs` check is now performed in a :hook:`pytest_ignore_collect` implementation, so plugins can affect it.

If after updating to this version you see that your `norecursedirs` setting is not being respected,
it means that a conftest or a plugin you use has a bad `pytest_ignore_collect` implementation.
Most likely, your hook returns `False` for paths it does not want to ignore,
which ends the processing and doesn't allow other plugins, including pytest itself, to ignore the path.
The fix is to return `None` instead of `False` for paths your hook doesn't want to ignore.


- `8711 <https://github.com/pytest-dev/pytest/issues/8711>`_: :func:`caplog.set_level() <pytest.LogCaptureFixture.set_level>` and :func:`caplog.at_level() <pytest.LogCaptureFixture.at_level>`
will temporarily enable the requested ``level`` if ``level`` was disabled globally via
``logging.disable(LEVEL)``.



Bug Fixes
---------

- `10831 <https://github.com/pytest-dev/pytest/issues/10831>`_: Terminal Reporting: Fixed bug when running in ``--tb=line`` mode where ``pytest.fail(pytrace=False)`` tests report ``None``.


- `11068 <https://github.com/pytest-dev/pytest/issues/11068>`_: Fixed the ``--last-failed`` whole-file skipping functionality ("skipped N files") for :ref:`non-python test files <non-python tests>`.


- `11104 <https://github.com/pytest-dev/pytest/issues/11104>`_: Fixed a regression in pytest 7.3.2 which caused to :confval:`testpaths` to be considered for loading initial conftests,
even when it was not utilized (e.g. when explicit paths were given on the command line).
Now the ``testpaths`` are only considered when they are in use.


- `1904 <https://github.com/pytest-dev/pytest/issues/1904>`_: Fixed traceback entries hidden with ``__tracebackhide__ = True`` still being shown for chained exceptions (parts after "... the above exception ..." message).


- `7781 <https://github.com/pytest-dev/pytest/issues/7781>`_: Fix writing non-encodable text to log file when using ``--debug``.



Improved Documentation
----------------------

- `9146 <https://github.com/pytest-dev/pytest/issues/9146>`_: Improved documentation for :func:`caplog.set_level() <pytest.LogCaptureFixture.set_level>`.



Trivial/Internal Changes
------------------------

- `11031 <https://github.com/pytest-dev/pytest/issues/11031>`_: Enhanced the CLI flag for ``-c`` to now include ``--config-file`` to make it clear that this flag applies to the usage of a custom config file.

7.3.2

=========================

Bug Fixes
---------

- `10169 <https://github.com/pytest-dev/pytest/issues/10169>`_: Fix bug where very long option names could cause pytest to break with ``OSError: [Errno 36] File name too long`` on some systems.


- `10894 <https://github.com/pytest-dev/pytest/issues/10894>`_: Support for Python 3.12 (beta at the time of writing).


- `10987 <https://github.com/pytest-dev/pytest/issues/10987>`_: :confval:`testpaths` is now honored to load root ``conftests``.


- `10999 <https://github.com/pytest-dev/pytest/issues/10999>`_: The `monkeypatch` `setitem`/`delitem` type annotations now allow `TypedDict` arguments.


- `11028 <https://github.com/pytest-dev/pytest/issues/11028>`_: Fixed bug in assertion rewriting where a variable assigned with the walrus operator could not be used later in a function call.


- `11054 <https://github.com/pytest-dev/pytest/issues/11054>`_: Fixed ``--last-failed``'s "(skipped N files)" functionality for files inside of packages (directories with `__init__.py` files).

7.3.1

=========================

Improvements
------------

- `10875 <https://github.com/pytest-dev/pytest/issues/10875>`_: Python 3.12 support: fixed ``RuntimeError: TestResult has no addDuration method`` when running ``unittest`` tests.


- `10890 <https://github.com/pytest-dev/pytest/issues/10890>`_: Python 3.12 support: fixed ``shutil.rmtree(onerror=...)`` deprecation warning when using :fixture:`tmp_path`.



Bug Fixes
---------

- `10896 <https://github.com/pytest-dev/pytest/issues/10896>`_: Fixed performance regression related to :fixture:`tmp_path` and the new :confval:`tmp_path_retention_policy` option.


- `10903 <https://github.com/pytest-dev/pytest/issues/10903>`_: Fix crash ``INTERNALERROR IndexError: list index out of range`` which happens when displaying an exception where all entries are hidden.
This reverts the change "Correctly handle ``__tracebackhide__`` for chained exceptions." introduced in version 7.3.0.

7.3.0

=========================

Features
--------

- `10525 <https://github.com/pytest-dev/pytest/issues/10525>`_: Test methods decorated with ``classmethod`` can now be discovered as tests, following the same rules as normal methods. This fills the gap that static methods were discoverable as tests but not class methods.


- `10755 <https://github.com/pytest-dev/pytest/issues/10755>`_: :confval:`console_output_style` now supports ``progress-even-when-capture-no`` to force the use of the progress output even when capture is disabled. This is useful in large test suites where capture may have significant performance impact.


- `7431 <https://github.com/pytest-dev/pytest/issues/7431>`_: ``--log-disable`` CLI option added to disable individual loggers.


- `8141 <https://github.com/pytest-dev/pytest/issues/8141>`_: Added :confval:`tmp_path_retention_count` and :confval:`tmp_path_retention_policy` configuration options to control how directories created by the :fixture:`tmp_path` fixture are kept.



Improvements
------------

- `10226 <https://github.com/pytest-dev/pytest/issues/10226>`_: If multiple errors are raised in teardown, we now re-raise an ``ExceptionGroup`` of them instead of discarding all but the last.


- `10658 <https://github.com/pytest-dev/pytest/issues/10658>`_: Allow ``-p`` arguments to include spaces (eg: ``-p no:logging`` instead of
``-pno:logging``). Mostly useful in the ``addopts`` section of the configuration
file.


- `10710 <https://github.com/pytest-dev/pytest/issues/10710>`_: Added ``start`` and ``stop`` timestamps to ``TestReport`` objects.


- `10727 <https://github.com/pytest-dev/pytest/issues/10727>`_: Split the report header for ``rootdir``, ``config file`` and ``testpaths`` so each has its own line.


- `10840 <https://github.com/pytest-dev/pytest/issues/10840>`_: pytest should no longer crash on AST with pathological position attributes, for example testing AST produced by `Hylang <https://github.com/hylang/hy>__`.


- `6267 <https://github.com/pytest-dev/pytest/issues/6267>`_: The full output of a test is no longer truncated if the truncation message would be longer than
the hidden text. The line number shown has also been fixed.



Bug Fixes
---------

- `10743 <https://github.com/pytest-dev/pytest/issues/10743>`_: The assertion rewriting mechanism now works correctly when assertion expressions contain the walrus operator.


- `10765 <https://github.com/pytest-dev/pytest/issues/10765>`_: Fixed :fixture:`tmp_path` fixture always raising :class:`OSError` on ``emscripten`` platform due to missing :func:`os.getuid`.


- `1904 <https://github.com/pytest-dev/pytest/issues/1904>`_: Correctly handle ``__tracebackhide__`` for chained exceptions.
NOTE: This change was reverted in version 7.3.1.



Improved Documentation
----------------------

- `10782 <https://github.com/pytest-dev/pytest/issues/10782>`_: Fixed the minimal example in :ref:`goodpractices`: ``pip install -e .`` requires a ``version`` entry in ``pyproject.toml`` to run successfully.



Trivial/Internal Changes
------------------------

- `10669 <https://github.com/pytest-dev/pytest/issues/10669>`_: pytest no longer directly depends on the `attrs <https://www.attrs.org/en/stable/>`__ package. While
we at pytest all love the package dearly and would like to thank the ``attrs`` team for many years of cooperation and support,
it makes sense for ``pytest`` to have as little external dependencies as possible, as this helps downstream projects.
With that in mind, we have replaced the pytest's limited internal usage to use the standard library's ``dataclasses`` instead.

Nice diffs for ``attrs`` classes are still supported though.
Links

Update pytest-asyncio from 0.20.3 to 0.23.2.

Changelog

0.23.2

- Fixes a bug that caused an internal pytest error when collecting .txt files [703](https://github.com/pytest-dev/pytest-asyncio/issues/703)

0.23.1

- Fixes a bug that caused an internal pytest error when using module-level skips [701](https://github.com/pytest-dev/pytest-asyncio/issues/701)

0.23.0

This release is backwards-compatible with v0.21.
Changes are non-breaking, unless you upgrade from v0.22.

* BREAKING: The _asyncio_event_loop_ mark has been removed. Event loops with class, module, package, and session scopes can be requested via the _scope_ keyword argument to the _asyncio_ mark.
* Introduces the _event_loop_policy_ fixture which allows testing with non-default or multiple event loops  [662](https://github.com/pytest-dev/pytest-asyncio/pull/662)
* Removes pytest-trio from the test dependencies [620](https://github.com/pytest-dev/pytest-asyncio/pull/620)

0.22.0

* Class-scoped and module-scoped event loops can be requested
via the _asyncio_event_loop_ mark. [620](https://github.com/pytest-dev/pytest-asyncio/pull/620)
* Deprecate redefinition of the _event_loop_ fixture. [587](https://github.com/pytest-dev/pytest-asyncio/issues/531)
Users requiring a class-scoped or module-scoped asyncio event loop for their tests
should mark the corresponding class or module with _asyncio_event_loop_.
* Test items based on asynchronous generators always exit with _xfail_ status and emit a warning during the collection phase. This behavior is consistent with synchronous yield tests. [642](https://github.com/pytest-dev/pytest-asyncio/issues/642)
* Remove support for Python 3.7
* Declare support for Python 3.12

0.21.1

* Output a proper error message when an invalid `asyncio_mode` is selected.
* Extend warning message about unclosed event loops with additional possible cause.
531 
* Previously, some tests reported "skipped" or "xfailed" as a result. Now all tests report a "success" result.

0.21.0

* Drop compatibility with pytest 6.1. Pytest-asyncio now depends on pytest 7.0 or newer.
* pytest-asyncio cleans up any stale event loops when setting up and tearing down the
event_loop fixture. This behavior has been deprecated and pytest-asyncio emits a
DeprecationWarning when tearing down the event_loop fixture and current event loop
has not been closed.
Links

Update markdown from 3.4.1 to 3.5.1.

Changelog

3.5.1

Fixed

* Fix a performance problem with HTML extraction where large HTML input could
trigger quadratic line counting behavior (1392).
* Improve and expand type annotations in the code base (1394).
Links

Update pillow from 9.4.0 to 10.1.0.

Changelog

10.1.0

-------------------

- Added TrueType default font to allow for different sizes 7354
[radarhere]

- Fixed invalid argument warning 7442
[radarhere]

- Added ImageOps cover method 7412
[radarhere, hugovk]

- Catch struct.error from truncated EXIF when reading JPEG DPI 7458
[radarhere]

- Consider default image when selecting mode for PNG save_all 7437
[radarhere]

- Support BGR;15, BGR;16 and BGR;24 access, unpacking and putdata 7303
[radarhere]

- Added CMYK to RGB unpacker 7310
[radarhere]

- Improved flexibility of XMP parsing 7274
[radarhere]

- Support reading 8-bit YCbCr TIFF images 7415
[radarhere]

- Allow saving I;16B images as PNG 7302
[radarhere]

- Corrected drawing I;16 points and writing I;16 text 7257
[radarhere]

- Set blue channel to 128 for BC5S 7413
[radarhere]

- Increase flexibility when reading IPTC fields 7319
[radarhere]

- Set C palette to be empty by default 7289
[radarhere]

- Added gs_binary to control Ghostscript use on all platforms 7392
[radarhere]

- Read bounding box information from the trailer of EPS files if specified 7382
[nopperl, radarhere]

- Added reading 8-bit color DDS images 7426
[radarhere]

- Added has_transparency_data 7420
[radarhere, hugovk]

- Fixed bug when reading BC5S DDS images 7401
[radarhere]

- Prevent TIFF orientation from being applied more than once 7383
[radarhere]

- Use previous pixel alpha for QOI_OP_RGB 7357
[radarhere]

- Added BC5U reading 7358
[radarhere]

- Allow getpixel() to accept a list 7355
[radarhere, homm]

- Allow GaussianBlur and BoxBlur to accept a sequence of x and y radii 7336
[radarhere]

- Expand JPEG buffer size when saving optimized or progressive 7345
[radarhere]

- Added session type check for Linux in ImageGrab.grabclipboard() 7332
[TheNooB2706, radarhere, hugovk]

- Allow "loop=None" when saving GIF images 7329
[radarhere]

- Fixed transparency when saving P mode images to PDF 7323
[radarhere]

- Added saving LA images as PDFs 7299
[radarhere]

- Set SMaskInData to 1 for PDFs with alpha 7316, 7317
[radarhere]

- Changed Image mode property to be read-only by default 7307
[radarhere]

- Silence exceptions in _repr_jpeg_ and _repr_png_ 7266
[mtreinish, radarhere]

- Do not use transparency when saving GIF if it has been removed when normalizing mode 7284
[radarhere]

- Fix missing symbols when libtiff depends on libjpeg 7270
[heitbaum]

10.0.1

-------------------

- Updated libwebp to 1.3.2 7395
[radarhere]

- Updated zlib to 1.3 7344
[radarhere]

10.0.0

-------------------

- Fixed deallocating mask images 7246
[radarhere]

- Added ImageFont.MAX_STRING_LENGTH 7244
[radarhere, hugovk]

- Fix Windows build with pyproject.toml 7230
[hugovk, nulano, radarhere]

- Do not close provided file handles with libtiff 7199
[radarhere]

- Convert to HSV if mode is HSV in getcolor() 7226
[radarhere]

- Added alpha_only argument to getbbox() 7123
[radarhere. hugovk]

- Prioritise speed in _repr_png_ 7242
[radarhere]

- Do not use CFFI access by default on PyPy 7236
[radarhere]

- Limit size even if one dimension is zero in decompression bomb check 7235
[radarhere]

- Use --config-settings instead of deprecated --global-option 7171
[radarhere]

- Better C integer definitions 6645
[Yay295, hugovk]

- Fixed finding dependencies on Cygwin 7175
[radarhere]

- Changed grabclipboard() to use PNG instead of JPG compression on macOS 7219
[abey79, radarhere]

- Added in_place argument to ImageOps.exif_transpose() 7092
[radarhere]

- Fixed calling putpalette() on L and LA images before load() 7187
[radarhere]

- Fixed saving TIFF multiframe images with LONG8 tag types 7078
[radarhere]

- Fixed combining single duration across duplicate APNG frames 7146
[radarhere]

- Remove temporary file when error is raised 7148
[radarhere]

- Do not use temporary file when grabbing clipboard on Linux 7200
[radarhere]

- If the clipboard fails to open on Windows, wait and try again 7141
[radarhere]

- Fixed saving multiple 1 mode frames to GIF 7181
[radarhere]

- Replaced absolute PIL import with relative import 7173
[radarhere]

- Replaced deprecated Py_FileSystemDefaultEncoding for Python >= 3.12 7192
[radarhere]

- Improved wl-paste mimetype handling in ImageGrab 7094
[rrcgat, radarhere]

- Added _repr_jpeg_() for IPython display_jpeg 7135
[n3011, radarhere, nulano]

- Use "/sbin/ldconfig" if ldconfig is not found 7068
[radarhere]

- Prefer screenshots using XCB over gnome-screenshot 7143
[nulano, radarhere]

- Fixed joined corners for ImageDraw rounded_rectangle() odd dimensions 7151
[radarhere]

- Support reading signed 8-bit TIFF images 7111
[radarhere]

- Added width argument to ImageDraw regular_polygon 7132
[radarhere]

- Support I mode for ImageFilter.BuiltinFilter 7108
[radarhere]

- Raise error from stderr of Linux ImageGrab.grabclipboard() command 7112
[radarhere]

- Added unpacker from I;16B to I;16 7125
[radarhere]

- Support float font sizes 7107
[radarhere]

- Use later value for duplicate xref entries in PdfParser 7102
[radarhere]

- Load before getting size in __getstate__ 7105
[bigcat88, radarhere]

- Fixed type handling for include and lib directories 7069
[adisbladis, radarhere]

- Remove deprecations for Pillow 10.0.0 7059, 7080
[hugovk, radarhere]

- Drop support for soon-EOL Python 3.7 7058
[hugovk, radarhere]

9.5.0

------------------

- Added ImageSourceData to TAGS_V2 7053
[radarhere]

- Clear PPM half token after use 7052
[radarhere]

- Removed absolute path to ldconfig 7044
[radarhere]

- Support custom comments and PLT markers when saving JPEG2000 images 6903
[joshware, radarhere, hugovk]

- Load before getting size in __array_interface__ 7034
[radarhere]

- Support creating BGR;15, BGR;16 and BGR;24 images, but drop support for BGR;32 7010
[radarhere]

- Consider transparency when applying APNG blend mask 7018
[radarhere]

- Round duration when saving animated WebP images 6996
[radarhere]

- Added reading of JPEG2000 comments 6909
[radarhere]

- Decrement reference count 7003
[radarhere, nulano]

- Allow libtiff_support_custom_tags to be missing 7020
[radarhere]

- Improved I;16N support 6834
[radarhere]

- Added QOI reading 6852
[radarhere, hugovk]

- Added saving RGBA images as PDFs 6925
[radarhere]

- Do not raise an error if os.environ does not contain PATH 6935
[radarhere, hugovk]

- Close OleFileIO instance when closing or exiting FPX or MIC 7005
[radarhere]

- Added __int__ to IFDRational for Python >= 3.11 6998
[radarhere]

- Added memoryview support to Dib.frombytes() 6988
[radarhere, nulano]

- Close file pointer copy in the libtiff encoder if still open 6986
[fcarron, radarhere]

- Raise an error if ImageDraw co-ordinates are incorrectly ordered 6978
[radarhere]

- Added "corners" argument to ImageDraw rounded_rectangle() 6954
[radarhere]

- Added memoryview support to frombytes() 6974
[radarhere]

- Allow comments in FITS images 6973
[radarhere]

- Support saving PDF with different X and Y resolutions 6961
[jvanderneutstulen, radarhere, hugovk]

- Fixed writing int as UNDEFINED tag 6950
[radarhere]

- Raise an error if EXIF data is too long when saving JPEG 6939
[radarhere]

- Handle more than one directory returned by pkg-config 6896
[sebastic, radarhere]

- Do not retry past formats when loading all formats for the first time 6902
[radarhere]

- Do not retry specified formats if they failed when opening 6893
[radarhere]

- Do not unintentionally load TIFF format at first 6892
[radarhere]

- Stop reading when EPS line becomes too long 6897
[radarhere]

- Allow writing IFDRational to BYTE tag 6890
[radarhere]

- Raise ValueError for BoxBlur filter with negative radius 6874
[hugovk, radarhere]

- Support arbitrary number of loaded modules on Windows 6761
[javidcf, radarhere, nulano]
Links

Update fontTools from 4.39.4 to 4.46.0.

Changelog

4.46.0

----------------------------

- [featureVars] Allow to register the same set of substitution rules to multiple features.
The ``addFeatureVariations`` function can now take a list of featureTags; similarly, the
lib key 'com.github.fonttools.varLib.featureVarsFeatureTag' can now take a
comma-separateed string of feature tags (e.g. "salt,ss01") instead of a single tag (3360).
- [featureVars] Don't overwrite GSUB FeatureVariations, but append new records to it
for features which are not already there. But raise ``VarLibError`` if the feature tag
already has feature variations associated with it (3363).
- [varLib] Added ``addGSUBFeatureVariations`` function to add GSUB Feature Variations
to an existing variable font from rules defined in a DesignSpace document (3362).
- [varLib.interpolatable] Various bugfixes and rendering improvements. In particular,
a new test for "underweight" glyphs. The new test reports quite a few false-positives
though. Please send feedback.

4.45.1

----------------------------

- [varLib.interpolatable] Various bugfixes and improvements, better reporting, reduced
false positives.
- [ttGlyphSet] Added option to not recalculate glyf bounds (3348).

4.45.0

----------------------------

- [varLib.interpolatable] Vastly improved algorithms. Also available now is ``--pdf``
and ``--html`` options to generate a PDF or HTML report of the interpolation issues.
The PDF/HTML report showcases the problematic masters, the interpolated broken
glyph, as well as the proposed fixed version.

4.44.3

----------------------------

- [subset] Only prune codepage ranges for OS/2.version >= 1, ignore otherwise (3334).
- [instancer] Ensure hhea vertical metrics stay in sync with OS/2 ones after instancing
MVAR table containing 'hasc', 'hdsc' or 'hlgp' tags (3297).

4.44.2

----------------------------

- [glyf] Have ``Glyph.recalcBounds`` skip empty components (base glyph with no contours)
when computing the bounding box of composite glyphs. This simply restores the existing
behavior before some changes were introduced in fonttools 4.44.0 (3333).

4.44.1

----------------------------

- [feaLib] Ensure variable mark anchors are deep-copied while building since they
get modified in-place and later reused (3330).
- [OS/2|subset] Added method to ``recalcCodePageRanges`` to OS/2 table class; added
``--prune-codepage-ranges`` to `fonttools subset` command (3328, 2607).

4.44.0

----------------------------

- [instancer] Recalc OS/2 AvgCharWidth after instancing if default changes (3317).
- [otlLib] Make ClassDefBuilder class order match varLib.merger's, i.e. large
classes first, then glyph lexicographic order (3321, 3324).
- [instancer] Allow not specifying any of min:default:max values and let be filled
up with fvar's values (3322, 3323).
- [instancer] When running --update-name-table ignore axes that have no STAT axis
values (3318, 3319).
- [Debg] When dumping to ttx, write the embedded JSON as multi-line string with
indentation (92cbfee0d).
- [varStore] Handle > 65535 items per encoding by splitting VarData subtable (3310).
- [subset] Handle null-offsets in MarkLigPos subtables.
- [subset] Keep East Asian spacing fatures vhal, halt, chws, vchw by default (3305).
- [instancer.solver] Fixed case where axisDef < lower and upper < axisMax (3304).
- [glyf] Speed up compilation, mostly around ``recalcBounds`` (3301).
- [varLib.interpolatable] Speed it up when working on variable fonts, plus various
micro-optimizations (3300).
- Require unicodedata2 >= 15.1.0 when installed with 'unicode' extra, contains UCD 15.1.

4.43.1

----------------------------

- [EBDT] Fixed TypeError exception in `_reverseBytes` method triggered when dumping
some bitmap fonts with `ttx -z bitwise` option (3162).
- [v/hhea] Fixed UnboundLocalError exception in ``recalc`` method when no vmtx or hmtx
tables are present (3290).
- [bezierTools] Fixed incorrectly typed cython local variable leading to TypeError when
calling ``calcQuadraticArcLength`` (3288).
- [feaLib/otlLib] Better error message when building Coverage table with missing glyph (3286).

4.43.0

----------------------------

- [subset] Set up lxml ``XMLParser(resolve_entities=False)`` when parsing OT-SVG documents
to prevent XML External Entity (XXE) attacks (9f61271dc):
https://codeql.github.com/codeql-query-help/python/py-xxe/
- [varLib.iup] Added workaround for a Cython bug in ``iup_delta_optimize`` that was
leading to IUP tolerance being incorrectly initialised, resulting in sub-optimal deltas
(60126435d, cython/cython5732).
- [varLib] Added new command-line entry point ``fonttools varLib.avar`` to add an
``avar`` table to an existing VF from axes mappings in a .designspace file (0a3360e52).
- [instancer] Fixed bug whereby no longer used variation regions were not correctly pruned
after VarData optimization (3268).
- Added support for Python 3.12 (3283).

4.42.1

----------------------------

- [t1Lib] Fixed several Type 1 issues (3238, 3240).
- [otBase/packer] Allow sharing tables reached by different offset sizes (3241, 3236).
- [varLib/merger] Fix Cursive attachment merging error when all anchors are NULL (3248, 3247).
- [ttLib] Fixed warning when calling ``addMultilingualName`` and ``ttFont`` parameter was not
passed on to ``findMultilingualName`` (3253).

4.42.0

----------------------------

- [varLib] Use sentinel value 0xFFFF to mark a glyph advance in hmtx/vmtx as non
participating, allowing sparse masters to contain glyphs for variation purposes other
than {H,V}VAR (3235).
- [varLib/cff] Treat empty glyphs in non-default masters as missing, thus not participating
in CFF2 delta computation, similarly to how varLib already treats them for gvar (3234).
- Added varLib.avarPlanner script to deduce 'correct' avar v1 axis mappings based on
glyph average weights (3223).

4.41.1

----------------------------

- [subset] Fixed perf regression in v4.41.0 by making ``NameRecordVisitor`` only visit
tables that do contain nameID references (3213, 3214).
- [varLib.instancer] Support instancing fonts containing null ConditionSet offsets in
FeatureVariationRecords (3211, 3212).
- [statisticsPen] Report font glyph-average weight/width and font-wide slant.
- [fontBuilder] Fixed head.created date incorrectly set to 0 instead of the current
timestamp, regression introduced in v4.40.0 (3210).
- [varLib.merger] Support sparse ``CursivePos`` masters (3209).

4.41.0

----------------------------

- [fontBuilder] Fixed bug in setupOS2 with default panose attribute incorrectly being
set to a dict instead of a Panose object (3201).
- [name] Added method to ``removeUnusedNameRecords`` in the user range (3185).
- [varLib.instancer] Fixed issue with L4 instancing (moving default) (3179).
- [cffLib] Use latin1 so we can roundtrip non-ASCII in {Full,Font,Family}Name (3202).
- [designspaceLib] Mark <source name="..."> as optional in docs (as it is in the code).
- [glyf-1] Fixed drawPoints() bug whereby last cubic segment becomes quadratic (3189, 3190).
- [fontBuilder] Propagate the 'hidden' flag to the fvar Axis instance (3184).
- [fontBuilder] Update setupAvar() to also support avar 2, fixing ``_add_avar()`` call
site (3183).
- Added new ``voltLib.voltToFea`` submodule (originally Tiro Typeworks' "Volto") for
converting VOLT OpenType Layout sources to FEA format (3164).

4.40.0

----------------------------

- Published native binary wheels to PyPI for all the python minor versions and platform
and architectures currently supported that would benefit from this. They will include
precompiled Cython-accelerated modules (e.g. cu2qu) without requiring to compile them
from source. The pure-python wheel and source distribution will continue to be
published as always (pip will automatically chose them when no binary wheel is
available for the given platform, e.g. pypy). Use ``pip install --no-binary=fonttools fonttools``
to expliclity request pip to install from the pure-python source.
- [designspaceLib|varLib] Add initial support for specifying axis mappings and build
``avar2`` table from those (3123).
- [feaLib] Support variable ligature caret position (3130).
- [varLib|glyf] Added option to --drop-implied-oncurves; test for impliable oncurve
points either before or after rounding (3146, 3147, 3155, 3156).
- [TTGlyphPointPen] Don't error with empty contours, simply ignore them (3145).
- [sfnt] Fixed str vs bytes remnant of py3 transition in code dealing with de/compiling
WOFF metadata (3129).
- [instancer-solver] Fixed bug when moving default instance with sparse masters (3139, 3140).
- [feaLib] Simplify variable scalars that don’t vary (3132).
- [pens] Added filter pen that explicitly emits closing line when lastPt != movePt (3100).
- [varStore] Improve optimize algorithm and better document the algorithm (3124, 3127).
Added ``quantization`` option (3126).
- Added CI workflow config file for building native binary wheels (3121).
- [fontBuilder] Added glyphDataFormat=0 option; raise error when glyphs contain cubic
outlines but glyphDataFormat was not explicitly set to 1 (3113, 3119).
- [subset] Prune emptied GDEF.MarkGlyphSetsDef and remap indices; ensure GDEF is
subsetted before GSUB and GPOS (3114, 3118).
- [xmlReader] Fixed issue whereby DSIG table data was incorrectly parsed (3115, 2614).
- [varLib/merger] Fixed merging of SinglePos with pos=0 (3111, 3112).
- [feaLib] Demote "Feature has not been defined" error to a warning when building aalt
and referenced feature is empty (3110).
- [feaLib] Dedupe multiple substitutions with classes (3105).
Links

Update brotli from 1.0.9 to 1.1.0.

Changelog

1.1.0

Added
- decoder: `BrotliDecoderAttachDictionary`
- decoder: `BrotliDecoderOnFinish` callback behind `BROTLI_REPORTING`
- decoder: `BrotliDecoderSetMetadataCallbacks`
- encoder: `BrotliEncoderPrepareDictionary`,
         `BrotliEncoderDestroyPreparedDictionary`,
         `BrotliEncoderAttachPreparedDictionary`
- decoder: `BrotliEncoderOnFinish` callback behind `BROTLI_REPORTING`
- common: `BrotliSharedDictionaryCreateInstance`,
        `BrotliSharedDictionaryDestroyInstance`,
        `BrotliSharedDictionaryAttach`
- CLI: `--dictionary` option
- java: encoder wrapper: `Parameters.mode`
- java: `Brotli{Input|Output}Stream.attachDictionary`
- java: wrapper: partial byte array input
- typescript: decoder (transpiled from Java)

Removed
- build: `BROTLI_BUILD_PORTABLE` option

Fixed
- java: JNI decoder failed sometimes on power of 2 payloads

Improved
- java / js: smaller decoder footprint
- decoder: faster decoding
- encoder: faster encoding
- encoder: smaller stack frames
Links

Update py2app from 0.28.5 to 0.28.6.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update pyobjc from 9.0.1 to 10.1.

Changelog

10.1

* Upgrade framework bindings for the macOS 14.2 SDK

* 579: Make sure the ``install.py`` and ``develop.py`` scripts in the
repository work when run out of tree.

* 577: ``os.fspath(someURL)`` will not work with Cocoa URLs (NSURL, CFURLRef) that
refer to local filesystem paths. ``TypeError`` will be raised for other URLs.

This enables using regular Python filesystem APIs with URLs that refer to
local filesystem paths.

* 572: Fix compilation issue when building on macOS 13 or earlier

* Fix build error on ancient macOS versions where clang doesn't support
``-flto=thin``.

* Add a workaround for a crash in pyobjc-core when running the testsuite
on macOS 10.14.

* Fix some issues found while running the testsuite on macOS 10.9 to
macOS 13, instead of only testing on the latest macOS version. Most
issues found where problems in the testsuite itself, but not all.

Some of the changes skip tests on older macOS versions (10.12, 10.13
and 10.14) due to running into what appears to be crashing
platform bugs.

* 581: Fix dependencies between framework binding packages

* Fix build error with the current Python 3.13 alpha release (3.13a2).

10.0

* Update bindings for macOS 14

Symbols newly introduced in macOS 14 were added to the existing bindings,
and the following new bindings were introduced:

* Cinematic

* MediaExtension

* SensitiveContentAnalysis

* Symbols

* The "IMServicePlugIn" bindings are no longer available

The entire framework was deprecated in macOS 10.13 and removed in macOS 14.
The bindings can not be build using the latest SDK, and had (at best) limited
use.

* 542: PyObjC 10 requires Python 3.8 and no longer supports Python 3.7

* 547: Removed all ``MAC_OS_X_VERSION*`` constants from ``objc``.

These constants are needed in practice (switch to :func:`objc.available` to
check for platform availability), and caused unnecessary code churn.

* The value for ``objc.options.deprecation_warnings`` is now a string
instead of an integer.

* 555: Fix unintended incompatibility with pytest in PyObjCTools.TestSupport

* 295: The lazy loading machinery by default no longer uses
``objc.ObjCLazyModule``, but uses module level ``__dir__`` and
``__getattr__`` instead. The class :class:`objc.ObjCLazyModule` is still
available, but is deprecated

As a side effect of this ``objc`` is no longer an attribute of framework
binding packages (e.g ``Foundation.objc`` is no longer a valid attribute).

Another side effect of this is that all attributes added by the import system
are now correctly present in the packages for framework bindings.

And a final side effect is that private symbols (prefixed with underscore) are
no longer imported from dependencies of framework bindings (more closely matching
the ``from dependency import *`` behaviour that the lazy importer emulates.

* Add attribute ``__framework_identifier__`` to all framework bindings with the
identifier of the corresponding system framework.

* 295: Introduce :func:`objc.createFrameworkDirAndGetattr` to
create module level ``__dir__`` and ``__getattr__`` for use by
framework bindings.

* 561: Tests now validate the bundle identifier value used in framework bindings.

This resulted in a number of changes to framework bindings with incorrect
bundle identifier values. This shouldn't affect user code because the
bundle loader falls back on the framework path when the identifier cannot be found.

* 559: Avoid test failures in pyobjc-core when pyobjc-framework-Quartz is
not installed.

* A number of classes can no longer be subclasses in Python because they are marked as non-subclassable
in the macOS 14 SDK (either directly or as "subclassing is deprecated":
``CKAllowedSharingOptions``,
``CKAsset``,
``CKContainer``,
``CKDatabase``,
``CKDatabaseNotification``,
``CKDatabaseSubscription``,
``CKFetchRecordZoneChangesConfiguration``,
``CKNotification``,
``CKNotificationID``,
``CKNotificationInfo``,
``CKOperationConfiguration``,
``CKOperationGroup``,
``CKQuery``,
``CKQueryCursor``,
``CKQueryNotification``,
``CKQuerySubscription``,
``CKRecord``,
``CKRecordID``,
``CKRecordZone``,
``CKRecordZoneID``,
``CKRecordZoneNotification``,
``CKRecordZoneSubscription``,
``CKReference``,
``CKServerChangeToken``,
``CKShare``,
``CKShareMetadata``,
``CKShareParticipant``,
``CKSubscription``,
``CKSyncEngine``,
``CKSyncEngineAccountChangeEvent``,
``CKSyncEngineConfiguration``,
``CKSyncEngineDidFetchChangesEvent``,
``CKSyncEngineDidFetchRecordZoneChangesEvent``,
``CKSyncEngineDidSendChangesEvent``,
``CKSyncEngineEvent``,
``CKSyncEngineFailedRecordSave``,
``CKSyncEngineFailedZoneSave``,
``CKSyncEngineFetchChangesOptions``,
``CKSyncEngineFetchedDatabaseChangesEvent``,
``CKSyncEngineFetchedRecordDeletion``,
``CKSyncEngineFetchedRecordZoneChangesEvent``,
``CKSyncEngineFetchedZoneDeletion``,
``CKSyncEnginePendingDatabaseChange``,
``CKSyncEnginePendingRecordZoneChange``,
``CKSyncEnginePendingZoneDelete``,
``CKSyncEnginePendingZoneSave``,
``CKSyncEngineRecordZoneChangeBatch``,
``CKSyncEngineSendChangesContext``,
``CKSyncEngineSendChangesOptions``,
``CKSyncEngineSentDatabaseChangesEvent``,
``CKSyncEngineSentRecordZoneChangesEvent``,
``CKSyncEngineState``,
``CKSyncEngineStateSerialization``,
``CKSyncEngineStateUpdateEvent``,
``CKSyncEngineWillFetchChangesEvent``,
``CKSyncEngineWillFetchRecordZoneChangesEvent``,
``CKSyncEngineWillSendChangesEvent``,
``CKSystemSharingUIObserver``,
``CKUserIdentity``,
``CKUserIdentityLookupInfo``.

* The encoding of a number of basic types changes, in particular those
of CoreFoundation struct types and SIMD struct types. None of this
should affect user code.

* ``objc.getClassList`` now has an optional positional argument to
ignore classes with a name that aren't identifiers.

* Some of the functionality in CoreFoundation was rewritten in Swift
in macOS 14, with Swift subclasses of ``NSArray`` and ``NSDictionary``.
Those classes break an invariant of PyObjC: the superclass of the root
of the Swift class hierarchy changes when the class is instantiated
for the first time (from ``NSObject`` to the correct superclass).

PyObjC 10 contains a workaround for this by ignoring these classes
unless they are needed to create a proxy for an instance (FB12286520).

* Fix crash when the method signature retrieved from the Objective-C runtime
contains the class name for a method returning ``id``.

* Remove old 32-bit support in metadata override files.

* Restructure ``objc.simd``: The matrix types are now named ``simd_float3x3``
instead of ``matrix_float3x3``, with the older name as an alias (to match
older system headers).

* Fix crash when loading the libdispatch bindings on recent macOS versions
(at least macOS 13, possibly earlier)

* ``dispatch.dispatch_source_t`` is renamed to ``dispatch.dispatch_source_type_t``
to match the type name in C code.

* 569: Xcode 15 has a bug when using weak symbols and targeting older macOS
versions. Switch to the old linker when detecting Xcode 15.

9.2

* 549: Added warning ``objc.ObjCSuperWarning`` that is used
to warn about classes that use argument-less super without binding that
name to ``objc.super``.

The correct code pattern is:


  python3
  from Foundation import NSObject
  from objc import super


  class MyObject(NSObject):
      def init(self):
          self = super().init()
          if self is None:
              return None

          ...
          return self


* 549: Document that ``objc.super`` must be used instead of
``builtin.super`` when calling superclass methods in a Cocoa subclass.

See `the documentation <(https://pyobjc.readthedocs.io/core/super.html>`_
for more details.

* 550: Add minimal ``pyproject.toml`` to all subprojects

Recent versions of pip give a deprecation warning for projects without
a ``pyproject.toml``, and version 23.1 enabled the ``pyproject.toml``
backend by default. Add a minimal ``pyproject.toml`` to get a consistent
build regardless of the version of pip

* 551: Fix crash in pyobjc-core when using Python 3.12a7.

* 449: Added explicit tests for dealing with Objective-C categories
that are loaded while using classes from Python.

* 552: Fix the version of macOS where the SafariServices framework is
present.

* 552: Fixed some issues found by testing on a macOS 10.11 system

* Trying to implement a method with SIMD types as arguments or return value
will now give a more useful error when the bridge does not support the
signature.

* 554: Fix incomplete metadata for ``CoreMediaIO.CMIOObjectSetPropertyData``

* Fix incorrect metadata for
``xpc.xpc_uuid_create``,
``xpc.xpc_dictionary_set_uuid`` ,
``xpc.xpc_array_set_uuid``,
``JavaScriptCore.JSObjectMakeDeferredPromise``,
``JavaScriptCore.JSValueIsEqual``,
``JavaScriptCore.JSValueIsInstanceOfConstructor``,
``JavaScriptCore.JSValueCreateJSONString``,
``JavaScriptCore.JSValueToNumber``,
``JavaScriptCore.JSValueToStringCopy``,
``JavaScriptCore.JSValueToObject``,
``Quartz.CGImageCreateWithJPEGDataProvider``,
``Quartz.CGImageCreateWithPNGDataProvider``,
``Quartz.CGImageMaskCreate``,
``Quartz.CVBufferCopyAttachment``,
``Quartz.CVMetalTextureCacheCreate``,
``Quartz.CVMetalTextureCacheCreateFromImage``,
``Quartz.CVOpenGLTextureCacheCreate``,
``CoreMedia.CMAudioClockCreate``,
``CoreMedia.CMAudioFormatDescriptionCreate``,
``CoreMedia.CMBlockBufferGetDataPointer``,
``CoreMedia.CMBlockBufferAccessDataBytes``,
``CoreMedia.CMBlockBufferGetDataPointer``,
``CoreMedia.CMAudioFormatDescriptionGetMostCompatibleFormat``,
``CoreMedia.CMAudioFormatDescriptionGetRichestDecodableFormat``,
``CoreMedia.CMSampleBufferCreateWithMakeDataReadyHandler``,
``CoreMedia.CMSampleBufferCreateForImageBufferWithMakeDataReadyHandler``,
``CFNetwork.CFNetServiceBrowserSearchForDomains``,
``CFNetwork.CFNetServiceBrowserStopSearch``,
``CFNetwork.CFNetServiceMonitorStop``,
``CFNetwork.CFNetServiceRegister``,
``CFNetwork.CFNetServiceResolve``,
``CoreText.CTFontCreateCopyWithSymbolicTraits``,
``CoreText.CTFontCreateCopyWithFamily``,
``CoreText.CTFontCreateCopyWithAttributes``,
``CoreMIDI.MIDISourceCreateWithProtocol``,
``CoreMIDI.MIDISourceCreate``,
``CoreMIDI.MIDISetupCreate``,
``CoreMIDI.MIDIDestinationCreate``,
``CoreMIDI.MIDIClientCreate``,
``CoreMIDI.MIDIClientCreateWithBlock``,
``CoreMIDI.MIDIOutputPortCreate``,
``CoreMIDI.MIDIObjectGetStringProperty``,
``CoreMIDI.MIDIObjectGetProperties``,
``CoreMIDI.MIDIObjectGetIntegerProperty``,
``CoreMIDI.MIDIObjectGetDictionaryProperty``,
``CoreMIDI.MIDIObjectGetDataProperty``,
``CoreMIDI.MIDIObjectFindByUniqueID``,
``CoreMIDI.MIDIDestinationCreateWithProtocol``,
``CoreMIDI.MIDIEndpointGetEntity``,
``CoreMIDI.MIDIEntityGetDevice``,
``CoreMIDI.MIDIEntityGetRefCons``,
``CoreMIDI.MIDIEntitySetRefCons``,
``DVDPlayback.DVDRegisterEventCallBack``,
``DiskArbitration.DADiskMountWithArguments``,
``GameController.NSDataFromGCExtendedGamepadSnapShotDataV100``,
``HealthKit.HKAppleWalkingSteadinessClassificationForQuantity``,
``IOSurface.IOSurfaceSetPurgeable``,
``Network.nw_ethernet_channel_send``,

* Removed ``Quartz.CGColorConversionInfoCreateFromListWithArguments``. This function
was already documented as unsupported, but was still present in the framework
wrapper.

* Removed ``Quartz.CVPixelBufferCreateWithPlanarBytes``. This function requires a
manual binding, but was still present with a generic (and non-working) binding.

* Removed ``CoreMedia.CMBufferQueueCreate``, ``CoreMedia.CMBufferQueueGetCallbacksForSampleBuffersSortedByOutputPTS``,
``CoreMedia.CMBufferQueueGetCallbacksForUnsortedSampleBuffers``, ``CoreMedia.CMVideoFormatDescriptionGetH264ParameterSetAtIndex``,
``CoreMedia.CMVideoFormatDescriptionGetHVECParameterSetAtIndex``,
These functions require a manual binding, but were still present with a generic (and non-working) binding.

* Explicitly exclude definitions from ``CMIOHardwarePlugIn.h`` from the CoreMediaIO
bindings.

* Added ``deref_result_pointer`` key to the metadata for a return value. Use this
when a callable returns a pointer to a single value (for example ``CMAudioFormatDescriptionGetMostCompatibleFormat``)

* Removed unsupported functions from the ApplicationServices bindings (not named individually
due to the size of the list). Also fixed annotations for other ApplicationServices bindings.

* Add manual binding for ``CFNetwork.CFNetServiceBrowserCreate``, ``CFNetwork.CFNetServiceSetClient``,
and ``CFNetwork.CFNetServiceMonitorCreate``.

* Fix incompatibility with Python 3.12 beta 1.

**warning:**

  Due to changes to the bytecode compiler the bridge will (incorrectly)
  deduce that a method does not return a value (``void`` return in Objective-C)
  when a method only contains ``return None`` statements and no return
  statements that return some other value (expressions or constants).

  That is the following method is implied to return ``id`` for Python 3.11 or
  earlier, but is implied to return ``void`` in Python 3.12.

  python3

      def mymethod(self):
          return None
Links

Update cocoa-vanilla from 0.2.4 to 0.5.0.

The bot wasn't able to find a changelog for this release. Got an idea?

Links

Update uharfbuzz from 0.37.0 to 0.37.3.

Changelog

0.37.3

- Update HarfBuzz library to 8.2.0. Among other things, fixes a failure in the repacker with huge number of subtables (https://github.com/harfbuzz/uharfbuzz/issues/176, harfbuzz/harfbuzz#4385, fonttools/fonttools3260).

0.37.2

- Updated HarfBuzz library to 8.0.1 (172)
- Rebuilt windows wheels using MSVC 2019 to workaround miscompilation issue when using latest MSVC 2022 (168).

0.37.1.post1

- Build wheels for musl-based linux (167).

0.37.1

- Fixed build error when compiling sources with Cython 3.0 (165).
- Update to Harfbuzz 8.0.0
Links

Update ufo2ft from 2.30.0 to 2.33.4.

Changelog

2.33.4

- Fix remaining issues with missing .notdef glyph in sparse layer masters (c0e8aa13, 773)
- When building name table, keep or drop both nameID=16 and 17 in pair, never leave either one
without the other (774).

2.33.3

- Set OVERLAP_SIMPLE glyf flag when "public.truetype.overlap" lib key set to true for a simple contour glyph; previously we were only taking it into account for composite glyphs (OVERLAP_COMPOUND flag) (772)
- Fixed error when compiling variable TTF containing sparse masters and the default master's .notdef glyph contains cubic curves (772).

2.33.2

- Allow to reverseDirection=True even when convertCubics=False (770).

2.33.1

- Added ``convertCubics=True`` to compileInterpolatableTTFs/compileVariableTTF methods, to allow disabling cu2qu altogether (similar to the existing option that was already there for compileTTF for statics).
- OutlineTTFCompiler: ensure that only quadratic curves are present in TrueType glyphs if glyphDataFormat=0 was not explicitly set to 1 (769).

2.33.0

- Support ``public.openTypePostUnderlinePosition`` lib key meant to clarify ambiguous meaning of underline position in post vs CFF table (unified-font-object/ufo-spec217, 760).
- [instructionCompiler] Make logging less noisy (767).
- Added ``allQuadratic=True`` compile option; when False, tells cu2qu to keep mix of cubic and quadratic curves (whichever has fewer points) as per glyf v1 draft spec proposal (768, https://github.com/harfbuzz/boring-expansion-spec/blob/main/glyf1.md).

2.32.0

- Raise error when multiple glyphs claim the same Unicode codepoint. When expanding color layers to glyphs, ensure any codepoint is stripped to prevent unintentional clashes (739).
- Use ``fontTools.cu2qu`` instead of standalone ``cu2qu`` module, no changes, just one less dependency (756).
- Added compile option for static/variable TTF outputs to ``dropImpliedOnCurves`` to omit on-curve points that are halfway between two consecutive off-curve points, slightly reducing glyf table size with no visible differences (753).
- [constants] Updated Indic / USE script lists (755).
- Require fonttools >= 4.40.0

2.31.1

- [featureWriter.ast] Have iterClassDefinitions search not just top-level but inside feature and lookup blocks as well (732).
- Added ``autoUseMyMetrics=True`` compile option (for TrueType output only) to allow disabling the automatic setting of ``USE_MY_METRICS`` glyf component flags, which is not needed for fonts without hinted metrics (741).
- [kernFeatureWriter] Only use exported glyphs when generating mark filtering sets (740).

2.31.0

- Dropped support for Python 3.7 which reached EOL. We now require Python >= 3.8.
- Take into account extra substitutions found in DesignSpace rules when classifying glyphs by various unicode properties in feature writers (731).
- Added support for compiling TrueType instructions and flags stored in the UFO's ``public.truetype.*`` lib keys (654).
- Automatically compute COLRv1 ClipBoxes if none are explicitly provided. This is enabled by default for static builds only. You can set colrAutoClipBoxes=True for interpolatable/variable builds if safe to do so (728).
- Improved "no default source" error (677).
- Warn about mis-cased `` Automatic Code`` insertion marker comments; also warn if there are no insertion markers but kerning.plist is non empty and there are manual kern/dist features in the FEA code (719).
- Respect openTypeNameRecords overrides for the predefined name IDs (727).
- Reorder class definitions in feature writers such that they appear before the lookups that use them (725).
- Renamed dottedCircleFilter module to dottedCirlce, was wrongly named; old kept for backward compat (716).
- [kernFeatureWriter] Avoid overwriting classDefs (705).
Register kern lookups for all defined languages (711).
Correctly split mark and base kerning pairs (713).
Don't skip over spacing marks when kerning (720).
- Fixed FEA include dir detection when in current dir (689)
- Automatically decompose components when 2x2 transforms differ (698)
- [kernFeatureWriter] Split kerning by script, not horizontal direction, which should be faster to compile and produce smaller GPOS. The old kernFeatureWriter is still kept in a separate module (679, 636, 697).

2.31.0b3

- Dropped support for Python 3.7 which reached EOL. We now require Python >= 3.8.
- Added support for compiling TrueType instructions and flags stored in the UFO's ``public.truetype.*`` lib keys (654).
- Automatically compute COLRv1 ClipBoxes if none are explicitly provided. This is enabled by default for static builds only. You can set colrAutoClipBoxes=True for interpolatable/variable builds if safe to do so (728).
- Improved "no default source" error (677).
- Warn about mis-cased `` Automatic Code`` insertion marker comments; also warn if there are no insertion markers but kerning.plist is non empty and there are manual kern/dist features in the FEA code (719).
- Respect openTypeNameRecords overrides for the predefined name IDs (727).
- Reorder class definitions in feature writers such that they appear before the lookups that use them (725).
- Renamed dottedCircleFilter module to dottedCirlce, was wrongly named; old kept for backward compat (716).
- [kernFeatureWriter] Avoid overwriting classDefs (705).
Register kern lookups for all defined languages (711).
Correctly split mark and base kerning pairs (713).
Don't skip over spacing marks when kerning (720).
- Fixed FEA include dir detection when in current dir (689)
- Automatically decompose components when 2x2 transforms differ (698)
- Copy old KernFeatureWriter from ufo2ft 2.30.0 into separate module (697)

2.31.0b2

Make it possible to kern Hiragana and Katakana against each other (683)

2.31.0b1

* Split kerning by script, not direction (679). This is a rework of 636 and should now properly split up kerning into per-script lookups without losing any. The major upside is that multi-script fonts with a lot of kerning will compile faster and smaller, because lookups will overflow less often and become denser.
* As a side-effect, kerning will now also be generated such that the shaper will actually apply it when the designer did not explicitly declare an appropriate `languagesystem` in the font's features. Before, kerning for Greek glyphs was effectively dropped unless the designer declared `languagesystem grek dflt;`.
* Another side-effect is that kerning between some common glyphs like `increment` and `asterisk` will now always be applied, where before due to circumstances it might have been stuck in e.g. the `LTR` instead of the `Common` lookup and therefore not applied if the script wasn't set correctly.
Links

Update numpy from 1.24.2 to 1.26.2.

Changelog

1.26.1

discovered after the 1.26.0 release. In addition, it adds new
functionality for detecting BLAS and LAPACK when building from source.
Highlights are:

-   Improved detection of BLAS and LAPACK libraries for meson builds
-   Pickle compatibility with the upcoming NumPy 2.0.

The 1.26.release series is the last planned minor release series before
NumPy 2.0. The Python versions supported by this release are 3.9-3.12.

Build system changes

Improved BLAS/LAPACK detection and control

Auto-detection for a number of BLAS and LAPACK is now implemented for
Meson. By default, the build system will try to detect MKL, Accelerate
(on macOS \>=13.3), OpenBLAS, FlexiBLAS, BLIS and reference BLAS/LAPACK.
Support for MKL was significantly improved, and support for FlexiBLAS
was added.

New command-line flags are available to further control the selection of
the BLAS and LAPACK libraries to build against.

To select a specific library, use the config-settings interface via
`pip` or `pypa/build`. E.g., to select `libblas`/`liblapack`, use:

 $ pip install numpy -Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack
 $  OR
 $ python -m build . -Csetup-args=-Dblas=blas -Csetup-args=-Dlapack=lapack

This works not only for the libraries named above, but for any library
that Meson is able to detect with the given name through `pkg-config` or
CMake.

Besides `-Dblas` and `-Dlapack`, a number of other new flags are
available to control BLAS/LAPACK selection and behavior:

-   `-Dblas-order` and `-Dlapack-order`: a list of library names to
 search for in order, overriding the default search order.
-   `-Duse-ilp64`: if set to `true`, use ILP64 (64-bit integer) BLAS and
 LAPACK. Note that with this release, ILP64 support has been extended
 to include MKL and FlexiBLAS. OpenBLAS and Accelerate were supported
 in previous releases.
-   `-Dallow-noblas`: if set to `true`, allow NumPy to build with its
 internal (very slow) fallback routines instead of linking against an
 external BLAS/LAPACK library. *The default for this flag may be
 changed to \`\`true\`\` in a future 1.26.x release, however for
 1.26.1 we\'d prefer to keep it as \`\`false\`\` because if failures
 to detect an installed library are happening, we\'d like a bug
 report for that, so we can quickly assess whether the new
 auto-detection machinery needs further improvements.*
-   `-Dmkl-threading`: to select the threading layer for MKL. There are
 four options: `seq`, `iomp`, `gomp` and `tbb`. The default is
 `auto`, which selects from those four as appropriate given the
 version of MKL selected.
-   `-Dblas-symbol-suffix`: manually select the symbol suffix to use for
 the library - should only be needed for linking against libraries
 built in a non-standard way.

New features

`numpy._core` submodule stubs

`numpy._core` submodule stubs were added to provide compatibility with
pickled arrays created using NumPy 2.0 when running Numpy 1.26.

Contributors

A total of 13 people contributed to this release. People with a \"+\" by
their names contributed a patch for the first time.

-   Andrew Nelson
-   Anton Prosekin +
-   Charles Harris
-   Chongyun Lee +
-   Ivan A. Melnikov +
-   Jake Lishman +
-   Mahder Gebremedhin +
-   Mateusz Sokół
-   Matti Picus
-   Munira Alduraibi +
-   Ralf Gommers
-   Rohit Goswami
-   Sayed Adel

Pull requests merged

A total of 20 pull requests were merged for this release.

-   [24742](https://github.com/numpy/numpy/pull/24742): MAINT: Update cibuildwheel version
-   [24748](https://github.com/numpy/numpy/pull/24748): MAINT: fix version string in wheels built with setup.py
-   [24771](https://github.com/numpy/numpy/pull/24771): BLD, BUG: Fix build failure for host flags e.g. `-march=native`\...
-   [24773](https://github.com/numpy/numpy/pull/24773): DOC: Updated the f2py docs to remove a note on -fimplicit-none
-   [24776](https://github.com/numpy/numpy/pull/24776): BUG: Fix SIMD f32 trunc test on s390x when baseline is none
-   [24785](https://github.com/numpy/numpy/pull/24785): BLD: add libquadmath to licences and other tweaks (#24753)
-   [24786](https://github.com/numpy/numpy/pull/24786): MAINT: Activate `use-compute-credits` for Cirrus.
-   [24

@pyup-bot
Copy link
Collaborator Author

Closing this in favor of #383

@pyup-bot pyup-bot closed this Dec 25, 2023
@justvanrossum justvanrossum deleted the pyup-scheduled-update-2023-12-18 branch December 25, 2023 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant