From 795e60318135453c68d0088e92f9ca9d9e6820ba Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Thu, 18 Apr 2024 16:38:38 -0400 Subject: [PATCH 1/2] Migrated config to pyproject.toml using jaraco.develop.migrate-config and ini2toml. --- pyproject.toml | 56 +++++++++++++++++++++++++++++++++++++++++++++++++- setup.cfg | 53 ----------------------------------------------- 2 files changed, 55 insertions(+), 54 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index a853c57..7836f78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,59 @@ [build-system] -requires = ["setuptools>=56", "setuptools_scm[toml]>=3.4.1"] +requires = ["setuptools>=61.2", "setuptools_scm[toml]>=3.4.1"] build-backend = "setuptools.build_meta" +[project] +name = "jaraco.fabric" +authors = [ + { name = "Jason R. Coombs", email = "jaraco@jaraco.com" }, +] +description = "Fabric tasks by jaraco" +readme = "README.rst" +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3 :: Only", +] +requires-python = ">=3.8" +dependencies = [ + "jaraco.apt", + "jaraco.itertools", + "pyyaml", + "importlib_resources", +] +dynamic = ["version"] + +[project.urls] +Homepage = "https://github.com/jaraco/jaraco.fabric" + +[project.optional-dependencies] +testing = [ + # upstream + "pytest >= 6", + "pytest-checkdocs >= 2.4", + "pytest-cov", + 'pytest-mypy; python_implementation != "PyPy"', # workaround for jaraco/skeleton#22 + "pytest-enabler >= 2.2", + "pytest-ruff >= 0.2.1", + + # local + "fabric", + "types-setuptools", + "types-pyyaml", +] +docs = [ + # upstream + "sphinx >= 3.5", + # workaround for sphinx/sphinx-doc#11662 + "sphinx < 7.2.5", + "jaraco.packaging >= 9.3", + "rst.linker >= 1.9", + "furo", + "sphinx-lint", + + # local +] + [tool.setuptools_scm] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 173e693..0000000 --- a/setup.cfg +++ /dev/null @@ -1,53 +0,0 @@ -[metadata] -name = jaraco.fabric -author = Jason R. Coombs -author_email = jaraco@jaraco.com -description = Fabric tasks by jaraco -long_description = file:README.rst -url = https://github.com/jaraco/jaraco.fabric -classifiers = - Development Status :: 5 - Production/Stable - Intended Audience :: Developers - License :: OSI Approved :: MIT License - Programming Language :: Python :: 3 - Programming Language :: Python :: 3 :: Only - -[options] -include_package_data = true -python_requires = >=3.8 -install_requires = - jaraco.apt - jaraco.itertools - pyyaml - importlib_resources - -[options.extras_require] -testing = - # upstream - pytest >= 6 - pytest-checkdocs >= 2.4 - pytest-cov - pytest-mypy; \ - # workaround for jaraco/skeleton#22 - python_implementation != "PyPy" - pytest-enabler >= 2.2 - pytest-ruff >= 0.2.1 - - # local - fabric - types-setuptools - types-pyyaml - -docs = - # upstream - sphinx >= 3.5 - # workaround for sphinx/sphinx-doc#11662 - sphinx < 7.2.5 - jaraco.packaging >= 9.3 - rst.linker >= 1.9 - furo - sphinx-lint - - # local - -[options.entry_points] From a07a10e9d2dfc72c06d22b4a3519df2f1d34400c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 19 Apr 2024 06:51:42 +0000 Subject: [PATCH 2/2] Update sphinx requirement from <7.2.5 to <7.3.8 Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v3.5.0...v7.3.7) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7836f78..36ed1b2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ docs = [ # upstream "sphinx >= 3.5", # workaround for sphinx/sphinx-doc#11662 - "sphinx < 7.2.5", + "sphinx < 7.3.8", "jaraco.packaging >= 9.3", "rst.linker >= 1.9", "furo",