notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
I started running short on disk space for the non-production FreshPorts hosts. This time, I have decided to ask for donations. See my recent blog post which points to my Patreon account.
Port details
py-pytest-arraydiff Pytest plugin to help with comparing array output from tests
0.6.1 develnew! on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: yuri@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-09-07 18:30:08
Last Update: 2025-09-07 18:29:38
Commit Hash: ed86dfa
Also Listed In: python
License: BSD2CLAUSE
WWW:
https://github.com/astropy/pytest-arraydiff
Description:
pytest-arraydiff is a py.test plugin to facilitate the generation and comparison of data arrays produced during tests, in particular in cases where the arrays are too large to conveniently hard-code them in the tests (e.g. np.testing.assert_allclose(x, [1, 2, 3])). The basic idea is that you can write a test that generates a Numpy array (or other related objects depending on the format, e.g. pandas DataFrame). You can then either run the tests in a mode to generate reference files from the arrays, or you can run the tests in comparison mode, which will compare the results of the tests to the reference ones within some tolerance. At the moment, the supported file formats for the reference files are: * A plain text-based format (based on Numpy loadtxt output) * The FITS format (requires astropy). With this format, tests can return either a Numpy array for a FITS HDU object. * A pandas HDF5 format using the pandas HDFStore
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pytest-arraydiff>0:devel/py-pytest-arraydiff@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-pytest-arraydiff/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-pytest-arraydiff
  • pkg install py311-pytest-arraydiff
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-pytest-arraydiff listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-pytest-arraydiff
Package flavors (<flavor>: <package>)
  • py311: py311-pytest-arraydiff
distinfo:
TIMESTAMP = 1757266057 SHA256 (pytest-arraydiff-0.6.1.tar.gz) = 2937b1450fc935620f24709d87d40c67e055a043d7b8541a25fdfa994dda67de SIZE (pytest-arraydiff-0.6.1.tar.gz) = 16907

No package information for this port in our database
Sometimes this happens. Not all ports have packages. This is doubly so for new ports, like this one.
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py311-setuptools>0 : devel/py-setuptools@py311
  2. py311-setuptools-scm>0 : devel/py-setuptools-scm@py311
  3. py311-wheel>0 : devel/py-wheel@py311
  4. python3.11 : lang/python311
  5. py311-build>=0 : devel/py-build@py311
  6. py311-installer>=0 : devel/py-installer@py311
Test dependencies:
  1. py311-pytest>=7,1 : devel/py-pytest@py311
  2. python3.11 : lang/python311
Runtime dependencies:
  1. py311-numpy>=1.16,1<1.27,1 : math/py-numpy@py311
  2. py311-pytest>=4.6 : devel/py-pytest@py311
  3. python3.11 : lang/python311
This port is required by:
for Run
  1. astro/py-pytest-astropy

Configuration Options:
No options to configure
Options name:
devel_py-pytest-arraydiff
USES:
python
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://files.pythonhosted.org/packages/source/p/pytest-arraydiff/
  2. https://pypi.org/packages/source/p/pytest-arraydiff/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.6.1
07 Sep 2025 18:29:38
commit hash: ed86dfa0da30fba22520973bd7768f5d8dde9d80commit hash: ed86dfa0da30fba22520973bd7768f5d8dde9d80commit hash: ed86dfa0da30fba22520973bd7768f5d8dde9d80commit hash: ed86dfa0da30fba22520973bd7768f5d8dde9d80 files touched by this commit
Yuri Victorovich (yuri) search for other commits by this committer
devel/py-pytest-arraydiff: New port: Pytest plugin to help with comparing array
output from tests

Number of commits found: 1