Skip to content

Commit

Permalink
Use multiple constraints dependency for PyYAML
Browse files Browse the repository at this point in the history
Use 5.4.1 for Python 3.8 and 3.9, and use ^6.0.1 for Python >=3.10
  • Loading branch information
PhuNH committed Oct 16, 2023
1 parent d63e55b commit ca8410b
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 3 deletions.
60 changes: 59 additions & 1 deletion poetry.lock

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

7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[tool.poetry]
name = "markdown-gettext"
version = "0.1.3"
version = "0.1.4"
description = "Markdown i18n with gettext"
authors = ["Phu Hung Nguyen <[email protected]>"]
license = "LGPL-2.1-or-later"
Expand All @@ -21,7 +21,10 @@ packages = [{include = "markdown_gettext"}]
[tool.poetry.dependencies]
python = "^3.8"
polib = "^1.2.0"
PyYAML = "^5.3"
PyYAML = [
{version = "^5.3", python = ">=3.8,<3.10"},
{version = "^6.0.1", python = ">=3.10"}
]
mdit-py-i18n = "^0.1.0"

[tool.poetry.scripts]
Expand Down

0 comments on commit ca8410b

Please sign in to comment.