Skip to content

v0.5.0 - first release of the pyqreg2 fork

Choose a tag to compare

@mvds314 mvds314 released this 04 Sep 13:24
· 10 commits to master since this release
6ab92db

First release of this maintained fork of mozjay0619/pyqreg.

Published on PyPI as pyqreg2, but the import name is still pyqreg, so it is a drop-in replacement:

pip install pyqreg2

import pyqreg  # unchanged

Do not install pyqreg and pyqreg2 at the same time: both provide the same pyqreg import package. Run pip uninstall pyqreg first.

What's changed

Compatibility

  • Support for Python 3.11-3.13, NumPy 2.x and recent SciPy.
  • Prebuilt wheels for Linux (x86_64, aarch64), macOS (Intel, Apple Silicon) and Windows, so a compiler is no longer needed to install.

Packaging fixes

  • Declare the runtime dependencies. NumPy, SciPy, pandas and patsy were only listed as development extras, so a plain install failed with an ImportError.
  • Ship the Cython sources in the sdist. It previously contained generated .c files that are not tracked in git, and none of the .pyx/.pxd sources, making it unbuildable from a clean checkout.

Maintenance

  • Replace the retired CircleCI setup with GitHub Actions: linting and tests on Linux, macOS and Windows across Python 3.11-3.13, and releases gated on those checks.
  • Relax an over-strict tolerance in the fit_coefs test that failed on Apple Silicon, where the Accelerate BLAS differs from OpenBLAS on a deliberately degenerate problem.
  • Adopt ruff, replace bare Exception raises with ValueError, and fix a mutable default argument.

All credit for the original implementation goes to Jay Kim. This fork keeps the original BSD 3-Clause license.