Skip to content

Commit 5ad13fd

Browse files
ewdurbindi
andauthored
Release 33.0 (#224)
* update cmarkgfm * Update test fixtures * Support Python 3.10 * Add additional build-time dependencies Setuptools seems to want to run all entry points at build-time now, and this fails because our runtime dependencies aren't installed in the build environment. For now, just install them so the build will succeed. * Release 33.0 Co-authored-by: Dustin Ingram <[email protected]>
1 parent f96ab23 commit 5ad13fd

File tree

8 files changed

+20
-10
lines changed

8 files changed

+20
-10
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
python-version: ["pypy3", "3.6", "3.7", "3.8", "3.9"]
9+
python-version: ["pypy3", "3.6", "3.7", "3.8", "3.9", "3.10"]
1010
steps:
1111
- name: Check out repository
1212
uses: actions/checkout@v2

CHANGES.rst

+6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changes
22
=======
33

4+
33.0 (2022-02-05)
5+
-----------------
6+
7+
* Support cmarkgfm>=0.8.0 (#224)
8+
* Support Python 3.10
9+
410
32.0 (2021-12-13)
511
-----------------
612

pyproject.toml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools>=40.8.0", "wheel", "bleach>=2.1.0", "docutils>=0.13.1", "Pygments>=2.5.1"]
3+
build-backend = "setuptools.build_meta:__legacy__"

readme_renderer/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
)
3131
__uri__ = "https://github.com/pypa/readme_renderer"
3232

33-
__version__ = "32.0"
33+
__version__ = "33.0"
3434

3535
__author__ = "The Python Packaging Authority"
3636
__email__ = "[email protected]"

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,15 @@
5252
"Programming Language :: Python :: 3.7",
5353
"Programming Language :: Python :: 3.8",
5454
"Programming Language :: Python :: 3.9",
55+
"Programming Language :: Python :: 3.10",
5556
"Programming Language :: Python :: Implementation :: CPython",
5657
"Programming Language :: Python :: Implementation :: PyPy",
5758
],
5859
install_requires=["bleach>=2.1.0", "docutils>=0.13.1", "Pygments>=2.5.1"],
5960
entry_points={
6061
"distutils.commands": ["check = readme_renderer.integration.distutils:Check"],
6162
},
62-
extras_require={"md": "cmarkgfm>=0.5.0,<0.7.0"},
63+
extras_require={"md": "cmarkgfm>=0.8.0"},
6364
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
6465
python_requires=">=3.6",
6566
)

tests/fixtures/test_GFM_doublequotes.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<span class="sd">&quot;&quot;&quot;This is a docstring.&quot;&quot;&quot;</span>
66
<span class="k">pass</span>
77
</pre>
8-
<pre><span class="kd">func</span> <span class="nx">ThisIsGo</span><span class="p">(){</span>
9-
<span class="k">return</span>
10-
<span class="p">}</span>
8+
<pre><span class="kd">func</span><span class="w"> </span><span class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
9+
<span class="w"> </span><span class="k">return</span><span class="w"></span>
10+
<span class="p">}</span><span class="w"></span>
1111
</pre>

tests/fixtures/test_GFM_highlight.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<pre><span class="k">def</span> <span class="nf">this_is_python</span><span class="p">():</span>
55
<span class="k">pass</span>
66
</pre>
7-
<pre><span class="kd">func</span> <span class="nx">ThisIsGo</span><span class="p">(){</span>
8-
<span class="k">return</span>
9-
<span class="p">}</span>
7+
<pre><span class="kd">func</span><span class="w"> </span><span class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
8+
<span class="w"> </span><span class="k">return</span><span class="w"></span>
9+
<span class="p">}</span><span class="w"></span>
1010
</pre>

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py36,py37,py38,py39,pep8,packaging,noextra
2+
envlist = py36,py37,py38,py39,py310,pep8,packaging,noextra
33

44
[testenv]
55
deps =

0 commit comments

Comments
 (0)