Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Textualize/rich
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v13.4.0
Choose a base ref
...
head repository: Textualize/rich
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v13.4.1
Choose a head ref
  • 5 commits
  • 3 files changed
  • 1 contributor

Commits on May 31, 2023

  1. changelog

    willmcgugan committed May 31, 2023
    Copy the full SHA
    cf13882 View commit details
  2. Copy the full SHA
    1176f81 View commit details
  3. changelog

    willmcgugan committed May 31, 2023
    Copy the full SHA
    cce649c View commit details
  4. remove import

    willmcgugan committed May 31, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    032481c View commit details
  5. Merge pull request #2980 from Textualize/typing-ext-fix

    Test typing extensions fix
    willmcgugan authored May 31, 2023
    Copy the full SHA
    b9c9eb5 View commit details
Showing with 15 additions and 3 deletions.
  1. +8 −0 CHANGELOG.md
  2. +1 −1 pyproject.toml
  3. +6 −2 rich/markdown.py
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [13.4.1] - 2023-06-31

### Fixed

- Fixed typing extensions import in markdown https://github.com/Textualize/rich/issues/2979

## [13.4.0] - 2023-06-31

### Added
@@ -1948,6 +1954,8 @@ Major version bump for a breaking change to `Text.stylize signature`, which corr

- First official release, API still to be stabilized

[13.4.1]: https://github.com/textualize/rich/compare/v13.4.0...v13.4.1
[13.4.0]: https://github.com/textualize/rich/compare/v13.3.5...v13.4.0
[13.3.5]: https://github.com/textualize/rich/compare/v13.3.4...v13.3.5
[13.3.4]: https://github.com/textualize/rich/compare/v13.3.3...v13.3.4
[13.3.3]: https://github.com/textualize/rich/compare/v13.3.2...v13.3.3
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
name = "rich"
homepage = "https://github.com/Textualize/rich"
documentation = "https://rich.readthedocs.io/en/latest/"
version = "13.4.0"
version = "13.4.1"
description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal"
authors = ["Will McGugan <willmcgugan@gmail.com>"]
license = "MIT"
8 changes: 6 additions & 2 deletions rich/markdown.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
from __future__ import annotations

import sys
from typing import ClassVar, Dict, Iterable, List, Optional, Type, Union

from markdown_it import MarkdownIt
from markdown_it.token import Token
from typing_extensions import get_args

if sys.version_info >= (3, 8):
from typing import get_args
else:
from typing_extensions import get_args # pragma: no cover

from rich.table import Table

@@ -701,7 +706,6 @@ def __rich_console__(


if __name__ == "__main__": # pragma: no cover

import argparse
import sys