-
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1682 from isuruf/noarch_platforms
allow selectors in noarch_platforms recipes
- Loading branch information
Showing
5 changed files
with
154 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
**Added:** | ||
|
||
* <news item> | ||
|
||
**Changed:** | ||
|
||
* recipes with ``noarch_platforms`` will no longer give a lint when selectors are used. | ||
|
||
**Deprecated:** | ||
|
||
* <news item> | ||
|
||
**Removed:** | ||
|
||
* <news item> | ||
|
||
**Fixed:** | ||
|
||
* <news item> | ||
|
||
**Security:** | ||
|
||
* <news item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
build_platform: | ||
osx_arm64: osx_64 | ||
conda_forge_output_validation: true | ||
github: | ||
branch_name: main | ||
tooling_branch_name: main | ||
provider: | ||
linux_aarch64: default | ||
linux_ppc64le: default | ||
test_on_native_only: true | ||
noarch_platforms: | ||
- linux_64 | ||
- win_64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{% set version = "7.1.3" %} | ||
|
||
package: | ||
name: pytest | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.io/packages/source/p/pytest/pytest-{{ version }}.tar.gz | ||
sha256: 4f365fec2dff9c1162f834d9f18af1ba13062db0c708bf7b946f8a5c76180c39 | ||
|
||
build: | ||
number: 1 | ||
script: {{ PYTHON }} setup.py install --single-version-externally-managed --record record.txt | ||
entry_points: | ||
- pytest = pytest:console_main | ||
- py.test = pytest:console_main | ||
noarch: python | ||
string: "win_pyh{{ PKG_HASH }}_{{ PKG_BUILDNUM }}" # [win] | ||
string: "unix_pyh{{ PKG_HASH }}_{{ PKG_BUILDNUM }}" # [unix] | ||
|
||
|
||
requirements: | ||
build: | ||
- python # [build_platform != target_platform] | ||
- cross-python_{{ target_platform }} # [build_platform != target_platform] | ||
host: | ||
- pip | ||
- python >=3.8 | ||
- setuptools >=42.0 | ||
- setuptools_scm >=6.0 | ||
run: | ||
- python >=3.8 | ||
- attrs >=19.2.0 | ||
- iniconfig | ||
- packaging | ||
- pluggy >=0.12,<2.0 | ||
- py >=1.8.2 | ||
- tomli >=1.0.0 | ||
- colorama # [win] | ||
- __win # [win] | ||
- __unix # [unix] | ||
|
||
run_constrained: | ||
# pytest-faulthandler 2 is a dummy package. | ||
# if an older version of fault-handler is installed, it will conflict with pytest >=5. | ||
- pytest-faulthandler >=2 | ||
|
||
test: | ||
commands: | ||
- pytest -h | ||
imports: | ||
- pytest | ||
|
||
about: | ||
home: https://docs.pytest.org/en/latest/ | ||
license: MIT | ||
license_file: LICENSE | ||
summary: Simple and powerful testing with Python. | ||
description: | | ||
The pytest framework makes it easy to write small tests, yet scales to | ||
support complex functional testing for applications and libraries. | ||
doc_url: https://docs.pytest.org/en/latest/ | ||
dev_url: https://github.com/pytest-dev/pytest/ | ||
|
||
extra: | ||
recipe-maintainers: | ||
- flub | ||
- goanpeca | ||
- nicoddemus | ||
- ocefpaf | ||
- mingwandroid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters