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
Port details
py-pytest-cases Separate test code from test cases in pytest
3.6.14 devel on this many watch lists=2 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 3.6.14Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-09-11 03:17:27
Last Update: 2024-02-29 07:18:32
Commit Hash: 5d4139f
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
Also Listed In: python
License: BSD3CLAUSE
WWW:
https://smarie.github.io/python-pytest-cases/
https://github.com/smarie/python-pytest-cases
Description:
Did you ever think that most of your test functions were actually the same test code, but with different data inputs and expected results/exceptions? - pytest-cases leverages pytest and its great @pytest.mark.parametrize decorator, so that you can separate your test cases from your test functions. - In addition, pytest-cases provides several useful goodies to empower pytest. In particular it improves the fixture mechanism to support "fixture unions". This is a major change in the internal pytest engine, unlocking many possibilities such as using fixture references as parameter values in a test function. See here. pytest-cases is fully compliant with pytest-harvest so you can easily monitor the execution times and created artifacts. With it, it becomes very easy to create a complete data science benchmark, for example comparing various models on various datasets.
HomepageHomepage    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.
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}pytest-cases>0:devel/py-pytest-cases@${PY_FLAVOR}
To install the port:
cd /usr/ports/devel/py-pytest-cases/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-pytest-cases
  • pkg install py39-pytest-cases
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 py39-pytest-cases listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py39-pytest-cases
Package flavors (<flavor>: <package>)
  • py39: py39-pytest-cases
distinfo:
TIMESTAMP = 1694348232 SHA256 (pytest-cases-3.6.14.tar.gz) = 7455e6ca57a544c1bfdd8b56ace08c1c1ce4c6572a8aab8f1bd351dc25a10b6b SIZE (pytest-cases-3.6.14.tar.gz) = 1083239

Packages (timestamps in pop-ups are UTC):
py39-pytest-cases
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly-----3.6.143.6.143.6.14
FreeBSD:14:latest--------
FreeBSD:14:quarterly-----3.6.143.6.143.6.14
FreeBSD:15:latest--n/a-n/a3.6.143.6.143.6.14
 

py311-pytest-cases
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest3.6.143.6.14-3.6.143.6.14---
FreeBSD:13:quarterly3.6.143.6.14-3.6.143.6.14---
FreeBSD:14:latest3.6.143.6.14-3.6.143.6.14---
FreeBSD:14:quarterly3.6.143.6.14-3.6.143.6.14---
FreeBSD:15:latest3.6.143.6.14n/a3.6.14n/a---
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py39-setuptools>=39.2 : devel/py-setuptools@py39
  2. py39-setuptools-scm>=0 : devel/py-setuptools-scm@py39
  3. py39-wheel>=0 : devel/py-wheel@py39
  4. python3.9 : lang/python39
  5. py39-build>=0 : devel/py-build@py39
  6. py39-installer>=0 : devel/py-installer@py39
Test dependencies:
  1. python3.9 : lang/python39
Runtime dependencies:
  1. py39-decopatch>=0 : devel/py-decopatch@py39
  2. py39-makefun>=1.9.5 : devel/py-makefun@py39
  3. python3.9 : lang/python39
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_py-pytest-cases
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-cases/
  2. https://pypi.org/packages/source/p/pytest-cases/
Collapse this list.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
3.6.14
29 Feb 2024 07:18:32
commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454commit hash: 5d4139f8bdb67bd6e8328422f9762661bd0d6454 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
devel/py-setuptools-scm: update to 8.0.4

Directory and PORTNAME changed to match normalised name in release
tarball; consumers updated to match.

Although setuptools itself is specified as a run dependency in the
Python package metadata, it is currently left out here to prevent
environment pollution until at least PR 270510 is committed.
Additionally, this version of setuptools-scm requires setuptools>=61,
which means this version is only meant for USE_PYTHON=pep517 ports
as all USE_PYTHON=distutils ports will switch to devel/py-setuptools58
also after PR 270510. science/py-emmet-core is switched to
devel/py-setuptools_scm7 accordingly, as it specifies setuptools-scm<8.
devel/py-{flit-scm,hatch-vcs} have ${PY_SETUPTOOLS} added to
RUN_DEPENDS to compensate.

Further details: https://wiki.freebsd.org/Python/setuptools

Reported by: yuri
Co-authored by: matthew
Exp-run by: antoine (earlier iteration)
Approved by: yuri (science/py-emmet-core, previous iteration)
PR: 272134
Differential Revision: https://reviews.freebsd.org/D39288
3.6.14
11 Sep 2023 03:03:47
commit hash: 62cbc4c2937d93d6082811b6436294d551456e7acommit hash: 62cbc4c2937d93d6082811b6436294d551456e7acommit hash: 62cbc4c2937d93d6082811b6436294d551456e7acommit hash: 62cbc4c2937d93d6082811b6436294d551456e7a files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
devel/py-pytest-cases: Add py-pytest-cases 3.6.14

Did you ever think that most of your test functions were actually the same test
code, but with different data inputs and expected results/exceptions?
- pytest-cases leverages pytest and its great @pytest.mark.parametrize
  decorator, so that you can separate your test cases from your test functions.
- In addition, pytest-cases provides several useful goodies to empower pytest.
  In particular it improves the fixture mechanism to support "fixture unions".
  This is a major change in the internal pytest engine, unlocking many
  possibilities such as using fixture references as parameter values in a test
  function. See here.

pytest-cases is fully compliant with pytest-harvest so you can easily monitor
the execution times and created artifacts. With it, it becomes very easy to
create a complete data science benchmark, for example comparing various models
on various datasets.

Number of commits found: 2