Skip to content

Commit

Permalink
Merge pull request #28 from Textualize/fix-textual-command-not-working
Browse files Browse the repository at this point in the history
Fix `textual` CLI not working, drop Python 3.7.
  • Loading branch information
willmcgugan authored Dec 19, 2023
2 parents 845e9e0 + a818e82 commit 6b350c9
Show file tree
Hide file tree
Showing 6 changed files with 602 additions and 996 deletions.
1,586 changes: 596 additions & 990 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "textual-dev"
version = "1.2.1"
version = "1.3.0"
homepage = "https://github.com/Textualize/textual-dev"
description = "Development tools for working with Textual"
authors = ["Will McGugan <[email protected]>", "Dave Pearson <[email protected]>"]
Expand All @@ -27,7 +27,7 @@ include = [
]

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8"
textual = ">=0.36.0"
aiohttp = ">=3.8.1"
click = ">=8.1.2"
Expand Down
2 changes: 1 addition & 1 deletion src/textual_dev/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import shlex

import click
from importlib_metadata import version
from importlib.metadata import version
from textual.constants import DEVTOOLS_HOST, DEVTOOLS_PORT

from .tools.run import exec_command, run_app
Expand Down
2 changes: 1 addition & 1 deletion src/textual_dev/renderables.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from pathlib import Path
from typing import Iterable

from importlib_metadata import version
from importlib.metadata import version
from rich.align import Align
from rich.console import Console, ConsoleOptions, RenderResult
from rich.markup import escape
Expand Down
2 changes: 1 addition & 1 deletion src/textual_dev/tools/diagnose.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from functools import singledispatch
from typing import Any

from importlib_metadata import version
from importlib.metadata import version
from rich.console import Console, ConsoleDimensions


Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from click.testing import CliRunner
from importlib_metadata import version
from importlib.metadata import version

from textual_dev.cli import run

Expand Down

0 comments on commit 6b350c9

Please sign in to comment.