Skip to content

Commit 6b350c9

Browse files
authored
Merge pull request #28 from Textualize/fix-textual-command-not-working
Fix `textual` CLI not working, drop Python 3.7.
2 parents 845e9e0 + a818e82 commit 6b350c9

File tree

6 files changed

+602
-996
lines changed

6 files changed

+602
-996
lines changed

poetry.lock

Lines changed: 596 additions & 990 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "textual-dev"
3-
version = "1.2.1"
3+
version = "1.3.0"
44
homepage = "https://github.com/Textualize/textual-dev"
55
description = "Development tools for working with Textual"
66
authors = ["Will McGugan <will@textualize.io>", "Dave Pearson <dave@textualize.io>"]
@@ -27,7 +27,7 @@ include = [
2727
]
2828

2929
[tool.poetry.dependencies]
30-
python = "^3.7"
30+
python = "^3.8"
3131
textual = ">=0.36.0"
3232
aiohttp = ">=3.8.1"
3333
click = ">=8.1.2"

src/textual_dev/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import shlex
55

66
import click
7-
from importlib_metadata import version
7+
from importlib.metadata import version
88
from textual.constants import DEVTOOLS_HOST, DEVTOOLS_PORT
99

1010
from .tools.run import exec_command, run_app

src/textual_dev/renderables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from pathlib import Path
55
from typing import Iterable
66

7-
from importlib_metadata import version
7+
from importlib.metadata import version
88
from rich.align import Align
99
from rich.console import Console, ConsoleOptions, RenderResult
1010
from rich.markup import escape

src/textual_dev/tools/diagnose.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from functools import singledispatch
99
from typing import Any
1010

11-
from importlib_metadata import version
11+
from importlib.metadata import version
1212
from rich.console import Console, ConsoleDimensions
1313

1414

tests/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from click.testing import CliRunner
2-
from importlib_metadata import version
2+
from importlib.metadata import version
33

44
from textual_dev.cli import run
55

0 commit comments

Comments
 (0)