public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Steve Traylen <steve.traylen@cern.ch>
To: git-commits@fedoraproject.org
Subject: [rpms/python-gitlab] epel10: Add autocompletion, graphql and yaml sub packages
Date: Mon, 06 Jul 2026 11:14:46 GMT	[thread overview]
Message-ID: <178333648639.1.15114659065490348415.rpms-python-gitlab-ea3f19db3206@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-gitlab
            Branch : epel10
            Commit : ea3f19db3206881df16aedcbd45ee7767c3281cf
            Author : Steve Traylen <steve.traylen@cern.ch>
            Date   : 2026-07-06T12:54:02+02:00
            Stats  : +21/-3 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-gitlab/c/ea3f19db3206881df16aedcbd45ee7767c3281cf?branch=epel10

            Log:
            Add autocompletion, graphql and yaml sub packages

- Add CHANGLOG.md to package

---
diff --git a/python-gitlab.spec b/python-gitlab.spec
index 889bb69..3b16a09 100644
--- a/python-gitlab.spec
+++ b/python-gitlab.spec
@@ -13,23 +13,34 @@ BuildArch:      noarch
 
 BuildRequires:  python3-devel
 
+
 %description
 Interact with GitLab API
 
+
 %package -n     python3-%{pypi_name}
 Summary:        %{summary}
 
+
 %description -n python3-%{pypi_name}
 Interact with GitLab API
 
+
 %package -n python-%{pypi_name}-doc
 Summary:        Python gitlab documentation
 %description -n python-%{pypi_name}-doc
 Documentation for gitlab
 
+
+%pyproject_extras_subpkg -n python3-%{pypi_name} yaml graphql autocompletion
+
+
 %prep
 %autosetup -p1 -n python_%{pypi_name}-%{version}
 
+# https://github.com/python-gitlab/python-gitlab/pull/3411
+sed -i 's/argcomplete>=1.10.0,<3/argcomplete>=1.10.0,<4/' pyproject.toml
+
 # Relax some dependencies
 sed -i 's/requests==2.*/requests>=2.32.0,<3.0/'        requirements.txt
 sed -i 's/requests-toolbelt==.*/requests-toolbelt/'    requirements.txt
@@ -51,26 +62,33 @@ sed -i 's/anyio==.*/anyio/'                            requirements-test.txt
 sed -i 's/anyio==4.*/anyio>=4.0.0,<5.0/'               requirements-test.txt
 
 # not available in rawhide 11 Aug 2022
-sed -i 's/pytest-console-scripts.*//'                  requirements-test.txt
 sed -i 's/pytest-github-actions-annotate-failures.*//' requirements-test.txt
 
+sed -i 's/pytest-cov.*//'                              requirements-test.txt
+sed -i 's/coverage.*//'                                requirements-test.txt
+
+
 %generate_buildrequires
 %pyproject_buildrequires -t
 
+
 %build
 %pyproject_wheel
 
 
 %install
 %pyproject_install
-%pyproject_save_files gitlab
+%pyproject_save_files -l gitlab
+
 
 %check
 %tox
 
+
 %files -n python3-%{pypi_name} -f %{pyproject_files}
 %{_bindir}/gitlab
-%doc README.rst
+%doc README.rst CHANGELOG.md
+
 
 %changelog
 %autochangelog

                 reply	other threads:[~2026-07-06 11:14 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=178333648639.1.15114659065490348415.rpms-python-gitlab-ea3f19db3206@fedoraproject.org \
    --to=steve.traylen@cern.ch \
    --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