head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.08.12.22.00.29; author wiz; state Exp; branches; next ; commitid UN0D9F75YhOMFoRG; desc @@ 1.1 log @py-gidgethub: update to 5.4.0. What's Changed Fix broken links in docs by @@Mariatta in #203 Replace flit by flit_core in build-system by @@tjni in #205 Fix URLs by @@brettcannon in #208 Add support for Python 3.12-3.13 and drop EOL 3.7 by @@hugovk in #209 Update changelog by @@hugovk in #212 Set a maximum version of flit_core for build requirements by @@takluyver in #211 Add expiration parameter to apps.get_jwt by @@jjnesbitt in #215 Make gidgethub.abc.GitHubAPI.getiter() iterative by @@brettcannon in #219 @ text @$NetBSD$ Fix build, using latest upstream version. --- pyproject.toml.orig 2026-08-12 21:56:15.994486538 +0000 +++ pyproject.toml @@@@ -1,48 +1,62 @@@@ [build-system] -requires = ["flit_core <4"] -build-backend = "flit_core.buildapi" +requires = ["pdm-backend"] +build-backend = "pdm.backend" -[tool.flit.metadata] -module = "gidgethub" -author = "Brett Cannon" -author-email = "brett@@python.org" -requires = [ +[project] +name = "gidgethub" +authors = [{name = "Brett Cannon", email = "brett@@python.org"}] +maintainers = [{name = "Mariatta", email = "mariatta@@mariatta.ca"}] +dependencies = [ "uritemplate>=3.0.1", - "PyJWT[crypto]>=2.4.0" + "PyJWT[crypto]>=2.4.0", ] -requires-python = ">=3.8" -license = "Apache" -keywords = "github sans-io async" -description-file = "README.rst" -classifiers = ["Intended Audience :: Developers", - "License :: OSI Approved :: Apache Software License", +requires-python = ">=3.9" +license = "Apache-2.0 AND MIT" +license-files = ["LICENSE", "Third-Party Notices.md"] +keywords = ["github", "sans-io", "async"] +readme = "README.rst" +classifiers = [ + "Intended Audience :: Developers", "Development Status :: 5 - Production/Stable", "Programming Language :: Python :: 3 :: Only", - "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.14", + "Programming Language :: Python :: 3.15", ] +description = "An async GitHub API library" +dynamic = ["version"] -[tool.flit.metadata.requires-extra] -test = ["importlib-resources", "pytest>=5.4.1", "pytest-asyncio", "pytest-tornasync"] -doc = ["sphinx>=4.0.0", "sphinx-rtd-theme>=0.5.2"] -# The 'dev' target should contain all dependencies listed in any extras coming -# after it to make sure that the test suite will run successfully. -dev = ["aiohttp", "black", "coverage[toml]>=5.0.3", "httpx", "mypy", "pytest-cov", - "pytest-xdist", "tornado"] +[project.urls] +Documentation = "https://gidgethub.readthedocs.io" +Repository = "https://github.com/gidgethub/gidgethub" + +[project.optional-dependencies] aiohttp = ["aiohttp"] tornado = ["tornado"] httpx = ["httpx>=0.16.1"] -[tool.flit.metadata.urls] -Documentation = "https://gidgethub.readthedocs.io" -Repository = "https://github.com/brettcannon/gidgethub" +[dependency-groups] +test = ["importlib-resources", "pytest>=5.4.1", "pytest-asyncio", "pytest-tornasync", + "pytest-cov", "pytest-xdist", "coverage[toml]>=5.0.3"] +lint = ["black", "mypy"] +doc = ["sphinx>=4.0.0", "sphinx-rtd-theme>=0.5.2"] +dev = [{include-group = "test"}, {include-group = "lint"}, {include-group = "doc"}] +[tool.pdm.version] +source = "file" +path = "gidgethub/__init__.py" + +[tool.pytest.ini_options] +asyncio_default_fixture_loop_scope = "function" +testpaths = ["tests"] + [tool.coverage.run] branch = true [tool.coverage.report] fail_under = 100 + @