← All tasks
pythonjupyter/nbclient #262Not a task: already works

jupyter_core version constraint is invalid

envgap__jupyter__nbclient-262

01 / FAILURE SIGNATURE

As reported upstream

When v0.7.1 is installed into a Conda environment and we try to export it to a lockfile using `mamba env export` it crashes with the error
Not a benchmark task.
  • The project already builds and runs before the fix, so there is nothing to repair.

02 / ENVIRONMENT RECIPE

Base commit
645d3bd5a8fb1e8cddc36f6cc4d5ce661a439736
Manifest
pyproject.toml
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

jupyter/nbclient #262 · read the original issue
When v0.7.1 is installed into a Conda environment and we try to export it to a lockfile using `mamba env export` it crashes with the error 



```

>> mamba env export > /lockfile/conda-lockfile.yml

InvalidVersionSpec: Invalid version '!=~5.0': invalid operator

```



This is because `pyproject.toml` has a dependency listed as `jupyter_core>=4.12,!=~5.0`. `!=~`, which is an invalid version specifier.



Valid version specifiers: https://peps.python.org/pep-0440/#version-specifiers
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]