Skip to content

Commit

Permalink
Bump textual v0.74
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Jul 26, 2024
1 parent b3f394b commit fab77b9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
13 changes: 11 additions & 2 deletions docs/install.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
Jpterm can be installed from [PyPI](https://pypi.org) using `pip` or from [conda-forge](https://conda-forge.org) using [pixi](https://pixi.sh).
Jpterm can be installed from [PyPI](https://pypi.org) using `pip` or from [conda-forge](https://conda-forge.org) using [pixi](https://pixi.sh) or [micromamba](https://mamba.readthedocs.io/en/latest/user_guide/micromamba.html).

## With `pip`

```console
pip install jpterm
```

## With `pixi` (soon!)
## With `pixi`

```console
pixi init
pixi add jpterm
```

## With `micromamba`

```console
micromamba create -n jpterm
micromamba activate jpterm
micromamba install jpterm
```
5 changes: 0 additions & 5 deletions plugins/console/txl_console/components.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import asyncio
from functools import partial
from importlib.metadata import entry_points
from typing import Any
Expand Down Expand Up @@ -44,10 +43,6 @@ async def open(self):
async def select_changed(self, event: Select.Changed) -> None:
if self.select.value == Select.BLANK:
return
while True:
await asyncio.sleep(0)
if not self.select.expanded:
break
self.select.remove()
self.main_area.set_label("Console")
kernel = self.kernelspecs["kernelspecs"][self.select.value]
Expand Down
2 changes: 1 addition & 1 deletion txl/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ classifiers = [
]
dependencies = [
"asphalt >=4.12.0,<5",
"textual[syntax] >=0.73.0,<0.74.0",
"textual[syntax] >=0.74.0,<0.75.0",
]
dynamic = ["version"]

Expand Down

0 comments on commit fab77b9

Please sign in to comment.