Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Aug 12, 2024
1 parent 98ba801 commit 90a41d0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions tests/test-recipes/metadata/python_version_independent/meta.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 90a41d0

Please sign in to comment.