./devel/py-extension-helpers, Utilities for building and installing packages with extensions

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


Branch: CURRENT, Version: 1.2.0, Package name: py312-extension-helpers-1.2.0, Maintainer: pkgsrc-users

The extension-helpers package includes convenience helpers to assist with
building Python packages with compiled C/Cython extensions. It is developed
by the Astropy project but is intended to be general and usable by any
Python package.


Master sites:

Filesize: 29.177 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-25 15:09:31 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-extension-helpers: updated to 1.2.0

1.2.0

New Features

Support pathlib.Path in write_if_different and import_file

Bug Fixes

TST: fix pyproject-only test (ensure build-time dependencies are installed)

Other Changes

TST: drop legacy pytest fixture tmpdir, use tmp_path instead
Test downstream with Python 3.12
MNT: Use hash for Action workflow versions and update if needed
Bump actions/checkout from 4.2.0 to 4.2.1 in /.github/workflows in the actions group
   2023-12-17 21:30:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-extension-helpers: updated to 1.1.1

v1.1.1

Bug Fixes

get_extensions: use shutil.copyfile to avoid PermissionError
Fix bug that caused extension-helpers to not work correctly if pyproject was the \ 
only configuration file present

Other Changes

Replace all instances of distutils in docs with setuptools
Fix typos
MNT: handle deprecation warnings seen in tests
Add note about pinning extension-helpers
DEP: drop dependency on tomli on Python 3.11 and newer
TST: treat warnings as errors
MNT: find and replace log.warn -> log.warning (the warn method is deprecated)
Infrastructure updates
Bump actions/checkout from 2 to 4
Bump stefanzweifel/git-auto-commit-action from 4 to 5
Add back support for absolute source paths but deprecate it
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-09-16 06:23:06 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
py-extension-helpers: needs tomli
   2023-08-25 13:02:01 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-extension-helpers: updated to 1.1.0

1.1.0

New Features

Support enabling via pyproject.toml

Bug Fixes

OpenMP functions should detect the Intel oneAPI compiler

Infrastructure

Skip hypothesis tests in downstream testing
Set language for docs
Update python requirements
Add pre-commit configuration
Set testpaths to avoid picking up other tests
Added configuration required to update changelog when doing release through GitHub UI
   2023-07-21 06:47:38 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-extension-helpers: updated to 1.0.0

1.0.0 (2022-03-16)
------------------
* Added support for coverage>=5 for the extension-helpers test suite.
* Removed any direct usage of distutils.
* Remove support for the undocumented --compiler argument to setup.py.
* Added support for enabling extension-helpers from setup.cfg.
   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html