-
Notifications
You must be signed in to change notification settings - Fork 431
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an option to create arch specific, python version independent pkgs (
#5456) * Add an option to create arch specific, python version independent pkgs * Fix link_json * Fix multi-output recipes * Add a test * Add docs * update test * fix test * fix test again * fix windows * fix docs * add news * use walrus operator Co-authored-by: jaimergp <[email protected]> * doc improvements Co-authored-by: Jannis Leidel <[email protected]> Co-authored-by: jaimergp <[email protected]> * Update news Co-authored-by: jaimergp <[email protected]> * clarify noarch: python * clarify more * noarch_python --------- Co-authored-by: jaimergp <[email protected]> Co-authored-by: Jannis Leidel <[email protected]>
- Loading branch information
1 parent
0325185
commit 6e6bb13
Showing
9 changed files
with
162 additions
and
8 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
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
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
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,21 @@ | ||
### Enhancements | ||
|
||
* Added an option `build.python_version_independent` to recipes to support | ||
building ABI3 for one CPython version and using the package in any | ||
later version. (#5456) | ||
|
||
### Bug fixes | ||
|
||
* <news item> | ||
|
||
### Deprecations | ||
|
||
* <news item> | ||
|
||
### Docs | ||
|
||
* <news item> | ||
|
||
### Other | ||
|
||
* <news item> |
28 changes: 28 additions & 0 deletions
28
tests/test-recipes/metadata/_python_version_independent/meta.yaml
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,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 |
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