From 56cfaa80cf30793c0f5a98c3bce87e88aabc3c2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Kijewski?= Date: Fri, 3 Jan 2025 09:09:49 +0100 Subject: [PATCH] Update dependencies --- .readthedocs.yaml | 6 +++-- docs/conf.py | 6 ++--- pyproject.toml | 49 ++++++++++++++++++++++++++++++++++ requirements-dev.txt | 8 +++--- requirements-readthedocs.txt | 10 +++---- setup.cfg | 51 +----------------------------------- third-party/JSONTestSuite | 2 +- 7 files changed, 66 insertions(+), 66 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 8591c9f..06c2a99 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -3,9 +3,11 @@ version: 2 build: - os: ubuntu-22.04 + os: ubuntu-24.04 + apt_packages: + - graphviz tools: - python: "3.11" + python: "3.13" sphinx: configuration: docs/conf.py diff --git a/docs/conf.py b/docs/conf.py index c42d0f9..7e07615 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,8 +16,6 @@ 'myst_parser', ] -language = "en" - templates_path = ['_templates'] source_suffix = '.rst' master_doc = 'index' @@ -30,7 +28,7 @@ version = eval(f.read().strip()) release = version -language = None +language = 'en' exclude_patterns = [] pygments_style = 'sphinx' todo_include_todos = False @@ -43,7 +41,7 @@ autosummary_generate = True intersphinx_mapping = { - 'python': ('https://docs.python.org/3.12', None), + 'python': ('https://docs.python.org/3.13', None), } inheritance_graph_attrs = { diff --git a/pyproject.toml b/pyproject.toml index 58afd0c..8589a02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,52 @@ +[project] +# keep synchronous to requirements-readthedocs.txt +# keep synchronous to src/VERSION.inc +version = "1.6.7" + +name = "pyjson5" +description = "JSON5 serializer and parser for Python 3 written in Cython." +requires-python = ">= 3.5" +readme = { file = "README.rst", content-type = "text/x-rst" } +license = { text = "Apache-2.0" } +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Intended Audience :: System Administrators", + "License :: OSI Approved :: Apache Software License", + "Operating System :: OS Independent", + "Programming Language :: Cython", + "Programming Language :: JavaScript", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Programming Language :: Python :: 3.13", + "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: Implementation :: CPython", + "Topic :: Text Processing :: General", +] + +[[project.authors]] +name = "René Kijewski" +email = "pypi.org@k6i.de" + +[[project.maintainers]] +name = "René Kijewski" +email = "pypi.org@k6i.de" + +[project.urls] +changelog = "https://github.com/Kijewski/pyjson5/blob/main/CHANGELOG.md" +code = "https://github.com/Kijewski/pyjson5" +documentation = "https://pyjson5.readthedocs.io/" +download = "https://pypi.org/project/pyjson5/" +homepage = "https://github.com/Kijewski/pyjson5" +tracker = "https://github.com/Kijewski/pyjson5/issues" + [build-system] requires = [ "Cython < 4, >= 0.29", diff --git a/requirements-dev.txt b/requirements-dev.txt index af8e111..ef0d39f 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,8 +8,8 @@ setuptools wheel # keep synchronous to requirements-readthedocs.txt -docutils == 0.20.* +docutils == 0.21.* furo -myst-parser == 2.* -sphinx == 7.* -sphinx_autodoc_typehints == 2.* +myst-parser == 4.* +sphinx == 8.* +sphinx-autodoc-typehints == 3.* diff --git a/requirements-readthedocs.txt b/requirements-readthedocs.txt index e143ece..0f08abd 100644 --- a/requirements-readthedocs.txt +++ b/requirements-readthedocs.txt @@ -1,10 +1,10 @@ -# keep synchronous to setup.cfg +# keep synchronous to pyproject.toml # keep synchronous to src/VERSION.inc pyjson5 == 1.6.7 # keep synchronous to requirements-dev.txt -docutils == 0.20.* +docutils == 0.21.* furo -myst-parser == 2.* -sphinx == 7.* -sphinx_autodoc_typehints == 2.* +myst-parser == 4.* +sphinx == 8.* +sphinx-autodoc-typehints == 3.* diff --git a/setup.cfg b/setup.cfg index 5180967..a8ae333 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,58 +1,9 @@ -[metadata] -# keep synchronous to requirements-readthedocs.txt -# keep synchronous to src/VERSION.inc -version = 1.6.7 - -name = pyjson5 -description = JSON5 serializer and parser for Python 3 written in Cython. -url = https://github.com/Kijewski/pyjson5 -project_urls = - Changelog = https://github.com/Kijewski/pyjson5/blob/main/CHANGELOG.md - Code = https://github.com/Kijewski/pyjson5 - Documentation = https://pyjson5.readthedocs.io/ - Download = https://pypi.org/project/pyjson5/ - Homepage = https://github.com/Kijewski/pyjson5 - Tracker = https://github.com/Kijewski/pyjson5/issues - -author = René Kijewski -maintainer = René Kijewski -author_email = pypi.org@k6i.de -maintainer_email = pypi.org@k6i.de - -long_description = file: README.rst -long_description_content_type = text/x-rst - -license = Apache License 2.0 -license_files = LICENSE - -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - Intended Audience :: System Administrators - License :: OSI Approved :: Apache Software License - Operating System :: OS Independent - Programming Language :: Cython - Programming Language :: JavaScript - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3.11 - Programming Language :: Python :: 3.12 - Programming Language :: Python :: 3.13 - Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: Implementation :: CPython - Topic :: Text Processing :: General - [options] zip_safe = False python_requires = ~= 3.5 setup_requires = - Cython + Cython < 4, >= 0.29 setuptools include_package_data = True diff --git a/third-party/JSONTestSuite b/third-party/JSONTestSuite index cb7a541..1ef36fa 160000 --- a/third-party/JSONTestSuite +++ b/third-party/JSONTestSuite @@ -1 +1 @@ -Subproject commit cb7a5413e9c79732460715f45b5dd4213842beba +Subproject commit 1ef36fa01286573e846ac449e8683f8833c5b26a