Pin to Textual v0.4.0 (#157)

pull/158/head v0.4.1
Josh Karpel 2 years ago committed by GitHub
parent c32ddadf9a
commit 088e419d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,5 +1,11 @@
# Changelog
## 0.4.1
### Fixed
- [#157](https://github.com/JoshKarpel/spiel/pull/157) Pinned to Textual v0.4.0 to work around https://github.com/Textualize/textual/issues/1274
## 0.4.0
### Changed

@ -22,6 +22,9 @@ Alternatively, install Spiel (`pip install spiel`) and run this command to view
$ spiel demo present
```
![The first slide of the demo deck](./screenshots/demo.svg)
![The demo deck in "deck view"](./screenshots/deck.svg)
## Sandboxed Execution via Containers
Spiel presentations are live Python code: they can do anything that Python can do.

18
poetry.lock generated

@ -175,7 +175,7 @@ python-versions = ">=3.7"
[[package]]
name = "hypothesis"
version = "6.58.0"
version = "6.58.1"
description = "A library for property-based testing"
category = "dev"
optional = false
@ -187,14 +187,14 @@ exceptiongroup = {version = ">=1.0.0", markers = "python_version < \"3.11\""}
sortedcontainers = ">=2.1.0,<3.0.0"
[package.extras]
all = ["backports.zoneinfo (>=0.2.1)", "black (>=19.10b0)", "click (>=7.0)", "django (>=3.2)", "dpcontracts (>=0.4)", "importlib-metadata (>=3.6)", "lark-parser (>=0.6.5)", "libcst (>=0.3.16)", "numpy (>=1.9.0)", "pandas (>=1.0)", "pytest (>=4.6)", "python-dateutil (>=1.4)", "pytz (>=2014.1)", "redis (>=3.0.0)", "rich (>=9.0.0)", "tzdata (>=2022.6)"]
all = ["backports.zoneinfo (>=0.2.1)", "black (>=19.10b0)", "click (>=7.0)", "django (>=3.2)", "dpcontracts (>=0.4)", "importlib-metadata (>=3.6)", "lark (>=0.10.1)", "libcst (>=0.3.16)", "numpy (>=1.9.0)", "pandas (>=1.0)", "pytest (>=4.6)", "python-dateutil (>=1.4)", "pytz (>=2014.1)", "redis (>=3.0.0)", "rich (>=9.0.0)", "tzdata (>=2022.6)"]
cli = ["black (>=19.10b0)", "click (>=7.0)", "rich (>=9.0.0)"]
codemods = ["libcst (>=0.3.16)"]
dateutil = ["python-dateutil (>=1.4)"]
django = ["django (>=3.2)"]
dpcontracts = ["dpcontracts (>=0.4)"]
ghostwriter = ["black (>=19.10b0)"]
lark = ["lark-parser (>=0.6.5)"]
lark = ["lark (>=0.10.1)"]
numpy = ["numpy (>=1.9.0)"]
pandas = ["pandas (>=1.0)"]
pytest = ["pytest (>=4.6)"]
@ -472,7 +472,7 @@ python-versions = "*"
[[package]]
name = "textual"
version = "0.5.0"
version = "0.4.0"
description = "Modern Text User Interface framework"
category = "main"
optional = false
@ -571,7 +571,7 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools"
[metadata]
lock-version = "1.1"
python-versions = ">=3.10,<4"
content-hash = "1098c2e53711d1e14b975cd6c1ef815dcf73df262db73db21e4b9ffc92dff075"
content-hash = "e0e24c4c6bd7b1bbb57037ad3c2e432531f418b9a083b55a88f78263ec5a2b9e"
[metadata.files]
aiohttp = [
@ -839,8 +839,8 @@ frozenlist = [
{file = "frozenlist-1.3.3.tar.gz", hash = "sha256:58bcc55721e8a90b88332d6cd441261ebb22342e238296bb330968952fbb3a6a"},
]
hypothesis = [
{file = "hypothesis-6.58.0-py3-none-any.whl", hash = "sha256:c2ffa10c94ff1a4a12f4ff515d78a4a3060a7c5b9968331d7b2707576a29570d"},
{file = "hypothesis-6.58.0.tar.gz", hash = "sha256:89d9aa676dac7275755371d42d65fc81366ff0e0289ab525aa2bb3dcf7c98b9f"},
{file = "hypothesis-6.58.1-py3-none-any.whl", hash = "sha256:8738b9b38c2b2c214d965b07f29312047b970541d848cb97d2a58f79fd61fbe6"},
{file = "hypothesis-6.58.1.tar.gz", hash = "sha256:b5747497b2b352335e4dc51f1b113cfc90c49ffd174f2036f173edf8799e123a"},
]
idna = [
{file = "idna-3.4-py3-none-any.whl", hash = "sha256:90b77e79eaa3eba6de819a0c442c0b4ceefc341a7a2ab77d7562bf49f425c5c2"},
@ -1124,8 +1124,8 @@ sortedcontainers = [
{file = "sortedcontainers-2.4.0.tar.gz", hash = "sha256:25caa5a06cc30b6b83d11423433f65d1f9d76c4c6a0c90e3379eaa43b9bfdb88"},
]
textual = [
{file = "textual-0.5.0-py3-none-any.whl", hash = "sha256:d1925f9f019858beaabda8a87cb87fb57cbbf321e948fc3b28d7085e83c8f5ab"},
{file = "textual-0.5.0.tar.gz", hash = "sha256:516bf4db05830e70f9806828610a1a00de08068d984d329dbecc8dbef5d71ab7"},
{file = "textual-0.4.0-py3-none-any.whl", hash = "sha256:10aac2d244ef4a5aef89a38f9088382a5ce6914cec953d40a9527d729c300f53"},
{file = "textual-0.4.0.tar.gz", hash = "sha256:53c836c978a8d8460efc4f097fc4748a3d68060b4c77d8fa80fdf6cca9a8198c"},
]
tomli = [
{file = "tomli-2.0.1-py3-none-any.whl", hash = "sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc"},

@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "spiel"
version = "0.4.0"
version = "0.4.1"
description = "A framework for building and presenting richly-styled presentations in your terminal using Python."
readme="README.md"
homepage="https://github.com/JoshKarpel/spiel"
@ -27,7 +27,7 @@ python = ">=3.10,<4"
rich = ">=12"
typer = ">=0.6"
Pillow = ">=8"
textual = ">=0.5"
textual = "==0.4.0"
watchfiles = ">=0.18"
[tool.poetry.group.dev.dependencies]
@ -39,7 +39,7 @@ mypy = ">=0.982"
pytest-mypy = ">=0.10"
pytest-mock = ">=3"
hypothesis = ">=6"
textual = {extras = ["dev"], version = ">=0.5"}
textual = {extras = ["dev"], version = "==0.4.0"}
[tool.poetry.scripts]
spiel = 'spiel.cli:cli'

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 99 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 30 KiB

@ -65,6 +65,7 @@ class SpielApp(App[None]):
Binding("d", "switch_screen('deck')", "Go to the Deck view."),
Binding("question_mark", "push_screen('help')", "Go to the Help view."),
Binding("i", "repl", "Switch to the REPL."),
Binding("p", "screenshot", "Take a screenshot."),
]
SCREENS = {"slide": SlideScreen(), "deck": DeckScreen(), "help": HelpScreen()}

Loading…
Cancel
Save