Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add solara and solara-assets packages #22935

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions recipes/flit-core/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{% set name = "flit-core" %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flit-core is provided by flit-feedstock multi-output recipe, which also demonstrates how solora(-assets) can be built in the same meta.yaml. All feedstocks -> packages can be seen on https://conda-forge.org/feedstock-outputs/

{% set version = "3.9.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/flit_core-{{ version }}.tar.gz
sha256: 72ad266176c4a3fcfab5f2930d76896059851240570ce9a98733b658cb786eba

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python >=3.6
- pip
run:
- python >=3.6

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

about:
home: https://github.com/pypa/flit
summary: Distribution-building parts of Flit. See flit package for more information
dev_url: https://github.com/pypa/flit
license: BSD-3-Clause
license_file: LICENSE
doc_url: https://flit.pypa.io

extra:
recipe-maintainers:
- giswqs
44 changes: 44 additions & 0 deletions recipes/solara-assets/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{% set name = "solara-assets" %}
{% set version = "1.15.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/solara_assets-{{ version }}.tar.gz
sha256: d1cce6851ada7c23eff8af0e235f571c8bba0474319249cad46cd0cde2f69190

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python >=3.7
- hatchling >=0.25
- pip
run:
- python >=3.7
- solara

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

about:
home: https://github.com/widgetti/solara
summary: Build webapps using IPywidgets
license: MIT
license_family: MIT
license_file: LICENSE
doc_url: https://solara.dev

extra:
recipe-maintainers:
- giswqs
76 changes: 76 additions & 0 deletions recipes/solara/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
{% set name = "solara" %}
{% set version = "1.15.0" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/solara-{{ version }}.tar.gz
sha256: c995a293fe7f4e26cdb83bf1902ff8891741886cbcdca38e00daddba0a49dc1d

build:
entry_points:
- solara = solara.__main__:main
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python >=3.7
- flit-core >=3.2,<4
- pip
run:
- python >=3.7
- reacton >=1.7.1
- ipywidgets
- cachetools
- filelock
- markdown
- pygments
- pymdown-extensions
- markdown-it-py
- mdit-py-plugins
- humanize
- ipyvuetify >=1.8.4
- ipyvue >=1.9.0
- numpy
- pillow
- jinja2
- markupsafe <2.1
- pydantic
- click >=7.1.0
- rich-click
- uvicorn
- watchgod
- websockets
- starlette
- nbconvert
- jupyter_server
- jupyter_client >=7.0.0
- watchdog
- requests
- nbformat
- ipykernel

test:
imports:
- solara
commands:
- pip check
- solara --help
requires:
- pip

about:
home: https://github.com/widgetti/solara
summary: Build webapps using IPywidgets
license: MIT
license_family: MIT
license_file: LICENSE
doc_url: https://solara.dev

extra:
recipe-maintainers:
- giswqs