Skip to content

Commit

Permalink
Merge pull request #129 from conda-forge-admin/conda_forge_admin_128
Browse files Browse the repository at this point in the history
rich 13.8.1
  • Loading branch information
bollwyvl authored Sep 11, 2024
2 parents be260bc + a7ef400 commit 0fcb7c2
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 54 deletions.
1 change: 1 addition & 0 deletions .azure-pipelines/azure-pipelines-linux.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
@@ -1,5 +1,5 @@
cdt_name:
- cos6
- cos7
channel_sources:
- conda-forge
channel_targets:
Expand Down
4 changes: 2 additions & 2 deletions .gitattributes

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

8 changes: 7 additions & 1 deletion .scripts/build_steps.sh

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

9 changes: 6 additions & 3 deletions build-locally.py

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

8 changes: 2 additions & 6 deletions conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
bot:
automerge: true
inspection: hint-all
build_platform:
linux_aarch64: linux_64
linux_ppc64le: linux_64
osx_arm64: osx_64
conda_forge_output_validation: true
provider:
linux_aarch64: default
linux_ppc64le: default
test_on_native_only: true
test: native_and_emulated
github:
branch_name: main
tooling_branch_name: main
conda_build:
pkg_format: '2'
bot:
inspection: hint-all
70 changes: 29 additions & 41 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,65 +1,55 @@
{% set min_python = ">=3.7.0" %}
{% set min_python = ">=3.7.0" %}
{% set version = "13.7.1" %}
{% set min_python = ">=3.7.0" %}
{% set version = "13.8.1" %}

# handle undefined PYTHON in `noarch: generic` outputs
{% if PYTHON is not defined %}{% set PYTHON = "$PYTHON" %}{% endif %}

package:
name: rich-split
name: rich
version: {{ version }}

source:
- folder: dist
url: https://pypi.io/packages/source/r/rich/rich-{{ version }}.tar.gz
sha256: 9be308cb1fe2f1f57d67ce99e95af38a1e2bc71ad9813b0e247cf7ffbcc3a432
sha256: 8260cda28e3db6bf04d2d1ef4dbc03ba80a824c88b0e7668a0f23126a424844a
- folder: src
url: https://github.com/Textualize/rich/archive/refs/tags/v{{ version }}.tar.gz
sha256: 94f7240312afb70f1055bd434fed7df0bda086533c93e04bf161b159fcc9fcf7
sha256: 9e9e8be20746eeb5372df4ccba60775e1d3ed819008760ad70291dd3273b0db3

build:
noarch: python
number: 0
noarch: python
script:
- cd dist && {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation

requirements:
host:
- python {{ min_python }}
- pip
- poetry-core >=1.0.0
- python >=3.7
run:
- python {{ min_python }}
- markdown-it-py >=2.2.0
- pygments >=2.13.0,<3.0.0
- python >=3.7
- typing_extensions >=4.0.0,<5.0.0

test:
imports:
- rich
commands:
- pip check
requires:
- pip

outputs:
- name: rich
build:
noarch: python
script:
- cd dist && {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
requirements:
host:
- pip
- poetry-core >=1.0.0
- python {{ min_python }}
run:
# sync with normalized deps from poetry-generated setup.py
- markdown-it-py >=2.2.0
- pygments >=2.13.0,<3.0.0
- python {{ min_python }}
- typing_extensions >=4.0.0,<5.0.0
test:
imports:
- rich
commands:
- pip check
requires:
- pip

- name: rich-with-jupyter
build:
noarch: python
noarch: generic
requirements:
host:
- python {{ min_python }}
run:
- {{ pin_subpackage("rich", max_pin="x.x.x") }}
- ipywidgets >=7.5.1,<9.0.0
- python {{ min_python }}
test:
imports:
- rich
Expand All @@ -70,22 +60,20 @@ outputs:

- name: _rich-with-tests
build:
noarch: python
noarch: generic
requirements:
host:
- python {{ min_python }}
run:
- {{ pin_subpackage("rich", max_pin="x.x.x") }}
- {{ pin_subpackage("rich-with-jupyter", max_pin="x.x.x") }}
- python {{ min_python }}
test:
source_files:
- src/tests
imports:
- rich
commands:
- pip check
- pytest src/tests -vv --cov=rich --cov-branch --cov-report=term-missing:skip-covered --no-cov-on-fail --cov-fail-under=91
- coverage run --source=rich --branch -m pytest src/tests -vv --color=yes --tb=long
- coverage report --show-missing --skip-covered --fail-under=91
requires:
- attrs
- pip
Expand Down

0 comments on commit 0fcb7c2

Please sign in to comment.