17
0

Compare commits

2 Commits

Author SHA256 Message Date
14059478d4 Accepting request 1293085 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1293085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-extension-helpers?expand=0&rev=5
2025-07-15 14:43:41 +00:00
1cfc1cc4ae Accepting request 1292528 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 1.4.0
  * Allow opting in to limited API builds with
    EXTENSION_HELPERS_PY_LIMITED_API by @astrofrog in #110
- Release 1.3.0
  * Automatically set compiler flags to target PEP 384 Python
    limited API by @lpsinger in #26
  * Bump minimum version of Python to 3.10 and update versions by
    @astrofrog in #106
- Release 1.2.0
  * Support pathlib.Path in write_if_different and import_file by
    @astrofrog in #84
  * TST: fix pyproject-only test (ensure build-time dependencies
    are installed) by @neutrinoceros in #80
  * TST: drop legacy pytest fixture tmpdir, use tmp_path instead by
    @neutrinoceros in #81

OBS-URL: https://build.opensuse.org/request/show/1292528
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-extension-helpers?expand=0&rev=9
2025-07-14 09:26:57 +00:00
4 changed files with 38 additions and 15 deletions

View File

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

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:78d04185f196e3e0bc5fd8418ce298b014c46f7ac609f6a8c10bf70e8c978324
size 32995

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sun Jul 13 14:55:01 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 1.4.0
* Allow opting in to limited API builds with
EXTENSION_HELPERS_PY_LIMITED_API by @astrofrog in #110
- Release 1.3.0
* Automatically set compiler flags to target PEP 384 Python
limited API by @lpsinger in #26
* Bump minimum version of Python to 3.10 and update versions by
@astrofrog in #106
- Release 1.2.0
* Support pathlib.Path in write_if_different and import_file by
@astrofrog in #84
* TST: fix pyproject-only test (ensure build-time dependencies
are installed) by @neutrinoceros in #80
* TST: drop legacy pytest fixture tmpdir, use tmp_path instead by
@neutrinoceros in #81
-------------------------------------------------------------------
Mon Jan 8 20:44:33 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-extension-helpers
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,29 +16,32 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-extension-helpers
Version: 1.1.1
Version: 1.4.0
Release: 0
Summary: Utilities for building and installing packages in the Astropy ecosystem
Summary: Utilities for building and installing packages wuth compiled extensions
License: BSD-3-Clause
URL: https://github.com/astropy/extension-helpers
Source: https://files.pythonhosted.org/packages/source/e/extension-helpers/extension-helpers-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/e/extension_helpers/extension_helpers-%{version}.tar.gz
Source100: python-extension-helpers-rpmlintrc
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools >= 43}
BuildRequires: %{python_module setuptools >= 64}
BuildRequires: %{python_module setuptools_scm >= 6.2}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module build}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy-devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tomli if %python-base < 3.11}
BuildRequires: %{python_module wheel}
# /SECTION
Requires: python-setuptools >= 40.2
Requires: python-setuptools >= 64
Requires: (python-tomli if python-base < 3.11)
BuildArch: noarch
%python_subpackages
@@ -53,7 +56,7 @@ when the setup.py command is run and should be defined as a build-time
dependency in pyproject.toml files.
%prep
%setup -q -n extension-helpers-%{version}
%setup -q -n extension_helpers-%{version}
%build
%pyproject_wheel
@@ -63,13 +66,14 @@ dependency in pyproject.toml files.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# do not test local source dir
%pytest --pyargs extension_helpers -k "not pyproject"
# mismatch: can't build and don't neeed limited api cp310 in our flavored environment
donttest="test_limited_api and cp310"
%pytest --pyargs extension_helpers -k "not ($donttest)"
%files %{python_files}
%doc CHANGES.md README.rst
%license LICENSE.rst licenses/LICENSE_ASTROSCRAPPY.rst
%{python_sitelib}/extension_helpers
%{python_sitelib}/extension_helpers-%{version}*-info
%{python_sitelib}/extension_helpers-%{version}.dist-info
%changelog