public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/GitPython] epel9: - Update to 3.2.0 (close RHBZ#2543854)
Date: Thu, 01 Oct 2026 05:41:22 GMT	[thread overview]
Message-ID: <179083328222.1.15725328743480622347.rpms-GitPython-e006224fb182@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/GitPython
            Branch : epel9
            Commit : e006224fb182ff379cdf9aa15e9e06f73549d074
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-10-01T06:40:01+01:00
            Stats  : +186/-2 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/GitPython/c/e006224fb182ff379cdf9aa15e9e06f73549d074?branch=epel9

            Log:
            - Update to 3.2.0 (close RHBZ#2543854)

- Fixes GHSA-gq48-pqfc-9p58, GHSA-23mf-xhv8-69c2, GHSA-f9j4-qggq-h239,
  GHSA-w8jc-g24h-crhw, GHSA-m64x-33q8-m5h7, and GHSA-fx3j-rwgx-fr94

---
diff --git a/0001-Revert-Move-project-metadata-to-pyproject.toml.patch b/0001-Revert-Move-project-metadata-to-pyproject.toml.patch
new file mode 100644
index 0000000..d954975
--- /dev/null
+++ b/0001-Revert-Move-project-metadata-to-pyproject.toml.patch
@@ -0,0 +1,168 @@
+From d61ed06cbdc1ff5203f9d5c827ec664488c03bf6 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Thu, 1 Oct 2026 06:31:02 +0100
+Subject: [PATCH] Revert "Move project metadata to pyproject.toml"
+
+This reverts commit b7d8f1a4e9a700cae39cff880ed2b90ad1805fd4.
+
+This is not a pure revert: where possible, it backports subsequent
+metadata changes.
+---
+ pyproject.toml | 57 +-------------------------------------------------
+ setup.py       | 56 +++++++++++++++++++++++++++++++++++++++++++++++--
+ 2 files changed, 55 insertions(+), 58 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 4b8258fc..c39bce0d 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,62 +1,7 @@
+ [build-system]
+-requires = ["setuptools >= 62.6"]
++requires = ["setuptools"]
+ build-backend = "setuptools.build_meta"
+ 
+-[project]
+-name = "GitPython"
+-description = "GitPython is a Python library used to interact with Git repositories"
+-authors = [
+-    {name = "Sebastian Thiel", email = "byronimo@gmail.com"},
+-    {name = "Michael Trier", email = "mtrier@gmail.com"},
+-]
+-readme = "README.md"
+-requires-python = ">=3.8"
+-keywords = ["git"]
+-# license = "BSD-3-Clause"  # not done until setuptools >= 77 (Python >= 3.9)
+-classifiers = [
+-    "Development Status :: 5 - Production/Stable",
+-    "Environment :: Console",
+-    "Intended Audience :: Developers",
+-    "Operating System :: OS Independent",
+-    "Operating System :: POSIX",
+-    "Operating System :: Microsoft :: Windows",
+-    "Operating System :: MacOS :: MacOS X",
+-    "Typing :: Typed",
+-    "Programming Language :: Python",
+-    "Programming Language :: Python :: 3",
+-    "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",
+-]
+-dynamic = ["license", "version", "dependencies", "optional-dependencies"]
+-
+-[project.urls]
+-"Source code" = "https://github.com/gitpython-developers/GitPython"
+-"Documentation" = "https://gitpython.readthedocs.io/en/stable/"
+-
+-[dependency-groups]
+-doc = [
+-    'sphinx >=7.4.7,<8 ; python_version >= "3.9"',
+-    "sphinx-autodoc-typehints",
+-    "sphinx-rtd-theme",
+-]
+-
+-[tool.setuptools]
+-include-package-data = true
+-
+-[tool.setuptools.dynamic]
+-version = {file = "VERSION"}
+-dependencies = {file = "requirements.txt"}
+-optional-dependencies."test" = {file = "test-requirements.txt"}
+-
+-[tool.setuptools.packages.find]
+-include = ["git", "git.*"]
+-
+ [tool.pytest.ini_options]
+ addopts = "--cov=git --cov-report=term -rfEX"
+ filterwarnings = "ignore::DeprecationWarning"
+diff --git a/setup.py b/setup.py
+index 3b0ecc55..a4a86669 100755
+--- a/setup.py
++++ b/setup.py
+@@ -5,7 +5,7 @@ from pathlib import Path
+ import sys
+ from typing import Sequence
+ 
+-from setuptools import setup
++from setuptools import setup, find_packages
+ from setuptools.command.build_py import build_py as _build_py
+ from setuptools.command.sdist import sdist as _sdist
+ 
+@@ -15,6 +15,9 @@ def _read_content(path: str) -> str:
+ 
+ 
+ version = _read_content("VERSION").strip()
++requirements = _read_content("requirements.txt").splitlines()
++test_requirements = _read_content("test-requirements.txt").splitlines()
++long_description = _read_content("README.md")
+ 
+ 
+ class build_py(_build_py):
+@@ -58,9 +61,58 @@ def _stamp_version(filename: str) -> None:
+         print("WARNING: Couldn't find version line in file %s" % filename, file=sys.stderr)
+ 
+ 
+-# See pyproject.toml for project metadata
+ setup(
+     name="GitPython",
+     cmdclass={"build_py": build_py, "sdist": sdist},
++    version=version,
++    description="GitPython is a Python library used to interact with Git repositories",
++    author="Sebastian Thiel, Michael Trier",
++    author_email="byronimo@gmail.com, mtrier@gmail.com",
+     license="BSD-3-Clause",
++    url="https://github.com/gitpython-developers/GitPython",
++    packages=find_packages(include=["git", "git.*"]),
++    include_package_data=True,
++    package_dir={"git": "git"},
++    python_requires=">=3.8",
++    keywords=["git"],
++    install_requires=requirements,
++    extras_require={
++        "test": test_requirements,
++        "doc": [
++            'sphinx >=7.4.7,<8 ; python_version >= "3.9"',
++            "sphinx-autodoc-typehints",
++            "sphinx-rtd-theme",
++        ]
++    },
++    zip_safe=False,
++    long_description=long_description,
++    long_description_content_type="text/markdown",
++    classifiers=[
++        # Picked from
++        #   http://pypi.python.org/pypi?:action=list_classifiers
++        # "Development Status :: 1 - Planning",
++        # "Development Status :: 2 - Pre-Alpha",
++        # "Development Status :: 3 - Alpha",
++        # "Development Status :: 4 - Beta",
++        "Development Status :: 5 - Production/Stable",
++        # "Development Status :: 6 - Mature",
++        # "Development Status :: 7 - Inactive",
++        "Environment :: Console",
++        "Intended Audience :: Developers",
++        "Operating System :: OS Independent",
++        "Operating System :: POSIX",
++        "Operating System :: Microsoft :: Windows",
++        "Operating System :: MacOS :: MacOS X",
++        "Typing :: Typed",
++        "Programming Language :: Python",
++        "Programming Language :: Python :: 3",
++        "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",
++    ],
+ )
+-- 
+2.55.0
+

diff --git a/GitPython.spec b/GitPython.spec
index a7795e0..675ab0a 100644
--- a/GitPython.spec
+++ b/GitPython.spec
@@ -1,7 +1,7 @@
 %global srcname GitPython
 
 Name:           %{srcname}
-Version:        3.1.62
+Version:        3.2.0
 Release:        1%{?dist}
 Summary:        Python Git Library
 
@@ -9,6 +9,17 @@ License:        BSD-3-Clause
 URL:            https://github.com/gitpython-developers/GitPython
 Source:         %{pypi_source gitpython}
 
+# Revert "Move project metadata to pyproject.toml"
+#
+# This reverts commit b7d8f1a4e9a700cae39cff880ed2b90ad1805fd4.
+#
+# This is not a pure revert: where possible, it backports subsequent
+# metadata changes.
+#
+# This is a downstream-only change needed for compatibility with setuptools 53
+# in EPEL9; pyproject.toml metadata would require setuptools 62.6 or later.
+Patch:          0001-Revert-Move-project-metadata-to-pyproject.toml.patch
+
 BuildArch:      noarch
 
 %global _description %{expand:
@@ -59,6 +70,11 @@ Requires:       git-core
 %doc CHANGES AUTHORS
 
 %changelog
+* Wed Sep 30 2026 Benjamin A. Beasley <code@musicinmybrain.net> - 3.2.0-1
+- Update to 3.2.0 (close RHBZ#2543854)
+- Fixes GHSA-gq48-pqfc-9p58, GHSA-23mf-xhv8-69c2, GHSA-f9j4-qggq-h239,
+  GHSA-w8jc-g24h-crhw, GHSA-m64x-33q8-m5h7, and GHSA-fx3j-rwgx-fr94
+
 * Mon Sep 07 2026 Benjamin A. Beasley <code@musicinmybrain.net> - 3.1.62-1
 - Update to 3.1.62 (close RHBZ#2529282)
 - Fixes GHSA-hmq2-w58f-27jc

diff --git a/sources b/sources
index 0fe610e..84e7504 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gitpython-3.1.62.tar.gz) = 47545ecf764f16cfc136852f58426c0ee9388fdd831e64b7677a8fdbb1ed2a5fc561f02c0bb6af587d8825b57fc784db6576fc8d26ca2b196d68bf7babb8837b
+SHA512 (gitpython-3.2.0.tar.gz) = 83d463de8f22f25d8591e72bc3700a417580fd3016a074d84d2c4e21dd0de91977d9201ff27a6a5eb8bf602388a4eea52e07f4108a01f35f2c60bef4706bda87

                 reply	other threads:[~2026-10-01  5:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179083328222.1.15725328743480622347.rpms-GitPython-e006224fb182@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox