commit | author | age
|
c028cc
|
1 |
# |
MT |
2 |
# This file and its contents are supplied under the terms of the |
|
3 |
# Common Development and Distribution License ("CDDL"), version 1.0. |
|
4 |
# You may only use this file in accordance with the terms of version |
|
5 |
# 1.0 of the CDDL. |
|
6 |
# |
|
7 |
# A full copy of the text of the CDDL should have accompanied this |
|
8 |
# source. A copy of the CDDL is also available via the Internet at |
|
9 |
# http://www.illumos.org/license/CDDL. |
|
10 |
# |
|
11 |
|
|
12 |
# |
|
13 |
# Copyright 2024 Marcel Telka |
|
14 |
# |
|
15 |
|
|
16 |
%patch% 01-pytest-plugins.patch |
|
17 |
|
|
18 |
%include-2% |
|
19 |
# |
|
20 |
# Following dependency loops were detected (where 'A --> B' means 'A needs B to |
|
21 |
# run tests', and 'A ==> B' means 'A needs B for build and/or run'): |
|
22 |
# |
|
23 |
# pydantic_core --> dirty_equals --> pydantic ==> pydantic_core |
|
24 |
# |
|
25 |
# To break loops we need to allow this project to integrate without testing in |
|
26 |
# a case the required projects are not available yet (bootstrap). |
|
27 |
# |
|
28 |
PYTHON_TEST_BOOTSTRAP = yes |
|
29 |
%include-3% |
|
30 |
# https://www.illumos.org/issues/15767 |
|
31 |
LD_Z_IGNORE= |
|
32 |
|
|
33 |
# This project does not support tox so we need to provide test requirements |
|
34 |
# manually. |
|
35 |
TEST_REQUIREMENTS += tests/requirements.txt |
|
36 |
TEST_REQUIRED_PACKAGES.python += library/python/pytest-benchmark |