Skip to content

Commit

Permalink
Release 33.0 (#224)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
ewdurbin and di authored Mar 5, 2022
1 parent f96ab23 commit 5ad13fd
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy3", "3.6", "3.7", "3.8", "3.9"]
python-version: ["pypy3", "3.6", "3.7", "3.8", "3.9", "3.10"]
steps:
- name: Check out repository
uses: actions/checkout@v2
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changes
=======

33.0 (2022-02-05)
-----------------

* Support cmarkgfm>=0.8.0 (#224)
* Support Python 3.10

32.0 (2021-12-13)
-----------------

Expand Down
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools>=40.8.0", "wheel", "bleach>=2.1.0", "docutils>=0.13.1", "Pygments>=2.5.1"]
build-backend = "setuptools.build_meta:__legacy__"
2 changes: 1 addition & 1 deletion readme_renderer/__about__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
)
__uri__ = "https://github.com/pypa/readme_renderer"

__version__ = "32.0"
__version__ = "33.0"

__author__ = "The Python Packaging Authority"
__email__ = "[email protected]"
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,15 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
install_requires=["bleach>=2.1.0", "docutils>=0.13.1", "Pygments>=2.5.1"],
entry_points={
"distutils.commands": ["check = readme_renderer.integration.distutils:Check"],
},
extras_require={"md": "cmarkgfm>=0.5.0,<0.7.0"},
extras_require={"md": "cmarkgfm>=0.8.0"},
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
python_requires=">=3.6",
)
6 changes: 3 additions & 3 deletions tests/fixtures/test_GFM_doublequotes.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<span class="sd">&quot;&quot;&quot;This is a docstring.&quot;&quot;&quot;</span>
<span class="k">pass</span>
</pre>
<pre><span class="kd">func</span> <span class="nx">ThisIsGo</span><span class="p">(){</span>
<span class="k">return</span>
<span class="p">}</span>
<pre><span class="kd">func</span><span class="w"> </span><span class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
<span class="w"> </span><span class="k">return</span><span class="w"></span>
<span class="p">}</span><span class="w"></span>
</pre>
6 changes: 3 additions & 3 deletions tests/fixtures/test_GFM_highlight.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<pre><span class="k">def</span> <span class="nf">this_is_python</span><span class="p">():</span>
<span class="k">pass</span>
</pre>
<pre><span class="kd">func</span> <span class="nx">ThisIsGo</span><span class="p">(){</span>
<span class="k">return</span>
<span class="p">}</span>
<pre><span class="kd">func</span><span class="w"> </span><span class="nx">ThisIsGo</span><span class="p">(){</span><span class="w"></span>
<span class="w"> </span><span class="k">return</span><span class="w"></span>
<span class="p">}</span><span class="w"></span>
</pre>
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py36,py37,py38,py39,pep8,packaging,noextra
envlist = py36,py37,py38,py39,py310,pep8,packaging,noextra

[testenv]
deps =
Expand Down

0 comments on commit 5ad13fd

Please sign in to comment.