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 2023-09-12 21:02:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-copr (Old) and /work/SRC/openSUSE:Factory/.python-copr.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-copr" Tue Sep 12 21:02:51 2023 rev:8 rq:1110413 version:1.130 Changes: -------- --- /work/SRC/openSUSE:Factory/python-copr/python-copr.changes 2023-06-20 16:49:03.447613509 +0200 +++ /work/SRC/openSUSE:Factory/.python-copr.new.1766/python-copr.changes 2023-09-12 21:03:32.525585348 +0200 @@ -1,0 +2,7 @@ +Fri Sep 8 04:08:24 UTC 2023 - Steve Kowalik <[email protected]> + +- Update to 1.130: + * No upstream changelog. +- Fiddle with {Build,}Requires as appropiate. + +------------------------------------------------------------------- Old: ---- copr-1.129.tar.gz New: ---- copr-1.130.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-copr.spec ++++++ --- /var/tmp/diff_new_pack.RfcNrg/_old 2023-09-12 21:03:33.589623302 +0200 +++ /var/tmp/diff_new_pack.RfcNrg/_new 2023-09-12 21:03:33.593623445 +0200 @@ -17,7 +17,7 @@ Name: python-copr -Version: 1.129 +Version: 1.130 Release: 0 Summary: Python client for copr service License: GPL-2.0-or-later @@ -29,14 +29,14 @@ BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-filelock -Requires: python-future Requires: python-munch Requires: python-requests Requires: python-requests-toolbelt +Requires: python-setuptools +Requires: python-six BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module filelock} -BuildRequires: %{python_module future} BuildRequires: %{python_module munch} BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests-gssapi} @@ -65,5 +65,5 @@ %files %{python_files} %license LICENSE %{python_sitelib}/copr -%{python_sitelib}/copr-%{version}*-info +%{python_sitelib}/copr-%{version}.dist-info ++++++ copr-1.129.tar.gz -> copr-1.130.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.129/.gitignore new/copr-1.130/.gitignore --- old/copr-1.129/.gitignore 2021-12-12 16:37:48.000000000 +0100 +++ new/copr-1.130/.gitignore 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -docs/_build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.129/Makefile new/copr-1.130/Makefile --- old/copr-1.129/Makefile 2023-05-14 16:31:17.000000000 +0200 +++ new/copr-1.130/Makefile 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ -.PHONY: check test lint unittests - -# we keep this serialized to avoid messed standard output -check: - $(MAKE) unittests - $(MAKE) lint - -test: check - -unittests: - ./run_tests.sh -vv -s - -lint: - vcs-diff-lint - -unittest-in-container: - podman build -f ../build_aux/Containerfile.unittest . -t copr_test_image - podman run --rm -it copr_test_image /bin/sh -c "./run_tests.sh -vv -s" - podman image rm copr_test_image diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.129/PKG-INFO new/copr-1.130/PKG-INFO --- old/copr-1.129/PKG-INFO 2023-05-25 13:45:37.949153200 +0200 +++ new/copr-1.130/PKG-INFO 2023-08-16 16:47:30.447721200 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: copr -Version: 1.129 +Version: 1.130 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-1.129/copr/v3/auth/gssapi.py new/copr-1.130/copr/v3/auth/gssapi.py --- old/copr-1.129/copr/v3/auth/gssapi.py 2022-07-26 19:36:13.000000000 +0200 +++ new/copr-1.130/copr/v3/auth/gssapi.py 2023-08-16 16:47:20.000000000 +0200 @@ -9,7 +9,6 @@ except ImportError: requests_gssapi = None -from future.utils import raise_from from copr.v3.exceptions import CoprAuthException from copr.v3.requests import munchify, handle_errors from copr.v3.auth.base import BaseAuth @@ -40,7 +39,8 @@ except requests_gssapi.exceptions.SPNEGOExchangeError as err: msg = "Can not get session for {0} cookie via GSSAPI: {1}".format( self.config["copr_url"], err) - raise_from(CoprAuthException(msg), err) + # TODO: change to `raise from` once we stop supporting rhel7 + raise CoprAuthException(msg) # pylint: disable=raise-missing-from handle_errors(response) data = munchify(response) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.129/copr/v3/proxies/project.py new/copr-1.130/copr/v3/proxies/project.py --- old/copr-1.129/copr/v3/proxies/project.py 2023-05-14 16:31:17.000000000 +0200 +++ new/copr-1.130/copr/v3/proxies/project.py 2023-08-16 16:47:20.000000000 +0200 @@ -71,7 +71,8 @@ auto_prune=True, use_bootstrap_container=None, devel_mode=False, delete_after_days=None, multilib=False, module_hotfixes=False, bootstrap=None, bootstrap_image=None, isolation=None, follow_fedora_branching=True, - fedora_review=None, appstream=False, runtime_dependencies=None, packit_forge_projects_allowed=None): + fedora_review=None, appstream=False, runtime_dependencies=None, packit_forge_projects_allowed=None, + repo_priority=None): """ Create a project @@ -139,6 +140,7 @@ "appstream": appstream, "runtime_dependencies": runtime_dependencies, "packit_forge_projects_allowed": packit_forge_projects_allowed, + "repo_priority": repo_priority, } _compat_use_bootstrap_container(data, use_bootstrap_container) @@ -157,7 +159,8 @@ auto_prune=None, use_bootstrap_container=None, devel_mode=None, delete_after_days=None, multilib=None, module_hotfixes=None, bootstrap=None, bootstrap_image=None, isolation=None, follow_fedora_branching=None, - fedora_review=None, appstream=None, runtime_dependencies=None, packit_forge_projects_allowed=None): + fedora_review=None, appstream=None, runtime_dependencies=None, packit_forge_projects_allowed=None, + repo_priority=None): """ Edit a project @@ -223,6 +226,7 @@ "appstream": appstream, "runtime_dependencies": runtime_dependencies, "packit_forge_projects_allowed": packit_forge_projects_allowed, + "repo_priority": repo_priority, } _compat_use_bootstrap_container(data, use_bootstrap_container) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.129/copr.egg-info/PKG-INFO new/copr-1.130/copr.egg-info/PKG-INFO --- old/copr-1.129/copr.egg-info/PKG-INFO 2023-05-25 13:45:37.000000000 +0200 +++ new/copr-1.130/copr.egg-info/PKG-INFO 2023-08-16 16:47:30.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: copr -Version: 1.129 +Version: 1.130 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-1.129/copr.egg-info/SOURCES.txt new/copr-1.130/copr.egg-info/SOURCES.txt --- old/copr-1.129/copr.egg-info/SOURCES.txt 2023-05-25 13:45:37.000000000 +0200 +++ new/copr-1.130/copr.egg-info/SOURCES.txt 2023-08-16 16:47:30.000000000 +0200 @@ -1,11 +1,7 @@ -.gitignore LICENSE MANIFEST.in -Makefile -pylintrc pyproject.toml python-copr.spec -requirements.readthedocs.txt requirements.txt run_tests.sh setup.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.129/copr.egg-info/requires.txt new/copr-1.130/copr.egg-info/requires.txt --- old/copr-1.129/copr.egg-info/requires.txt 2023-05-25 13:45:37.000000000 +0200 +++ new/copr-1.130/copr.egg-info/requires.txt 2023-08-16 16:47:30.000000000 +0200 @@ -4,4 +4,3 @@ setuptools six munch -future diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.129/pylintrc new/copr-1.130/pylintrc --- old/copr-1.129/pylintrc 2022-11-13 21:33:19.000000000 +0100 +++ new/copr-1.130/pylintrc 1970-01-01 01:00:00.000000000 +0100 @@ -1,121 +0,0 @@ -# Copr clients pylint configuration - -[MASTER] -# Pickle collected data for later comparisons. -persistent=no - -init-hook= - import os - import subprocess - gitrootdir = subprocess.check_output(["git", "rev-parse", "--show-toplevel"]).decode("utf-8").strip() - sys.path.insert(0, os.path.join(gitrootdir, '.pylintpath')) - import copr_pylintrc - copr_pylintrc.init() - - -# Our own pylint transformations. -load-plugins=pylint_copr_plugin - -[MESSAGES CONTROL] -# Reasoning for wide warning ignore -# --------------------------------- -# import-error -# This is to fix our Jenkins CI where we do not have all the build -# requirements for all our sub-components. We can afford not listening to -# this error because our packaging CI would discover the problems anyways. -# useless-object-inheritance -# We need to keep compatibility with Python 2 for EL6 and EL7. -# consider-using-f-string -# We still support Python 2.7 (EL7) for clients. -# unspecified-encoding -# Python2.7: TypeError: 'encoding' is an invalid keyword argument for this function -disable=import-error,useless-object-inheritance,super-with-arguments,consider-using-f-string,unspecified-encoding - -[VARIABLES] -# A regular expression matching names used for dummy variables (i.e. not used). -dummy-variables-rgx=_|dummy - - -[BASIC] -# Regular expression which should only match correct module names -module-rgx=([a-zA-Z_][a-zA-Z0-9_]+)$ - -# Regular expression which should only match correct module level names -const-rgx=(([a-zA-Z_][a-zA-Z0-9_]*)|(__.*__))$ - -# Regular expression which should only match correct class names -class-rgx=[a-zA-Z_][a-zA-Z0-9_]+$ - -# Regular expression which should only match correct function names -function-rgx=[a-z_][a-zA-Z0-9_]{,42}$ - -# Regular expression which should only match correct method names -method-rgx=[a-z_][a-zA-Z0-9_]{,42}$ - -# Regular expression which should only match correct instance attribute names -attr-rgx=[a-z_][a-zA-Z0-9_]{,30}$ - -# Regular expression which should only match correct argument names -argument-rgx=[a-z_][a-zA-Z0-9_]{,30}$ - -# Regular expression which should only match correct variable names -variable-rgx=[a-z_][a-zA-Z0-9_]{,30}$ - -# Regular expression which should only match correct list comprehension / -# generator expression variable names -inlinevar-rgx=[A-Za-z_][A-Za-z0-9_]*$ - -# Regular expression which should only match correct class sttribute names -class-attribute-rgx=([A-Za-z_][A-Za-z0-9_]{2,42}|(__.*__))$ - -# Good variable names which should always be accepted, separated by a comma -good-names=i,j,k,ex,Run,_ - -# Bad variable names which should always be refused, separated by a comma -bad-names=foo,bar,baz,toto,tutu,tata - -[DESIGN] - -# Maximum number of arguments for function / method -max-args=10 - -# Maximum number of locals for function / method body -max-locals=20 - -# Maximum number of return / yield for function / method body -max-returns=6 - -# Maximum number of branch for function / method body -max-branches=20 - -# Maximum number of statements in function / method body -max-statements=50 - -# Maximum number of parents for a class (see R0901). -max-parents=7 - -# Maximum number of attributes for a class (see R0902). -max-attributes=7 - -# Minimum number of public methods for a class (see R0903). -min-public-methods=1 - -# Maximum number of public methods for a class (see R0904). -max-public-methods=20 - - -[FORMAT] -# Maximum number of characters on a single line. -max-line-length=120 - -# Maximum number of lines in a module -max-module-lines=1000 - -# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1 -# tab). -indent-string=' ' - - -[MISCELLANEOUS] -# List of note tags to take in consideration, separated by a comma. -notes= diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.129/python-copr.spec new/copr-1.130/python-copr.spec --- old/copr-1.129/python-copr.spec 2023-05-23 00:03:13.000000000 +0200 +++ new/copr-1.130/python-copr.spec 2023-08-16 16:47:20.000000000 +0200 @@ -1,15 +1,13 @@ %global srcname copr -%if 0%{?fedora} || 0%{?rhel} > 7 -%global with_python3 1 -%endif - %if 0%{?rhel} && 0%{?rhel} <= 7 %global with_python2 1 +%else +%global with_python3 1 %endif Name: python-copr -Version: 1.129 +Version: 1.130 Release: 1%{?dist} Summary: Python interface for Copr @@ -39,7 +37,6 @@ BuildRequires: pytest BuildRequires: python2-devel BuildRequires: python2-requests-gssapi -BuildRequires: python-future # for doc package BuildRequires: python-sphinx BuildRequires: python-docutils @@ -54,7 +51,6 @@ BuildRequires: python2-filelock BuildRequires: python2-configparser BuildRequires: python2-requests-gssapi -BuildRequires: python-future # for doc package BuildRequires: python2-sphinx BuildRequires: python2-docutils @@ -86,7 +82,6 @@ Requires: python-requests-gssapi Requires: python-setuptools Requires: python-six >= 1.9.0 -Requires: python-future %else Requires: python2-configparser Requires: python2-munch @@ -96,7 +91,6 @@ Requires: python2-setuptools Requires: python2-requests-gssapi Requires: python2-six >= 1.9.0 -Requires: python-future %endif %{?python_provide:%python_provide python2-copr} @@ -123,7 +117,6 @@ BuildRequires: python3-six BuildRequires: python3-sphinx BuildRequires: python3-requests-gssapi -BuildRequires: python3-future Requires: python3-munch Requires: python3-filelock @@ -132,12 +125,10 @@ Requires: python3-setuptools Requires: python3-six Requires: python3-requests-gssapi -Requires: python3-future -%endif %{?python_provide:%python_provide python3-copr} -%if 0%{?fedora} > 30 || 0%{?rhel} > 8 +%else # These are not in requirements.txt Requires: python3-requests-gssapi @@ -145,8 +136,8 @@ BuildRequires: python3-sphinx BuildRequires: python3-pytest BuildRequires: python3-requests-gssapi -BuildRequires: python3-future BuildRequires: python3-filelock +BuildRequires: pyproject-rpm-macros %generate_buildrequires %pyproject_buildrequires -r @@ -238,6 +229,10 @@ %doc %{_pkgdocdir} %changelog +* Tue Aug 15 2023 Pavel Raiskup <[email protected]> 1.130-1 +- priority=X support added for copr project repositories +- several forward/backward compat fixes with libs/tooling + * Tue May 23 2023 Jakub Kadlcik <[email protected]> 1.129-1 - General check if it makes sense to upload SRPM diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.129/requirements.readthedocs.txt new/copr-1.130/requirements.readthedocs.txt --- old/copr-1.129/requirements.readthedocs.txt 2021-12-12 16:37:48.000000000 +0100 +++ new/copr-1.130/requirements.readthedocs.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,5 +0,0 @@ -# Used solely for building documentation on readthedocs.org -# Use this file by running "$ pip install -r requirements.readthedocs.txt" -# http://docs.readthedocs.io/en/latest/faq.html#can-i-document-a-python-package-that-is-not-at-the-root-of-my-repository - -./python diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/copr-1.129/setup.py new/copr-1.130/setup.py --- old/copr-1.129/setup.py 2023-05-23 00:03:13.000000000 +0200 +++ new/copr-1.130/setup.py 2023-08-16 16:47:20.000000000 +0200 @@ -20,7 +20,6 @@ 'setuptools', 'six', 'munch', - 'future', ] __description__ = "Python client for copr service." @@ -31,7 +30,7 @@ setup( name='copr', - version="1.129", + version="1.130", description=__description__, long_description=long_description, author=__author__,
