Accepting request 1172883 from devel:languages:python

- update to 3.0.1:
  * Account for the final directive option having an empty value
  * Re-allow indented directive option blocks
  * Add support for Python 3.12
  * Update docutils requirement from >=0.16,<0.21 to
    >=0.18,<0.22
  * Allow for use of the `line-block` directive
  * Emits sphinx include-read event
  * Nested parse attribution in `attr_block`
  * Directive option parsing
  * Improve directive parsing warnings
  * Allow for opening external links in new tabs (#856)
  * Replace black, isort, pyupgrade with ruff formatter
  * remove redundant mypy config
  * Add additional Ruff lints (and fix issues)
  * mypy- disallow 'any generics'
  * Fix docutils deprecation in option parsing

OBS-URL: https://build.opensuse.org/request/show/1172883
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-myst-parser?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2024-05-11 16:18:50 +00:00 committed by Git OBS Bridge
commit 563baf17cc
4 changed files with 29 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d03d257af6e7a4f336aaccd400e13537a85a0c260a58f95de51618c46b51579
size 815453

BIN
python-myst-parser-3.0.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Thu May 9 08:37:35 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.0.1:
* Account for the final directive option having an empty value
* Re-allow indented directive option blocks
* Add support for Python 3.12
* Update docutils requirement from >=0.16,<0.21 to
>=0.18,<0.22
* Allow for use of the `line-block` directive
* Emits sphinx include-read event
* Nested parse attribution in `attr_block`
* Directive option parsing
* Improve directive parsing warnings
* Allow for opening external links in new tabs (#856)
* Replace black, isort, pyupgrade with ruff formatter
* remove redundant mypy config
* Add additional Ruff lints (and fix issues)
* mypy- disallow 'any generics'
* Fix docutils deprecation in option parsing
-------------------------------------------------------------------
Thu Nov 23 07:46:00 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-myst-parser
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-myst-parser
Version: 2.0.0
Version: 3.0.1
Release: 0
Summary: An extended commonmark compliant parser, with bridges to docutils & sphinx
License: MIT
@ -30,7 +30,7 @@ BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module Jinja2}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module Sphinx}
BuildRequires: %{python_module docutils >= 0.16}
BuildRequires: %{python_module docutils >= 0.18 with %python-docutils < 0.22}
BuildRequires: %{python_module markdown-it-py}
BuildRequires: %{python_module markdown-it-py}
BuildRequires: %{python_module mdit-py-plugins}
@ -56,11 +56,11 @@ BuildRequires: %{python_module pytest}
Requires: python-Jinja2
Requires: python-PyYAML
Requires: python-Sphinx
Requires: python-docutils >= 0.16
Requires: python-docutils >= 0.18
Requires: python-markdown-it-py
Requires: python-mdit-py-plugins
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages