11
0

- update to 1.3.1:

* Drop support for Python 3.9 (:pr:`435`)
  * Update to bokeh 3.6.0 (:pr:`444`)
  * Update minimum pybind11 to 2.13.2 (:pr:`451`)
  * Read meson-python version in recommended way (:pr:`452`)
  * Use itertools.pairwise instead of zip where possible
    (:pr:`437`)
  * Typing changes from ruff UP035 and UP038 (:pr:`438`)
  * Tidy up python 3.13 CI (:pr:`449`)
  * Build Python 3.13t wheels on Windows (:pr:`450`)
  * multi_lines and multi_filled: ContourGenerator.multi_lines
    and multi_filled (:pr:`338`, :pr:`340`, :pr:`342`, :pr:`343`)
    Renderer.multi_lines and multi_filled (:pr:`341`)
    convert_multi_lines and convert_multi_filled (:pr:`348`)
    dechunk_multi_lines and dechunk_multi_filled (:pr:`345`)
  * ContourGenerator.multi_lines and multi_filled (:pr:`338`,
    :pr:`340`, :pr:`342`, :pr:`343`)
  * Renderer.multi_lines and multi_filled (:pr:`341`)
  * convert_multi_lines and convert_multi_filled (:pr:`348`)
  * dechunk_multi_lines and dechunk_multi_filled (:pr:`345`)
  * Prevent use of np.nan as lower or upper level in filled
    (:pr:`339`)
  * Support CPython 3.13 including free-threaded (:pr:`382`,
    :pr:`384`, :pr:`388`, :pr:`408`, :pr:`410`, :pr:`411`,
    :pr:`412`, :pr:`423`)
  * Support PyPy 3.10 (:pr:`404`)
  * Support improved typing in NumPy 2.1.0 (:pr:`422`)
  * Simpler sphinx cross-references (:pr:`361`)
  * Add more doc cross-references to explain returned data
    formats (:pr:`366`)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-contourpy?expand=0&rev=13
This commit is contained in:
2024-11-19 12:39:14 +00:00
committed by Git OBS Bridge
commit 4a5cb9ba6a
7 changed files with 233 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
_multibuild Normal file
View File

@@ -0,0 +1,3 @@
<multibuild>
<package>test</package>
</multibuild>

3
contourpy-1.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4d8908b3bee1c889e547867ca4cdc54e5ab6be6d3e078556814a22457f49423c
size 13457196

BIN
contourpy-1.3.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

106
python-contourpy.changes Normal file
View File

@@ -0,0 +1,106 @@
-------------------------------------------------------------------
Tue Nov 19 12:39:08 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 1.3.1:
* Drop support for Python 3.9 (:pr:`435`)
* Update to bokeh 3.6.0 (:pr:`444`)
* Update minimum pybind11 to 2.13.2 (:pr:`451`)
* Read meson-python version in recommended way (:pr:`452`)
* Use itertools.pairwise instead of zip where possible
(:pr:`437`)
* Typing changes from ruff UP035 and UP038 (:pr:`438`)
* Tidy up python 3.13 CI (:pr:`449`)
* Build Python 3.13t wheels on Windows (:pr:`450`)
* multi_lines and multi_filled: ContourGenerator.multi_lines
and multi_filled (:pr:`338`, :pr:`340`, :pr:`342`, :pr:`343`)
Renderer.multi_lines and multi_filled (:pr:`341`)
convert_multi_lines and convert_multi_filled (:pr:`348`)
dechunk_multi_lines and dechunk_multi_filled (:pr:`345`)
* ContourGenerator.multi_lines and multi_filled (:pr:`338`,
:pr:`340`, :pr:`342`, :pr:`343`)
* Renderer.multi_lines and multi_filled (:pr:`341`)
* convert_multi_lines and convert_multi_filled (:pr:`348`)
* dechunk_multi_lines and dechunk_multi_filled (:pr:`345`)
* Prevent use of np.nan as lower or upper level in filled
(:pr:`339`)
* Support CPython 3.13 including free-threaded (:pr:`382`,
:pr:`384`, :pr:`388`, :pr:`408`, :pr:`410`, :pr:`411`,
:pr:`412`, :pr:`423`)
* Support PyPy 3.10 (:pr:`404`)
* Support improved typing in NumPy 2.1.0 (:pr:`422`)
* Simpler sphinx cross-references (:pr:`361`)
* Add more doc cross-references to explain returned data
formats (:pr:`366`)
* Remove download numbers for conda packages (:pr:`428`)
* Documentation for multi_lines and multi_filled (:pr:`390`,
:pr:`431`)
* Document possibility of duplicate contour points (:pr:`432`)
* Add pytest option to log image differences to CSV file
(:pr:`335`)
* Label flaky test (:pr:`385`)
* MSVC linking and std::mutex compiler flag (:pr:`391`,
:pr:`395`, :pr:`414`, :pr:`419`, :pr:`427`)
* Add minimal test script (:pr:`399`)
* Bump minimum supported NumPy to 1.23 (:pr:`403`)
* Build and publish nightly wheels (:pr:`413`, :pr:`425`)
* Bump default python version in CI to 3.12 (:pr:`430`)
-------------------------------------------------------------------
Sun Apr 28 16:53:01 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.2.1:
* Support NumPy 2 (gh#contourpy/contourpy#331,
gh#contourpy/contourpy#371, gh#contourpy/contourpy#372).
* Fix a few f-strings (gh#contourpy/contourpy#332).
- New BuildRequires: python-meson-python.
-------------------------------------------------------------------
Sun May 14 12:49:46 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.0.7:
* This release adds type annotations and moves project metadata
to pyproject.toml
* Documentation now uses the Sphinx Furo theme, supporting dark
and light modes. There are no functional changes.
* Type annotations:
* Add type annotations
* Complete mypy configuration
* Documentation improvements:
* Support dark mode
* Use sphinx copy button
* Add conda monthly download badges to README
* Furo sphinx theme
* Code improvements:
* Improved if statement
* Test nonfinite z and decreasing zlevel for filled
* Add abstract base class Renderer
* Replace mpl scatter call with plot instead
* Use absolute imports
* Minor improvement to get_boundary_start_point
* Build system and CI improvements:
* Switch from setup.cfg to pyproject.toml
* Add git pre-commit
* Test improvements
* CI improvements
-------------------------------------------------------------------
Mon May 8 06:31:41 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Tue Dec 27 23:10:39 UTC 2022 - Ben Greiner <code@bnavigator.de>
- explicitly require ourselves in :test flavor
-------------------------------------------------------------------
Sun Dec 25 12:36:52 UTC 2022 - Ben Greiner <code@bnavigator.de>
- contourpy is a now a runtime requirement of matplotlib: avoid
buildcycle by _multibuild
-------------------------------------------------------------------
Mon Oct 31 11:40:43 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Initial specfile for v1.0.6
- Required by bokeh 3

94
python-contourpy.spec Normal file
View File

@@ -0,0 +1,94 @@
#
# spec file for package python-contourpy
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%bcond_without test
%else
%define psuffix %{nil}
%bcond_with test
%endif
%{?sle15_python_module_pythons}
Name: python-contourpy%{psuffix}
Version: 1.3.1
Release: 0
Summary: Python library for calculating contours of 2D quadrilateral grids
License: BSD-3-Clause
URL: https://github.com/contourpy/contourpy
Source: https://files.pythonhosted.org/packages/source/c/contourpy/contourpy-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module meson-python}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pybind11-devel >= 2.7}
BuildRequires: %{python_module setuptools >= 42}
BuildRequires: %{python_module wheel}
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-numpy >= 1.16
Suggests: python-bokeh
%if %{with test}
BuildRequires: %{python_module Pillow}
BuildRequires: %{python_module contourpy = %{version}}
BuildRequires: %{python_module matplotlib}
BuildRequires: %{python_module numpy >= 1.16}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wurlitzer}
%endif
%python_subpackages
%description
A Python library for calculating contours of 2D quadrilateral grids
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.
%prep
%setup -q -n contourpy-%{version}
%build
%if !%{with test}
export CFLAGS="%{optflags}"
%pyproject_wheel
%endif
%install
%if !%{with test}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%endif
%if %{with test}
%check
%pytest_arch
%endif
%if !%{with test}
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitearch}/contourpy
%{python_sitearch}/contourpy-%{version}*-info
%endif
%changelog