From 90a41d00ac0eb9e4aa52da0964a2200f56140b26 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Mon, 12 Aug 2024 16:31:58 -0500 Subject: [PATCH] Add a test --- .../python_version_independent/meta.yaml | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/test-recipes/metadata/python_version_independent/meta.yaml diff --git a/tests/test-recipes/metadata/python_version_independent/meta.yaml b/tests/test-recipes/metadata/python_version_independent/meta.yaml new file mode 100644 index 0000000000..ff2c1ba1b0 --- /dev/null +++ b/tests/test-recipes/metadata/python_version_independent/meta.yaml @@ -0,0 +1,28 @@ +package: + name: python_version_independent_test_package + version: "1.0" + +source: + path: ../_noarch_python_with_tests/noarch_python_test_package + +build: + script: python setup.py install --single-version-externally-managed --record=record.txt + python_version_independent: true + entry_points: + - noarch_python_test_package_script = noarch_python_test_package:main + +requirements: + build: + host: + - python 3.11.* + - setuptools + run: + - python >=3.11 + +test: + requires: + - python 3.12.* + imports: + - noarch_python_test_package + commands: + - noarch_python_test_package_script