-
Notifications
You must be signed in to change notification settings - Fork 0
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
update to 0.2.2 #2
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,48 @@ | ||
{% set name = "jupyterlab_pygments" %} | ||
{% set version = "0.1.2" %} | ||
{% set version = "0.2.2" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz | ||
sha256: cfcda0873626150932f438eccf0f8bf22bfa92345b814890ab360d666b254146 | ||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/jupyterlab_pygments-{{ version }}.tar.gz | ||
sha256: 7405d7fde60819d905a9fa8ce89e4cd830e318cdad22a0030f7a901da705585d | ||
|
||
build: | ||
number: 0 | ||
noarch: python | ||
script: "{{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv" | ||
script: {{ PYTHON }} -m pip install . --no-deps --no-build-isolation --ignore-installed --no-cache-dir -vv | ||
skip: True # [py<37] | ||
|
||
requirements: | ||
host: | ||
- python | ||
- pip | ||
- jupyter-packaging >=0.10,<1 | ||
run: | ||
- python | ||
- pygments >=2.4.1,<3 | ||
run_constrained: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. how come this is run_constrained? it's in the build system section of pyproject.toml, so shouldn't it be in the host section..? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As far as I can see, this is actually not needed at build time (because of using the pypi release). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. if this package is an extension to jupyterlab, wouldn't this be a run_constrained in jupyterlab, not the other way round? and jupyterlab would be a hard run requirement here? I guess jupyterlab_pygments can't run without jupyterlab There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The package is a plugin. As a plugin can be developed externally, the run_constrained in this package makes sense. |
||
- jupyterlab >=3.1,<4 | ||
|
||
test: | ||
imports: | ||
- jupyterlab_pygments | ||
commands: | ||
- pip check | ||
requires: | ||
- pip | ||
|
||
about: | ||
home: http://github.com/JupyterLab/jupyterlab_pygments | ||
home: https://github.com/JupyterLab/jupyterlab_pygments | ||
license: BSD-3-Clause | ||
license_family: BSD | ||
license_file: LICENSE | ||
summary: 'Pygments syntax coloring scheme making use of the JupyterLab CSS variables' | ||
description: | | ||
The goal is to enable the use of JupyterLab's themes with pygments-generated HTML. | ||
dev_url: https://github.com/JupyterLab/jupyterlab_pygments | ||
doc_url: https://github.com/jupyterlab/jupyterlab_pygments | ||
|
||
extra: | ||
recipe-maintainers: | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/jupyterlab/jupyterlab_pygments/blob/0.2.2/pyproject.toml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
~=0.10 (upstream) means >=0.10,<1. And the <2 upstream is redundant