./graphics/py-contourpy, Python library for calculating contours of 2D quadrilateral grids

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.3.1, Package name: py312-contourpy-1.3.1, Maintainer: pkgsrc-users

ContourPy is a Python library for calculating contours of 2D quadrilateral
grids. It is written in C++11 and wrapped using pybind11.

It contains the 2005 and 2014 algorithms used in Matplotlib as well as a newer
algorithm that includes more features and is available in both serial and
multithreaded versions. It provides an easy way for Python libraries to use
contouring algorithms without having to include Matplotlib as a dependency.


Master sites:

Filesize: 13150.149 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-17 20:51:50 by David H. Gutteridge | Files touched by this commit (1)
Log message:
py-contourpy: reflect correct minimum py-pybind11 dependency

Separate from what upstream documents in their issue #451, some older
versions of py-pybind11 accepted previously here would result in a
build failure like so:

../src/wrap.cpp:21:54: error: macro "PYBIND11_MODULE" passed 3 \ 
arguments, but takes just 2
 PYBIND11_MODULE(_contourpy, m, py::mod_gil_not_used()) {
                                                      ^
../src/wrap.cpp:21:1: error: 'PYBIND11_MODULE' does not name a type
 PYBIND11_MODULE(_contourpy, m, py::mod_gil_not_used()) {
 ^~~~~~~~~~~~~~~
   2024-11-17 10:31:14 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-contourpy: update to 1.3.1.

ContourPy 1.3.1 is a compatibility release to support changes in bokeh, \ 
meson-python and pybind11.

This release supports Python 3.10 to 3.13.

Compatibility:

    Drop support for Python 3.9 (#435)
    Update to bokeh 3.6.0 (#444)
    Update minimum pybind11 to 2.13.2 (#451)
    Read meson-python version in recommended way (#452)

Code improvements:

    Use itertools.pairwise instead of zip where possible (#437)
    Typing changes from ruff UP035 and UP038 (#438)

Build, testing and CI improvements:

    Tidy up python 3.13 CI (#449)
    Build Python 3.13t wheels on Windows (#450)
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-09-13 10:27:47 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-contourpy: update to 1.3.0.

ContourPy 1.3.0 adds new ContourGenerator functions multi_lines
and multi_filled to calculate contour lines and filled contours
over a sequence of levels in a single function call. There are also
new functions to render, convert and dechunk the returns from
multi_lines and multi_filled.

This release adds support for Python 3.13, including free-threaded.
The latter should be considered experimental.

The use of np.nan as the lower_level or upper_level of
ContourGenerator.filled() is no longer permitted.

Enhancements:

    multi_lines and multi_filled:
        ContourGenerator.multi_lines and multi_filled (#338, #340, #342, #343)
        Renderer.multi_lines and multi_filled (#341)
        convert_multi_lines and convert_multi_filled (#348)
        dechunk_multi_lines and dechunk_multi_filled (#345)

    Prevent use of np.nanas lower or upper level in filled (#339)

Compatibility:

    Support CPython 3.13 including free-threaded (#382, #384, #388, #408, #410, \ 
#411, #412, #423)
    Support PyPy 3.10 (#404)

Code improvements:

    Support improved typing in NumPy 2.1.0 (#422)

Documentation improvements:

    Simpler sphinx cross-references (#361)
    Add more doc cross-references to explain returned data formats (#366)
    Remove download numbers for conda packages (#428)
    Documentation for multi_lines and multi_filled (#390, #431)
    Document possibility of duplicate contour points (#432)

Build, testing and CI improvements:

    Add pytest option to log image differences to CSV file (#335)
    Label flaky test (#385)
    MSVC linking and std::mutex compiler flag (#391, #395, #414, #419, #427)
    Add minimal test script (#399)
    Bump minimum supported NumPy to 1.23 (#403)
    Build and publish nightly wheels (#413, #425)
    Bump default python version in CI to 3.12 (#430)
   2024-07-03 06:29:55 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-contourpy: disable -Werror to fix build on -current

Upstream bug report filed.
   2024-04-07 13:38:37 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-contourpy: update to 1.2.1.

ContourPy 1.2.1 is a compatibility release to support NumPy 2.

This release supports Python 3.9 to 3.12.

Thanks to new contributor @motoro and core maintainer @ianthomas23.

Compatibility:

    Support NumPy 2 (#331, #371, #372)

Code improvements:

    Fix a few f-strings (#332)

Documentation improvements:

    Clarify use of quotes in pip install (#349)

Build, testing and CI improvements:

    Improved linting (#322, #323, #333, #337)
    Update cppcheck to 2.11 (#324)
    Support running tests on unicore hosts (#327)
    Improved tests against nightly wheels (#329, #373)
    Update to chromium 118 for Bokeh renderer tests (#325)
    Add CI run using earliest supported numpy (#347)
   2023-11-06 14:47:24 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-contourpy: update to 1.2.0.

v1.2.0 (2023-11-03)
-------------------

ContourPy 1.2.0 is a significant release with a number of new
features. There is a new format for contour lines called
``LineType.ChunkCombinedNan`` that is designed to work directly
with Bokeh and HoloViews. There are also new functions for manipulating
contour lines and filled contours (``convert_filled``, ``convert_lines``,
``dechunk_filled`` and ``dechunk_lines``).

Calling ``ContourGenerator.filled()`` with two identical levels
now raises a ``ValueError`` whereas previously it gave different
results depending on algorithm ``name``.
   2023-11-04 17:21:55 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-contourpy: update to 1.1.1.

v1.1.1 (2023-09-16)
-------------------

This release adds support for CPython 3.12 and reinstates the release of
Windows 32-bit wheels following NumPy's intention to continue doing so.
There is a new keyword argument ``webdriver`` to the ``BokehRenderer`` save
functions to reuse the same Selenium WebDriver instance across multiple calls.