Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-copr for openSUSE:Factory 
checked in at 2026-04-28 16:40:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-copr (Old)
 and      /work/SRC/openSUSE:Factory/.python-copr.new.11940 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-copr"

Tue Apr 28 16:40:18 2026 rev:12 rq:1349779 version:2.6

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-copr/python-copr.changes  2026-01-13 
21:26:25.839800157 +0100
+++ /work/SRC/openSUSE:Factory/.python-copr.new.11940/python-copr.changes       
2026-04-28 16:40:21.659447776 +0200
@@ -1,0 +2,103 @@
+Tue Apr 28 10:17:35 UTC 2026 - John Paul Adrian Glaubitz 
<[email protected]>
+
+- Update to 2.6
+  * Automatic commit of package [python-copr-common] release [1.5-1].
+  * gemini: copy the config from Mock
+  * docs: release notes 2025-12-10
+  * frontend: don't use future=True for sqlalchemy's create_engine
+  * build(deps): bump actions/upload-artifact from 5 to 6
+  * testing-farm: install pre-release packages with Ansible
+  * backend: info about the task that is being processed
+  * frontend: fix packit_forge_projects_allowed to return list in API
+  * Improve timestamp printing in the frontend
+  * cli: colorize build statuses
+  * backend: temporarily retain all repository packages
+  * Preload build.copr_dir to fix the builds page for large projects
+  * backend: skip projects with comps enabled when migrating to pulp
+  * python, cli, rpmbuild, common: use Tito to generate component.__version__
+  * backend: dump copr-rpmbuild version in logs
+  * behave/testing-farm: run tests in Testing Farm
+  * beaker, testing-farm: a new helper variable FRONTEND_PUBLIC_HOST
+  * testing-farm: avoid generating self-signed certificate
+  * beaker: fix tests for single-host and RH Copr
+  * beaker: don't fail runtest-dnf-copr.sh if @copr/copr-dev isn't enabled
+  * beaker: better cleanup in runtest-dnf-copr.sh
+  * beaker: test all architectures everywhere
+  * testing-farm: make sure we only ever run 2 builds in one sandbox
+  * rpmbuild: which is required
+  * testing-farm: use pre-release mock
+  * beaker-tests: fix the test for manual createrepo
+  * SOP: how to build a hotfix
+  * frontend: use build.copr instead of copr context for batches builds
+  * doc: explicitly call make clean before building new images
+  * doc: be explicit that make download actually rebuilds the image first
+  * doc: we don't need to manually tag AWS images anymore
+  * beaker, cli, python: bypass anubis challenge by setting copr user agent
+  * frontend: Allow resubmit for builds that failed during imports
+  * Allow dots and dashes in the container regex
+  * Add a test for container tags containing dashes
+  * cli: build_proxy.get_built_packages to figure out package NEVRAs
+  * cli: use a URL that would be available before the Pulp migration
+  * frontend: Disable AI Log Detective and dist-git redirect for non-logged-in 
users
+  * frontend: Exclude persistent projects from EOL chroot deletion
+  * cli, frontend: fix script-repos not being saved at all for custom pkgs
+  * doc: small improvements on how to upgrade builders
+  * frontend: add cancel all marked button
+  * docs: document pulp behavior with same NVRA but different epoch packages
+  * doc: properly render code blocks
+  * doc: point correctly to the "Build packages for production" section
+  * doc: workaround for when tito tag increments version incorrectly
+  * Temporarily disable auto-merger
+  * single-host: helper for spawning VMs in AWS
+  * testing-farm: force pre-release copr-rpmbuild onto builder
+  * beaker-tests: Temporarily build hello from F43
+  * testing-farm: document how to reproduce test failure
+  * frontend: preload build.copr to fix the builds page for large projects
+  * frontend: Add distgit source and namespace to source_json
+  * frontend: implement global package search for build chroot results
+  * backend, frontend: implement persistent projects in Pulp
+  * cli: fix download-build from PULP with --rpms
+  * testing-farm: make sure we use latest-stable fedora environment
+  * cli: fix download-build from PULP with --rpms
+  * frontend: fix small typos in ‹.delete_after_humanized›
+  * frontend: improve chroots graph display
+  * doc: document the system upgrade order
+  * frontend, backend, rpmbuild: extract Exclu*Arch/BuildArch for all targets
+  * behave: make linter happy
+  * build(deps): bump actions/upload-artifact from 6 to 7
+  * backend: don't run createrepo when forking Pulp projects
+  * testing-farm: drop the priority=9 hack
+  * ci: drop the python "3" suffix when submitting Copr builds
+  * testing-farm: fixup crypto preparations
+  * github: deploy documentation to GitHub Pages
+  * frontend, backend, distgit: initial Sentry integration
+  * common, distgit: use SafeRequest.timeout only as a timeout per request
+  * frontend: make projects clickable in /status/pending/all                
Fixes #2447
+  * build(deps): bump actions/upload-pages-artifact from 3 to 4
+  * build(deps): bump actions/checkout from 4 to 6
+  * frontend: use SafeRequest for pagure-events
+  * common: timeout is not precise because it can fail for other reasons
+  * common: do not traceback in SafeRequest if log= is not set
+  * backend: better cancel-build logging
+  * backend: query Pulp content for only 7 builds at a time
+  * doc: build html not dirhtml pages
+  * github: let gh-pages.yml workflow trigger it as well
+  * backend: add prns to a repository, not pulp_hrefs
+  * rpmbuild: remove old code
+  * rpmbuild: do not require DNF4 packages and instead require DNF5 packages
+  * Documentation moved to docs.copr.fedorainfracloud.org
+  * backend: add change-storage support for persistent projects
+  * build(deps): bump actions/deploy-pages from 4 to 5
+  * backend: copr-change-storage: deduplicate project handling code
+  * backend: don't convert projects with manual createrepo to PULP
+  * cli, python: don't traceback new-api-token for default config
+  * cli, frontend: make sure new-api-token updates expiration token
+  * docs: update how we maintain hypervisors (in rdu3)
+  * backend: cleanup backend-side metadata for PULP chroots
+  * Fix download-build for manual createrepo Pulp projects
+  * frontend: don't require admin permissions to show the rebuild button
+  * backend: modify pulp label filter for content queries
+  * Automatic commit of package [python-copr-common] release [1.6-1].
+  * Automatic commit of package [python-copr] release [2.6-1].
+
+-------------------------------------------------------------------

Old:
----
  copr-2.5.tar.gz

New:
----
  copr-2.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-copr.spec ++++++
--- /var/tmp/diff_new_pack.vDGmIy/_old  2026-04-28 16:40:22.347476229 +0200
+++ /var/tmp/diff_new_pack.vDGmIy/_new  2026-04-28 16:40:22.351476394 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-copr
-Version:        2.5
+Version:        2.6
 Release:        0
 Summary:        Python client for copr service
 License:        GPL-2.0-or-later

++++++ copr-2.5.tar.gz -> copr-2.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/copr-2.5/PKG-INFO new/copr-2.6/PKG-INFO
--- old/copr-2.5/PKG-INFO       2025-12-15 12:50:53.327138200 +0100
+++ new/copr-2.6/PKG-INFO       2026-04-21 00:34:46.080607000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: copr
-Version: 2.5
+Version: 2.6
 Summary: Python client for copr service.
 Home-page: https://github.com/fedora-copr/copr
 Author: Valentin Gologuzov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/copr-2.5/copr/__init__.py 
new/copr-2.6/copr/__init__.py
--- old/copr-2.5/copr/__init__.py       2025-12-09 15:09:38.000000000 +0100
+++ new/copr-2.6/copr/__init__.py       2026-04-20 23:30:36.000000000 +0200
@@ -0,0 +1,5 @@
+"""
+Copr Project - generated version file for sub-component
+"""
+
+__version__ = "2.6"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/copr-2.5/copr/v3/__init__.py 
new/copr-2.6/copr/v3/__init__.py
--- old/copr-2.5/copr/v3/__init__.py    2025-12-09 15:09:38.000000000 +0100
+++ new/copr-2.6/copr/v3/__init__.py    2026-04-20 23:30:36.000000000 +0200
@@ -1,6 +1,6 @@
 from __future__ import absolute_import
 
-from .helpers import config_from_file, wait
+from .helpers import config_from_file, wait, DEFAULT_CONFIG_PATH
 from .client import Client
 from .proxies import BaseProxy
 from .proxies.project import ProjectProxy
@@ -19,6 +19,7 @@
 
 
 __all__ = [
+    "DEFAULT_CONFIG_PATH",
     "config_from_file",
     "wait",
     "Client",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/copr-2.5/copr/v3/helpers.py 
new/copr-2.6/copr/v3/helpers.py
--- old/copr-2.5/copr/v3/helpers.py     2025-12-09 15:09:38.000000000 +0100
+++ new/copr-2.6/copr/v3/helpers.py     2026-04-20 23:30:36.000000000 +0200
@@ -8,6 +8,9 @@
 from .exceptions import CoprConfigException, CoprException
 
 
+DEFAULT_CONFIG_PATH = os.path.expanduser(os.path.join("~", ".config", "copr"))
+
+
 class List(list):
     def __init__(self, items, meta=None, response=None, proxy=None):
         list.__init__(self, items)
@@ -18,12 +21,9 @@
 
 def config_from_file(path=None):
     raw_config = configparser.ConfigParser()
-
     config = {}
-    default_path = os.path.join("~", ".config", "copr")
-
     try:
-        exists = raw_config.read(os.path.expanduser(path or default_path))
+        exists = raw_config.read(os.path.expanduser(path or 
DEFAULT_CONFIG_PATH))
     except configparser.Error as ex:
         raise CoprConfigException(str(ex))
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/copr-2.5/copr/v3/requests.py 
new/copr-2.6/copr/v3/requests.py
--- old/copr-2.5/copr/v3/requests.py    2025-12-09 15:09:38.000000000 +0100
+++ new/copr-2.6/copr/v3/requests.py    2026-03-26 10:47:46.000000000 +0100
@@ -4,9 +4,11 @@
 import json
 import time
 import requests
-from copr.v3.helpers import List
 from munch import Munch
 from requests_toolbelt.multipart.encoder import MultipartEncoder, 
MultipartEncoderMonitor
+
+from copr import __version__
+from copr.v3.helpers import List
 from .exceptions import CoprRequestException, CoprNoResultException, 
CoprTimeoutException, CoprAuthException
 
 
@@ -15,6 +17,8 @@
 PUT = "PUT"
 DELETE = "DELETE"
 
+USER_AGENT = "copr python-copr/{0}".format(__version__)
+
 
 class Request(object):
     # This should be a replacement of the _fetch method from APIv1
@@ -69,12 +73,16 @@
 
     def _request_params(self, endpoint, method=GET, data=None, params=None,
                         headers=None, auth=None):
+        request_headers = {"User-Agent": USER_AGENT}
+        if headers:
+            request_headers.update(headers)
+
         params = {
             "url": self.endpoint_url(endpoint, params),
             "json": data,
             "method": method.upper(),
             "params": params,
-            "headers": headers,
+            "headers": request_headers,
         }
         self._update_auth_params(params, auth)
         return params
@@ -107,7 +115,8 @@
         m = MultipartEncoder(data)
         params["json"] = None
         params["data"] = MultipartEncoderMonitor(m, callback)
-        params["headers"] = {'Content-Type': params["data"].content_type}
+        # preserve user agent from parent, add content type
+        params["headers"]["Content-Type"] = params["data"].content_type
         return params
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/copr-2.5/copr.egg-info/PKG-INFO 
new/copr-2.6/copr.egg-info/PKG-INFO
--- old/copr-2.5/copr.egg-info/PKG-INFO 2025-12-15 12:50:53.000000000 +0100
+++ new/copr-2.6/copr.egg-info/PKG-INFO 2026-04-21 00:34:45.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: copr
-Version: 2.5
+Version: 2.6
 Summary: Python client for copr service.
 Home-page: https://github.com/fedora-copr/copr
 Author: Valentin Gologuzov
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/copr-2.5/docs/client_v3/package_source_types.rst 
new/copr-2.6/docs/client_v3/package_source_types.rst
--- old/copr-2.5/docs/client_v3/package_source_types.rst        2025-12-09 
15:09:38.000000000 +0100
+++ new/copr-2.6/docs/client_v3/package_source_types.rst        2026-03-31 
12:16:35.000000000 +0200
@@ -2,14 +2,14 @@
 ===================
 
 Read more about source types in the
-`User Documentation 
<https://docs.pagure.org/copr.copr/user_documentation.html#build-source-types>`__.
+`User Documentation 
<https://docs.copr.fedorainfracloud.org/user_documentation.html#build-source-types>`__.
 
 
 SCM
 ---
 
 Parameters when ``source_type=scm`` is used.
-See `User Documentation 
<https://docs.pagure.org/copr.copr/user_documentation.html#scm>`__ for more 
information.
+See `User Documentation 
<https://docs.copr.fedorainfracloud.org/user_documentation.html#scm>`__ for 
more information.
 
 =====================  ==================== ===============
 Field                  Type                 Description
@@ -19,7 +19,7 @@
 subdirectory           str
 spec                   str
 scm_type               str                  "git", "svn"
-source_build_method    str                  See `User documentation 
<https://docs.pagure.org/copr.copr/user_documentation.html#scm>`__ for more info
+source_build_method    str                  See `User documentation 
<https://docs.copr.fedorainfracloud.org/user_documentation.html#scm>`__ for 
more info
 =====================  ==================== ===============
 
 
@@ -27,7 +27,7 @@
 --------
 
 Parameters when ``source_type=rubygems`` is used.
-See `User Documentation 
<https://docs.pagure.org/copr.copr/user_documentation.html#rubygems>`__ for 
more information.
+See `User Documentation 
<https://docs.copr.fedorainfracloud.org/user_documentation.html#rubygems>`__ 
for more information.
 
 ==================  ==================== ===============
 Field               Type                 Description
@@ -40,7 +40,7 @@
 ----
 
 Parameters when ``source_type=pypi`` is used.
-See `User Documentation 
<https://docs.pagure.org/copr.copr/user_documentation.html#pypi>`__ for more 
information.
+See `User Documentation 
<https://docs.copr.fedorainfracloud.org/user_documentation.html#pypi>`__ for 
more information.
 
 =====================  ==================== ===============
 Field                  Type                 Description
@@ -56,7 +56,7 @@
 ------
 
 Parameters when ``source_type=custom`` is used.
-See `User Documentation 
<https://docs.pagure.org/copr.copr/custom_source_method.html#custom-source-method>`__
 for more information.
+See `User Documentation 
<https://docs.copr.fedorainfracloud.org/custom_source_method.html#custom-source-method>`__
 for more information.
 
 =====================  ==================== ===============
 Field                  Type                 Description
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/copr-2.5/python-copr.spec 
new/copr-2.6/python-copr.spec
--- old/copr-2.5/python-copr.spec       2025-12-09 15:45:42.000000000 +0100
+++ new/copr-2.6/python-copr.spec       2026-04-20 23:30:36.000000000 +0200
@@ -1,7 +1,7 @@
 %global srcname copr
 
 Name:       python-copr
-Version:    2.5
+Version:    2.6
 Release:    1%{?dist}
 Summary:    Python interface for Copr
 
@@ -136,6 +136,11 @@
 %doc %{_pkgdocdir}
 
 %changelog
+* Wed Apr 15 2026 Jakub Kadlcik <[email protected]> 2.6-1
+- Don't traceback new-api-token for default config
+- Bypass anubis challenge by setting copr user agent
+- Use Tito to generate component.__version__
+
 * Tue Dec 09 2025 Jiri Kyjovsky <[email protected]> 2.5-1
 - Add API endpoint for generating a new token
 - Make copr.v3.helpers.wait official part of API
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/copr-2.5/setup.py new/copr-2.6/setup.py
--- old/copr-2.5/setup.py       2025-12-09 15:45:42.000000000 +0100
+++ new/copr-2.6/setup.py       2026-04-20 23:30:36.000000000 +0200
@@ -29,7 +29,7 @@
 
 setup(
     name='copr',
-    version="2.5",
+    version="2.6",
     description=__description__,
     long_description=long_description,
     author=__author__,

Reply via email to