From e17f1996b50a9c20f0b31cfa65db891241e75a3f Mon Sep 17 00:00:00 2001 From: nbro Date: Wed, 4 Nov 2026 05:22:50 +0100 Subject: [PATCH 1/4] Find the Tktable of pytktable-binaries automatically --- CHANGELOG.md | 5 +++++ docs/installation/index.md | 5 +++++ pyproject.toml | 5 +++++ tests/conftest.py | 3 ++- tests/test_utils.py | 44 ++++++++++++++++++++++++++++++++++++++ tktable/utils.py | 20 ++++++++++++++++- 6 files changed, 80 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fcbecd7..300a83e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ and the project uses [Semantic Versioning](https://semver.org/). ## [Unreleased] +### Added + +- If [pytktable-binaries](https://github.com/nbro/pytktable-binaries) is installed, its prebuilt + Tktable is found automatically, without installing Tktable or setting `TKTABLE_LIBRARY`. + ## [0.2.0] - 2026-11-04 ### Added diff --git a/docs/installation/index.md b/docs/installation/index.md index 21646df..38d40bd 100644 --- a/docs/installation/index.md +++ b/docs/installation/index.md @@ -44,6 +44,11 @@ If Tktable is installed in a directory Tcl does not search, set the environment `TKTABLE_LIBRARY` to the directory containing Tktable's `pkgIndex.tcl`. That directory is named after Tktable's version, e.g. `Tktable2.10` for Tktable 2.10. See your OS page for how to set it. +## Prebuilt Tktable + +If the package [pytktable-binaries](https://github.com/nbro/pytktable-binaries) is installed, +pytktable also finds the Tktable it contains, so you don't need to install Tktable yourself. + ## Troubleshooting `_tkinter.TclError: can't find package Tktable` or `invalid command name "table"` diff --git a/pyproject.toml b/pyproject.toml index 1bdde3b..d2ad3ba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -93,6 +93,11 @@ warn_return_any = false warn_unused_ignores = true warn_redundant_casts = true +# pytktable-binaries is optional, so it may not be installed. +[[tool.mypy.overrides]] +module = ["tktable_binaries"] +ignore_missing_imports = true + [tool.pylint.main] py-version = "3.11" diff --git a/tests/conftest.py b/tests/conftest.py index 1f5895e..d0267a8 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -46,7 +46,8 @@ def session_tktable_error(session_root: tkinter.Tk | str) -> str: load_tktable(session_root) except tkinter.TclError as exc: auto_path = session_root.tk.splitlist(session_root.tk.call("set", "auto_path")) - return f"{exc} (TKTABLE_LIBRARY={os.environ.get('TKTABLE_LIBRARY')}, auto_path={auto_path})" + folders = ", ".join(str(folder) for folder in auto_path) + return f"{exc} (TKTABLE_LIBRARY={os.environ.get('TKTABLE_LIBRARY')}, auto_path: {folders})" return "" diff --git a/tests/test_utils.py b/tests/test_utils.py index 5081011..4391a32 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -1,7 +1,10 @@ # pylint: disable=missing-module-docstring, missing-function-docstring, missing-class-docstring, too-few-public-methods from __future__ import annotations +import sys import tkinter +import types +from pathlib import Path import pytest @@ -36,6 +39,12 @@ def __init__(self, versions: tuple[str, ...] = ()) -> None: self.tk = FakeTk(versions) +@pytest.fixture(autouse=True) +def without_bundled_tktable(monkeypatch): + """Run these tests as if pytktable-binaries were not installed, unless a test says otherwise.""" + monkeypatch.setattr(utils, "_bundled_library", lambda: None) + + def test_extend_auto_path_with_env(monkeypatch): monkeypatch.setenv(utils.TKTABLE_LIBRARY_ENV_VAR, "/opt/Tktable2.10") interp = FakeInterp() @@ -50,6 +59,41 @@ def test_extend_auto_path_without_env(monkeypatch): assert not interp.tk.calls +def test_extend_auto_path_with_bundled_tktable(monkeypatch): + monkeypatch.delenv(utils.TKTABLE_LIBRARY_ENV_VAR, raising=False) + monkeypatch.setattr(utils, "_bundled_library", lambda: "/site-packages/tktable_binaries") + interp = FakeInterp() + utils.extend_auto_path(interp) # type: ignore[arg-type] + assert interp.tk.calls == [("lappend", "auto_path", "/site-packages/tktable_binaries")] + + +def test_extend_auto_path_with_env_and_bundled_tktable(monkeypatch): + monkeypatch.setenv(utils.TKTABLE_LIBRARY_ENV_VAR, "/opt/Tktable2.10") + monkeypatch.setattr(utils, "_bundled_library", lambda: "/site-packages/tktable_binaries") + interp = FakeInterp() + utils.extend_auto_path(interp) # type: ignore[arg-type] + assert interp.tk.calls == [ + ("lappend", "auto_path", "/opt/Tktable2.10"), + ("lappend", "auto_path", "/site-packages/tktable_binaries"), + ] + + +def test_bundled_library_without_pytktable_binaries(monkeypatch): + monkeypatch.undo() + # None in sys.modules makes "import tktable_binaries" raise ImportError. + monkeypatch.setitem(sys.modules, "tktable_binaries", None) + assert utils._bundled_library() is None # pylint: disable=protected-access + + +def test_bundled_library_with_pytktable_binaries(monkeypatch): + monkeypatch.undo() + fake = types.ModuleType("tktable_binaries") + fake.library_dir = lambda: Path("/site-packages/tktable_binaries") # type: ignore[attr-defined] + monkeypatch.setitem(sys.modules, "tktable_binaries", fake) + expected = str(Path("/site-packages/tktable_binaries")) + assert utils._bundled_library() == expected # pylint: disable=protected-access + + def test_find_tktable_scans_without_loading(monkeypatch): monkeypatch.delenv(utils.TKTABLE_LIBRARY_ENV_VAR, raising=False) interp = FakeInterp(versions=("2.10", "2.11")) diff --git a/tktable/utils.py b/tktable/utils.py index ee72a92..b0b9b98 100644 --- a/tktable/utils.py +++ b/tktable/utils.py @@ -23,8 +23,21 @@ def _setup_master(master: tkinter.Misc | None) -> tkinter.Misc: return master +def _bundled_library() -> str | None: + """The folder of the Tktable of pytktable-binaries, if that package is installed.""" + try: + # pylint: disable-next=import-outside-toplevel + import tktable_binaries + except ImportError: + return None + return str(tktable_binaries.library_dir()) + + def extend_auto_path(interp: tkinter.Misc) -> None: - """Append ``$TKTABLE_LIBRARY`` (if set) to Tcl's ``auto_path`` of ``interp``.""" + """Append to Tcl's ``auto_path`` of ``interp`` the folders where Tktable may be. + + These are ``$TKTABLE_LIBRARY`` (if set), and the Tktable of pytktable-binaries (if installed). + """ library = os.environ.get(TKTABLE_LIBRARY_ENV_VAR) if library: logger.debug("Add %s to auto_path", library) @@ -32,6 +45,11 @@ def extend_auto_path(interp: tkinter.Misc) -> None: else: logger.debug("The environment variable %s is not defined.", TKTABLE_LIBRARY_ENV_VAR) + bundled = _bundled_library() + if bundled: + logger.debug("Add the Tktable of pytktable-binaries, %s, to auto_path", bundled) + interp.tk.call("lappend", "auto_path", bundled) + def find_tktable(interp: tkinter.Misc) -> list[str]: """Return the versions of Tktable that Tcl can find, without loading it. From b96b3627e039523fef59222397b6c89c30d263ba Mon Sep 17 00:00:00 2001 From: nbro Date: Wed, 4 Nov 2026 07:14:44 +0100 Subject: [PATCH 2/4] Retry loading Tktable in tests on Windows CI glitches --- tests/conftest.py | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index d0267a8..9526bf5 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2,6 +2,7 @@ from __future__ import annotations import os +import time from collections.abc import Iterator import pytest @@ -16,6 +17,14 @@ #: Set to 1 (e.g. in CI) to fail, instead of skip, the tests that need Tktable. TKTABLE_REQUIRED = os.environ.get("TKTABLE_REQUIRED") == "1" +#: How many times to try to load Tktable, and how many seconds to wait between tries. +#: On GitHub's Windows runners, Tcl sometimes finds Tktable's pkgIndex.tcl but then can't read it +#: ("couldn't read file ... no such file or directory"), right after Tktable was installed: most +#: likely the antivirus is still scanning the new files. A later try reads it. Only with +#: TKTABLE_REQUIRED=1, so a run without Tktable isn't slowed down. +TKTABLE_LOAD_TRIES = 3 if TKTABLE_REQUIRED else 1 +TKTABLE_LOAD_RETRY_SECONDS = 2 + @pytest.fixture(scope="session") def session_root() -> Iterator[tkinter.Tk | str]: @@ -42,13 +51,22 @@ def session_tktable_error(session_root: tkinter.Tk | str) -> str: """ if isinstance(session_root, str): return session_root - try: - load_tktable(session_root) - except tkinter.TclError as exc: - auto_path = session_root.tk.splitlist(session_root.tk.call("set", "auto_path")) - folders = ", ".join(str(folder) for folder in auto_path) - return f"{exc} (TKTABLE_LIBRARY={os.environ.get('TKTABLE_LIBRARY')}, auto_path: {folders})" - return "" + + error = "" + for tries in range(1, TKTABLE_LOAD_TRIES + 1): + try: + load_tktable(session_root) + return "" + except tkinter.TclError as exc: + error = str(exc) + if tries < TKTABLE_LOAD_TRIES: + time.sleep(TKTABLE_LOAD_RETRY_SECONDS) + + auto_path = session_root.tk.splitlist(session_root.tk.call("set", "auto_path")) + folders = ", ".join(str(folder) for folder in auto_path) + library = os.environ.get("TKTABLE_LIBRARY") + details = f"tried {TKTABLE_LOAD_TRIES} times; TKTABLE_LIBRARY={library}; auto_path: {folders}" + return f"{error} ({details})" @pytest.fixture From dfb96720a30d3b16fdb73a5fec18bed880ed0d8b Mon Sep 17 00:00:00 2001 From: nbro Date: Wed, 4 Nov 2026 07:29:20 +0100 Subject: [PATCH 3/4] Add the binary extra and recommend it in the docs --- CHANGELOG.md | 5 ++- README.md | 20 +++++++--- docs/index.md | 7 ++-- docs/installation/index.md | 67 +++++++++++++++++++++++--------- docs/installation/linux-macos.md | 3 ++ docs/installation/windows.md | 3 ++ poetry.lock | 24 +++++++++++- pyproject.toml | 4 ++ 8 files changed, 103 insertions(+), 30 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 300a83e..c312151 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,9 @@ and the project uses [Semantic Versioning](https://semver.org/). ### Added -- If [pytktable-binaries](https://github.com/nbro/pytktable-binaries) is installed, its prebuilt - Tktable is found automatically, without installing Tktable or setting `TKTABLE_LIBRARY`. +- `pip install "pytktable[binary]"` also installs Tktable, prebuilt for Linux, macOS and Windows + ([pytktable-binaries](https://github.com/nbro/pytktable-binaries)). pytktable finds it + automatically, without installing Tktable or setting `TKTABLE_LIBRARY`. ## [0.2.0] - 2026-11-04 diff --git a/README.md b/README.md index 0ad8d05..9a0fcc1 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,9 @@ A spreadsheet-like table widget for tkinter, wrapping the Tcl/Tk > ⚠️ **Important:** pytktable is only the Python wrapper. The table widget itself is > [Tktable](https://wiki.tcl-lang.org/page/Tktable), an extension for Tcl/Tk written in C, which -> `pip install pytktable` does not install. Install Tktable first, following the -> [installation instructions](https://nbro.github.io/tktable/installation/) for your OS, then run +> `pip install pytktable` does not install. Install it with pytktable, prebuilt for Linux, macOS +> and Windows, with `pip install "pytktable[binary]"`, or install it yourself following the +> [installation instructions](https://nbro.github.io/tktable/installation/) for your OS. Then run > `python -m tktable` to check that it works. The wrapper was originally written by [Guilherme Polo](https://github.com/gpip). @@ -38,13 +39,22 @@ System, from NASA's Planetary Fact Sheet (screenshot taken on Windows 11). ## Installation +With Tktable, prebuilt for Linux, macOS and Windows +([pytktable-binaries](https://github.com/nbro/pytktable-binaries)): + +```sh +pip install "pytktable[binary]" +``` + +Without Tktable, if you install it yourself (see +[Installation](https://nbro.github.io/tktable/installation/)): + ```sh pip install pytktable ``` -It is imported as `tktable` (`from tktable import Table`). It also needs the Tktable extension, -which `pip` does not install: see [Installation](https://nbro.github.io/tktable/installation/) -for how to install it on your OS, and run `python -m tktable` to check that it works. +It is imported as `tktable` (`from tktable import Table`). Run `python -m tktable` to check that +Tktable can be found and loaded. ## Documentation diff --git a/docs/index.md b/docs/index.md index 5625340..6bba12a 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,13 +3,14 @@ A spreadsheet-like table widget for {py:mod}`tkinter`, wrapping the Tcl/Tk [Tktable](https://wiki.tcl-lang.org/page/Tktable) extension. -```{admonition} Install Tktable separately +```{admonition} Install Tktable :class: danger pytktable is only the Python wrapper. The table widget itself is [Tktable](https://wiki.tcl-lang.org/page/Tktable), an extension for Tcl/Tk written in C, which -`pip install pytktable` does not install. Install Tktable first, following the -[installation instructions](installation/index.md) for your OS, then run `python -m tktable` to +`pip install pytktable` does not install. Install it with pytktable, prebuilt for Linux, macOS and +Windows, with `pip install "pytktable[binary]"`, or install it yourself following the +[installation instructions](installation/index.md) for your OS. Then run `python -m tktable` to check that it works. ``` diff --git a/docs/installation/index.md b/docs/installation/index.md index 38d40bd..a95154a 100644 --- a/docs/installation/index.md +++ b/docs/installation/index.md @@ -1,26 +1,57 @@ # Installation -Install the package with `pip`: +pytktable requires Python >= 3.11 with {py:mod}`tkinter`, Python's interface to Tcl/Tk. + +(prebuilt-tktable)= +## With prebuilt Tktable (recommended) ```sh -pip install pytktable +pip install "pytktable[binary]" +``` + +This also installs [pytktable-binaries](https://github.com/nbro/pytktable-binaries), which contains +[Tktable](https://wiki.tcl-lang.org/page/Tktable), the Tcl/Tk extension that provides the table +widget, compiled for Tcl/Tk 8.6 and 9.0 for: + +- Linux: x86_64 and ARM (aarch64), with glibc (most distributions) or musl (e.g. Alpine); +- macOS 11 and later: Intel and Apple silicon; +- Windows: x64, x86 and ARM. + +pytktable finds it automatically, so you don't need to install Tktable or set `TKTABLE_LIBRARY`. +You only need tkinter, which the python.org installers for Windows and macOS include. On Linux, +install your distribution's tkinter package, e.g.: + +```sh +sudo apt install python3-tk +``` + +on Debian and Ubuntu, or: + +```sh +sudo dnf install python3-tkinter ``` -It requires Python >= 3.11. +on Fedora. Tktable also needs the X11 library (`libX11`), which every desktop Linux has. + +(without-prebuilt-tktable)= +## Without prebuilt Tktable + +Install only the Python wrapper, and Tktable yourself, if: -```{admonition} Install Tktable separately -:class: danger +- your platform is not in the list above (e.g. 32-bit ARM Linux, FreeBSD); +- you prefer the Tktable of your OS's package manager; +- the prebuilt Tktable doesn't work for you (please + [report it](https://github.com/nbro/pytktable-binaries/issues)). -`pip install pytktable` is not enough: it installs only the Python wrapper, not Tktable, the -Tcl/Tk extension that provides the widget. Install Tktable as below. +```sh +pip install pytktable ``` -This package is pure Python, but it also needs these, which `pip` does not install: +Then install these, which `pip install pytktable` does not install: -1. [Tcl](https://www.tcl-lang.org/) and [Tk](https://wiki.tcl-lang.org/page/Tk); -2. {py:mod}`tkinter`, Python's interface to Tk; -3. [Tktable](https://wiki.tcl-lang.org/page/Tktable), the Tk extension that provides the table - widget. It usually does not come with Tk. +1. [Tcl](https://www.tcl-lang.org/) and [Tk](https://wiki.tcl-lang.org/page/Tk), and + {py:mod}`tkinter`; +2. [Tktable](https://wiki.tcl-lang.org/page/Tktable). It usually does not come with Tk. How to install them depends on your OS: @@ -44,19 +75,17 @@ If Tktable is installed in a directory Tcl does not search, set the environment `TKTABLE_LIBRARY` to the directory containing Tktable's `pkgIndex.tcl`. That directory is named after Tktable's version, e.g. `Tktable2.10` for Tktable 2.10. See your OS page for how to set it. -## Prebuilt Tktable - -If the package [pytktable-binaries](https://github.com/nbro/pytktable-binaries) is installed, -pytktable also finds the Tktable it contains, so you don't need to install Tktable yourself. - ## Troubleshooting `_tkinter.TclError: can't find package Tktable` or `invalid command name "table"` -: Tcl cannot find Tktable. Install it, or set [`TKTABLE_LIBRARY`](#tktable-library). +: Tcl cannot find Tktable. Install pytktable with [prebuilt Tktable](#prebuilt-tktable), or + [install Tktable](#without-prebuilt-tktable) and, if needed, set + [`TKTABLE_LIBRARY`](#tktable-library). {py:class}`~tktable.table.Table` raises {py:class}`~tktable.table.CannotUseError` in this case. `ModuleNotFoundError: No module named 'tkinter'` -: tkinter is not installed for your Python. See your OS page. +: tkinter is not installed for your Python. On Linux, install your distribution's tkinter + package ([see above](#prebuilt-tktable)). Tktable is found but fails to load : It was probably built for a different Tcl/Tk version than the one your Python uses (e.g. Tcl 8.6 diff --git a/docs/installation/linux-macos.md b/docs/installation/linux-macos.md index f93849e..f393221 100644 --- a/docs/installation/linux-macos.md +++ b/docs/installation/linux-macos.md @@ -1,5 +1,8 @@ # Installation on Linux and macOS +These instructions are for installing Tktable yourself, with `pip install pytktable`. With +`pip install "pytktable[binary]"`, you don't need them: see {ref}`prebuilt-tktable`. + ## Install tkinter and Tktable On Debian and Ubuntu: diff --git a/docs/installation/windows.md b/docs/installation/windows.md index 22a809e..843d1d7 100644 --- a/docs/installation/windows.md +++ b/docs/installation/windows.md @@ -1,5 +1,8 @@ # Installation on Windows +These instructions are for installing Tktable yourself, with `pip install pytktable`. With +`pip install "pytktable[binary]"`, you don't need them: see {ref}`prebuilt-tktable`. + The python.org installers for Windows include tkinter, Tcl and Tk: Tcl 8.6 up to Python 3.13, and Tcl 9.0 from Python 3.14. diff --git a/poetry.lock b/poetry.lock index 2612ff5..154eb99 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1454,6 +1454,25 @@ files = [ [package.dependencies] filelock = ">=3.16.1" +[[package]] +name = "pytktable-binaries" +version = "2.12.2" +description = "Prebuilt Tktable, the Tcl/Tk table widget, for pytktable." +optional = true +python-versions = ">=3.11" +groups = ["main"] +markers = "extra == \"binary\"" +files = [ + {file = "pytktable_binaries-2.12.2-py3-none-macosx_11_0_universal2.whl", hash = "sha256:decce970dd08e607d002928ab0c2d65e0cc25c4c871bed01d0e3008f3a9912e8"}, + {file = "pytktable_binaries-2.12.2-py3-none-manylinux_2_28_aarch64.whl", hash = "sha256:95ff932743c8692233601ca25b4c8658652c31f3f6790c43a446e667d69f818e"}, + {file = "pytktable_binaries-2.12.2-py3-none-manylinux_2_28_x86_64.whl", hash = "sha256:30096e5f33fab78739807a011f988504b8b0bffc846ce00af4a51871386e7273"}, + {file = "pytktable_binaries-2.12.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:e2df90f76926d17fdd9ac8da0ced7fce88c85cfc3781887e258a6c2a8e97ab4b"}, + {file = "pytktable_binaries-2.12.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:85b2179c5a2cc5a5fa3e5b870ea1050b86dcaf97dd5c9e0b2e60e9f2165bbca6"}, + {file = "pytktable_binaries-2.12.2-py3-none-win32.whl", hash = "sha256:460554c633687cefd93aeb5e578e8775100c74b8309f78dc9ab7adcf5612918e"}, + {file = "pytktable_binaries-2.12.2-py3-none-win_amd64.whl", hash = "sha256:49cc0575fdb9e645d4fd6681ae0506a78ae25a85a640ce14806a5963d9127c24"}, + {file = "pytktable_binaries-2.12.2-py3-none-win_arm64.whl", hash = "sha256:50bac05eb5869eb74329b7fc0e57678a4df15e330d7eaae21a856815957014b4"}, +] + [[package]] name = "pytokens" version = "0.4.1" @@ -1900,7 +1919,10 @@ packaging = ">=26.3" platformdirs = ">=4.4,<5" python-discovery = ">=1.6.1" +[extras] +binary = ["pytktable-binaries"] + [metadata] lock-version = "2.1" python-versions = ">=3.11" -content-hash = "e1b7f55e61592c23079a60f6b4350e459dbb5dc45e35d98ea8de326deb8f6f49" +content-hash = "cb78452250e5e7956ffb51fabed59357a15734f87080c806bf8d4341da64c0d9" diff --git a/pyproject.toml b/pyproject.toml index d2ad3ba..df03bd1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,6 +40,10 @@ classifiers = [ ] dependencies = [] +[project.optional-dependencies] +# Prebuilt Tktable for Linux, macOS and Windows: pip install "pytktable[binary]". +binary = ["pytktable-binaries>=2.12.2"] + [project.urls] documentation = "https://nbro.github.io/tktable/" repository = "https://github.com/nbro/tktable" From 5c8672d3c6af90b262df0a0045ef64b4d5322f53 Mon Sep 17 00:00:00 2001 From: nbro Date: Wed, 4 Nov 2026 07:34:58 +0100 Subject: [PATCH 4/4] Release 0.3.0 with the binary extra --- CHANGELOG.md | 10 +++++++++- pyproject.toml | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c312151..dfca8b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,12 +6,19 @@ and the project uses [Semantic Versioning](https://semver.org/). ## [Unreleased] +## [0.3.0] - 2026-11-04 + ### Added - `pip install "pytktable[binary]"` also installs Tktable, prebuilt for Linux, macOS and Windows ([pytktable-binaries](https://github.com/nbro/pytktable-binaries)). pytktable finds it automatically, without installing Tktable or setting `TKTABLE_LIBRARY`. +### Changed + +- The installation docs recommend `pip install "pytktable[binary]"`, and keep the instructions to + install Tktable yourself for platforms without prebuilt Tktable, or if you prefer your OS's. + ## [0.2.0] - 2026-11-04 ### Added @@ -104,6 +111,7 @@ First release on PyPI. These changes were made with the help of - `tktable/__init__.py` imports `ArrayVar` and `Table` lazily, so the diagnostic works without tkinter (explained in the module docstring). -[Unreleased]: https://github.com/nbro/tktable/compare/0.2.0...HEAD +[Unreleased]: https://github.com/nbro/tktable/compare/0.3.0...HEAD +[0.3.0]: https://github.com/nbro/tktable/compare/0.2.0...0.3.0 [0.2.0]: https://github.com/nbro/tktable/compare/0.1.0...0.2.0 [0.1.0]: https://github.com/nbro/tktable/releases/tag/0.1.0 diff --git a/pyproject.toml b/pyproject.toml index df03bd1..c29c751 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ [project] name = "pytktable" -version = "0.2.0" +version = "0.3.0" description = "A spreadsheet-like table widget for tkinter, wrapping the Tcl/Tk Tktable extension." readme = "README.md" requires-python = ">=3.11"