-
Notifications
You must be signed in to change notification settings - Fork 94
Add Python 3.14 #333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Python 3.14 #333
Conversation
The following test case failed because docutils was upgraded. tests/test_cli.py:52:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
readme_renderer/__main__.py:50: in main
rendered = render_rst(source, stream=sys.stderr)
readme_renderer/rst.py:123: in render
parts = publish_parts(raw, writer=writer, settings_overrides=settings)
.tox/py/lib/python3.9/site-packages/docutils/core.py:548: in publish_parts
_output, publisher = publish_programmatically(
.tox/py/lib/python3.9/site-packages/docutils/core.py:794: in publish_programmatically
output = publisher.publish(enable_exit_status=enable_exit_status)
.tox/py/lib/python3.9/site-packages/docutils/core.py:272: in publish
output = self.writer.write(self.document, self.destination)
.tox/py/lib/python3.9/site-packages/docutils/writers/__init__.py:97: in write
self.translate()
.tox/py/lib/python3.9/site-packages/docutils/writers/_html_base.py:161: in translate
self.visitor = visitor = self.translator_class(self.document)
.tox/py/lib/python3.9/site-packages/docutils/writers/html5_polyglot/__init__.py:130: in __init__
super().__init__(document)
.tox/py/lib/python3.9/site-packages/docutils/writers/_html_base.py:336: in __init__
self.stylesheet = [self.stylesheet_call(path)
.tox/py/lib/python3.9/site-packages/docutils/writers/_html_base.py:336: in <listcomp>
self.stylesheet = [self.stylesheet_call(path)
.tox/py/lib/python3.9/site-packages/docutils/writers/_html_base.py:529: in stylesheet_call
content = Path(path).read_text(encoding='utf-8')
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = PosixPath('/home/runner/work/readme_renderer/readme_renderer/.tox/py/lib/python3.9/site-packages/docutils/writers/html5_polyglot/minimal.css')
encoding = 'utf-8', errors = None
def read_text(self, encoding=None, errors=None):
"""
Open the file in text mode, read it, and close the file.
"""
> with self.open(mode='r', encoding=encoding, errors=errors) as f:
E ValueError: I/O operation on closed file.
/opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/pathlib.py:1194: ValueError
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.9.23-final-0 ________________ |
Maybe these dependencies should be pinned to specific versions, and then add Dependabot update them per PR. readme_renderer/pyproject.toml Lines 10 to 14 in 04d5cfe
This would help make it easier to identify what caused any issues. |
90681ae
to
219f9e2
Compare
ci.yml
,pyproject.toml
andtox.ini
and.gitpod.yml
.gitignore