Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
# TODO: workaround for https://github.com/snok/install-poetry/issues/94
uses: snok/install-poetry@v1.3.4
with:
version: 1.3.1
version: 2.3.4
virtualenvs-in-project: true
- name: Install dependencies
run: poetry install
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ 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).

## [Unreleased]

### Changed

- Required poetry-core 2.2+ to build https://github.com/Textualize/rich/pull/4087

### Fixed

- Replaced the deprecated `License` field in distribution packages with `License-Expression` https://github.com/Textualize/rich/pull/4087

## [15.0.0] - 2026-04-12

### Changed
Expand Down
7 changes: 4 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

48 changes: 26 additions & 22 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
[tool.poetry]
[project]
name = "rich"
homepage = "https://github.com/Textualize/rich"
documentation = "https://rich.readthedocs.io/en/latest/"
version = "15.0.0"
description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal"
authors = ["Will McGugan <willmcgugan@gmail.com>"]
authors = [{name = "Will McGugan", email = "willmcgugan@gmail.com"}]
license = "MIT"
readme = "README.md"
classifiers = [
Expand All @@ -15,6 +13,7 @@ classifiers = [
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand All @@ -23,29 +22,34 @@ classifiers = [
"Programming Language :: Python :: 3.14",
"Typing :: Typed",
]
include = ["rich/py.typed"]

requires-python = ">=3.9.0"
dependencies = [
"pygments>=2.13.0,<3.0.0",
"markdown-it-py>=2.2.0",
]

[tool.poetry.dependencies]
python = ">=3.9.0"
pygments = "^2.13.0"
ipywidgets = { version = ">=7.5.1,<9", optional = true }
markdown-it-py = ">=2.2.0"
[project.optional-dependencies]
jupyter = [
"ipywidgets>=7.5.1,<9",
]

[tool.poetry.extras]
jupyter = ["ipywidgets"]
[project.urls]
homepage = "https://github.com/Textualize/rich"
documentation = "https://rich.readthedocs.io/en/latest/"

[tool.poetry.dev-dependencies]
pytest = "^7.0.0"
black = "^22.6"
mypy = "^1.11"
pytest-cov = "^3.0.0"
attrs = "^21.4.0"
pre-commit = "^2.17.0"
typing-extensions = ">=4.0.0, <5.0"
[dependency-groups]
dev = [
"pytest~=7.0",
"black~=22.6",
"mypy~=1.11",
"pytest-cov~=3.0",
"attrs~=21.4",
"pre-commit~=2.17",
"typing-extensions~=4.0",
]

[build-system]
requires = ["poetry-core>=1.0.0"]
requires = ["poetry-core>=2.2.0"]
build-backend = "poetry.core.masonry.api"


Expand Down