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

update to 0.2.2 #2

Merged
merged 2 commits into from
Nov 16, 2023
Merged

update to 0.2.2 #2

merged 2 commits into from
Nov 16, 2023

Conversation

cbouss
Copy link

@cbouss cbouss commented Nov 14, 2023

@anaconda-pkg-build
Copy link

Linter check found the following problems: The following problems have been found:

WARNING: clone/recipe/meta.yaml:21: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
ERROR: clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
Errors were found

recipe/meta.yaml Outdated Show resolved Hide resolved
run:
- python
- pygments >=2.4.1,<3
run_constrained:

Choose a reason for hiding this comment

The 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..?

Copy link
Author

Choose a reason for hiding this comment

The 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).
The run_constrained is required though, because this package is an extension to jupyterlab and is not compatible with version 4.

Choose a reason for hiding this comment

The 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

Copy link
Author

Choose a reason for hiding this comment

The 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.
I think jupyterlab_pygments can't run without jupyterlab, but I am not 100% sure (some other plugins run with notebook as well). It seems to be a common pattern for this plugin ecosystem to not set a dependency.

@anaconda-pkg-build
Copy link

Linter check found the following problems: The following problems have been found:

WARNING: clone/recipe/meta.yaml:21: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
ERROR: clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
Errors were found


requirements:
host:
- python
- pip
- jupyter-packaging >=0.10,<1

Choose a reason for hiding this comment

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

Suggested change
- jupyter-packaging >=0.10,<1
- jupyter-packaging >=0.10,<2

https://github.com/jupyterlab/jupyterlab_pygments/blob/0.2.2/pyproject.toml

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

@cbouss cbouss merged commit 78074e8 into master Nov 16, 2023
@cbouss cbouss deleted the PKG-2274 branch November 16, 2023 21:02
@anaconda-pkg-build
Copy link

Linter check found the following problems: The following problems have been found:

ERROR: clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
WARNING: clone/recipe/meta.yaml:21: host_section_needs_exact_pinnings: Linked libraries host should have exact version pinnings.
Errors were found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants