Skip to content
Merged
18 changes: 13 additions & 5 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
conda_build_tool: rattler-build
conda_forge_output_validation: true
bot:
automerge: true
inspection: hint-grayskull
conda_build_tool: rattler-build
conda_forge_output_validation: true
conda_install_tool: pixi
github:
branch_name: main
tooling_branch_name: main
52 changes: 52 additions & 0 deletions pixi.toml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions recipe/0000-pytest-9.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/pyproject.toml b/pyproject.toml
index 667e96b..64da341 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -34,7 +34,7 @@ packages = [{ include = 'pytest_split', from = 'src' }]

[tool.poetry.dependencies]
python = ">=3.8.1, <4.0"
-pytest = "^5 | ^6 | ^7 | ^8"
+pytest = "^5 | ^6 | ^7 | ^8 | ^9"


[tool.poetry.dev-dependencies]
50 changes: 27 additions & 23 deletions recipe/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,55 +1,59 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
schema_version: 1

context:
name: "pytest-split"
version: "0.10.0"
python_check_max: "3.14"

package:
name: ${{ name }}
name: pytest-split
version: ${{ version }}

source:
- url: https://pypi.org/packages/source/${{ name[0] }}/${{ name }}/pytest_split-${{ version }}.tar.gz
sha256: "adf80ba9fef7be89500d571e705b4f963dfa05038edf35e4925817e6b34ea66f"
url: https://pypi.org/packages/source/p/pytest-split/pytest_split-${{ version }}.tar.gz
sha256: adf80ba9fef7be89500d571e705b4f963dfa05038edf35e4925817e6b34ea66f
patches:
- 0000-pytest-9.patch

build:
number: 1
noarch: python
script:
- ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation --disable-pip-version-check
python:
entry_points:
- slowest-tests = pytest_split.cli:list_slowest_tests
noarch: python
script: python -m pip install . -vv
number: 0

requirements:
host:
- python ${{ python_min }}.*
- poetry-core >=1.0.0
- pip

- poetry-core >=1.0.0
- python ${{ python_min }}.*
run:
- pytest >=5.0.0,<10.0.0
- python >=${{ python_min }}
- pytest >=5.0.0,<9.0.0

tests:
- python:
imports:
- pytest_split
imports: pytest_split
pip_check: true
python_version:
- ${{ python_min }}.*
- script:
- slowest-tests --help
- pytest --traceconfig | grep pytest-split-${{ version }}
requirements:
- ${{ python_check_max }}.*
- requirements:
run:
- pip
- python ${{ python_min }}.*
script:
- slowest-tests --help
- pytest --traceconfig | python -c "import sys; assert 'pytest-split-${{ version }}' in sys.stdin.read()"

about:
homepage: https://github.com/jerry-git/pytest-split
homepage: https://pypi.org/project/pytest-split
repository: https://github.com/jerry-git/pytest-split
license: "MIT"
license_file: "LICENSE"
summary: "pytest plugin to split tests based on execution time."
description: "Pytest plugin which splits the test suite to equally sized sub suites based on test execution time."
license: MIT
license_file: LICENSE
summary: pytest plugin to split tests based on execution time.
description: Pytest plugin which splits the test suite to equally sized sub suites based on test execution time.

extra:
recipe-maintainers:
Expand Down