Skip to content

Commit

Permalink
constructor 3.9.3, add osx noarch (#81)
Browse files Browse the repository at this point in the history
* constructor 3.9.3

* MNT: Re-rendered with conda-build 24.3.0, conda-smithy 3.38.0, and conda-forge-pinning 2024.08.15.15.10.41

* update test invocation

* Test examples once

* Revert

---------

Co-authored-by: jaimergp <[email protected]>
  • Loading branch information
bollwyvl and jaimergp authored Aug 20, 2024
1 parent 8f4170c commit 9851e20
Show file tree
Hide file tree
Showing 9 changed files with 173 additions and 21 deletions.
37 changes: 37 additions & 0 deletions .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ channel_targets:
docker_image:
- quay.io/condaforge/linux-anvil-cos7-x86_64
target_os:
- unix
- linux
12 changes: 12 additions & 0 deletions .ci_support/osx_64_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
MACOSX_DEPLOYMENT_TARGET:
- '10.13'
MACOSX_SDK_VERSION:
- '10.13'
channel_sources:
- conda-forge
channel_targets:
- conda-forge main
macos_machine:
- x86_64-apple-darwin13.4.0
target_os:
- osx
104 changes: 104 additions & 0 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions azure-pipelines.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ github:
noarch_platforms:
- linux_64
- win_64
- osx_64
conda_build:
pkg_format: '2'
5 changes: 3 additions & 2 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
target_os:
- unix # [unix]
- win # [win]
- linux # [linux]
- osx # [osx]
- win # [win]
28 changes: 13 additions & 15 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,55 +1,54 @@
{% set version = "3.9.2" %}
{% set version = "3.9.3" %}

package:
name: constructor
version: {{ version }}

source:
url: https://github.com/conda/constructor/archive/{{ version }}.tar.gz
sha256: 0ea4f6d563a53ebb03475dc6d2d88d3ab01be4e9d291fd276c79315aa92e5114
sha256: c88640ca1dcb93784cf754a16c53a098633808653aa52965c909a967b84815b9

build:
noarch: python
number: 0
script: {{ PYTHON }} -m pip install . -vv
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
entry_points:
- constructor = constructor.main:main
script_env:
- SETUPTOOLS_SCM_PRETEND_VERSION={{ version }}

requirements:
host:
- python >=3.8
- pip
- python >=3.8
- setuptools >=70.1
- setuptools-scm >=6.2
run:
- __{{ target_os }}
# see for the upper conda version constrain https://github.com/conda/constructor/issues/628
- conda >=4.6
- python >=3.8
- ruamel.yaml >=0.11.14,<0.19
- conda-standalone
- pillow >=3.1
- jinja2
- nsis >=3.08 # [win]
run_constrained: # [unix]
- nsis >=3.08 # [unix]
- python >=3.8
- ruamel.yaml >=0.11.14,<0.19
- pillow >=3.1 # [not linux]
- nsis >=3.08 # [win]
run_constrained: # [unix]
- nsis >=3.08 # [unix]

test:
files:
- test_win.bat
source_files:
- tests
# - scripts
# - examples
requires:
- pip
- pytest
- nsis * *log* # [win]
commands:
- pip check
- pytest -v tests -k "not examples"
- pytest -vv --tb=long --color=yes -k "not examples"
# Skip for linux-aarch64 because examples use "main" channel which has no builds for that platform.
# - set "NSIS_USING_LOG_BUILD=1" # [win]
# - pytest -v tests/test_examples.py # [unix and not aarch64]
Expand All @@ -68,8 +67,7 @@ about:
Constructor is a tool for constructing an installer for a collection of
conda packages. It creates an Anaconda-like installer consisting of
packages.
doc_url: https://conda.io/projects/conda/en/latest/
dev_url: https://github.com/conda/constructor
doc_url: https://conda.github.io/constructor

extra:
recipe-maintainers:
Expand Down

0 comments on commit 9851e20

Please sign in to comment.